Parameterize maximum allocation address in hardware pool and scan memory descriptors in reverse

This commit is contained in:
2026-05-12 19:35:06 +02:00
parent 5a92173586
commit 06635ed014
4 changed files with 13 additions and 8 deletions

View File

@@ -25,6 +25,7 @@ namespace MM
public:
STATIC XTAPI XTSTATUS AllocateHardwareMemory(IN PFN_NUMBER PageCount,
IN BOOLEAN Aligned,
IN ULONGLONG MaximumAddress,
OUT PPHYSICAL_ADDRESS Buffer);
STATIC XTAPI XTSTATUS MapHardwareMemory(IN PHYSICAL_ADDRESS PhysicalAddress,
IN PFN_NUMBER PageCount,