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:
@@ -17,7 +17,7 @@ XTAPI
|
||||
XTSTATUS
|
||||
MmAllocateHardwareMemory(IN PFN_NUMBER PageCount,
|
||||
IN BOOLEAN Aligned,
|
||||
OUT PULONG_PTR Buffer);
|
||||
OUT PPHYSICAL_ADDRESS Buffer);
|
||||
|
||||
XTAPI
|
||||
XTSTATUS
|
||||
|
Reference in New Issue
Block a user