Use PHYSICAL_ADDRESS data type in MmAllocateHardwareMemory() routine as it is used in MmMapHardwareMemory() as well to avoid the need of data conversion

This commit is contained in:
2024-07-13 15:54:10 +02:00
parent ceb36ae8ec
commit cb64235953
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ XTAPI
XTSTATUS
MmAllocateHardwareMemory(IN PFN_NUMBER PageCount,
IN BOOLEAN Aligned,
OUT PULONG_PTR Buffer);
OUT PPHYSICAL_ADDRESS Buffer);
XTAPI
XTSTATUS