Add AllocateRealModeMemory routine for low memory allocations

This commit is contained in:
2026-05-13 10:08:30 +02:00
parent 58981e0087
commit c8868ead47
2 changed files with 48 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ namespace MM
IN BOOLEAN Aligned,
IN ULONGLONG MaximumAddress,
OUT PPHYSICAL_ADDRESS Buffer);
STATIC XTAPI XTSTATUS AllocateRealModeMemory(IN PFN_NUMBER PageCount,
OUT PVOID *MemoryAddress);
STATIC XTAPI XTSTATUS MapHardwareMemory(IN PHYSICAL_ADDRESS PhysicalAddress,
IN PFN_NUMBER PageCount,
IN BOOLEAN FlushTlb,