MmGetPhysicalAddress

PHYSICAL_ADDRESS
MmGetPhysicalAddress(

IN PVOID BaseAddress
);

MmGetPhysicalAddress returns the physical address corresponding to a valid virtual address.

Parameters

BaseAddress

Points to the virtual address for which to return the physical address.

Return Value

MmGetPhysicalAddress returns the physical address that corresponds to the given virtual address.

Comments

Callers of MmGetPhysicalAddress can be running at any IRQL, provided that the BaseAddress value is valid.

See Also

MmIsAddressValid, MmIsNonPagedSystemAddressValid, MmMapIoSpace, MmProbeAndLockPages