Example using PHYSICAL_ADDRESS




Im writing a kernel process and i want to call the following
function:

PVOID
MmAllocateContiguousMemory(
IN SIZE_T NumberOfBytes,
IN PHYSICAL_ADDRESS HighestAcceptableAddress
);

But i dont know how to use the PHYSICAL_ADDRESS parameter, ive tried
initializing a variable of that type / struct, ive looked on the net,
i dont find any working examples that show a call to it, so i need a
small sample that has , the necessary include files, how to create a
variable of that type give it a value and then make the call, can you
all help with this ????
.