Refactor real-mode memory allocation and identity mapping for AP trampoline

This commit is contained in:
2026-06-12 13:16:48 +02:00
parent 81c799e590
commit c702152cca
4 changed files with 236 additions and 36 deletions

View File

@@ -60,6 +60,12 @@ LOADER_MEMORY_DESCRIPTOR MM::HardwarePool::HardwareAllocationDescriptors[MM_HARD
/* Live address of kernel's hardware heap */
PVOID MM::HardwarePool::HardwareHeapStart = MM_HARDWARE_HEAP_START_ADDRESS;
/* Physical address of kernel's low memory region */
PHYSICAL_ADDRESS MM::HardwarePool::LowMemoryPhysicalAddress;
/* Virtual address of kernel's low memory region */
PVOID MM::HardwarePool::LowMemoryVirtualAddress;
/* Number of used hardware allocation descriptors */
ULONG MM::HardwarePool::UsedHardwareAllocationDescriptors = 0;