// ntddk.h
PHYSICAL_ADDRESS MmGetPhysicalAddress(
[in] PVOID BaseAddress
);
View the official Windows Driver Kit DDI reference
No description available.
The MmGetPhysicalAddress routine returns the physical address corresponding to a valid nonpaged virtual address.
BaseAddress
[in]Pointer to the virtual address for which to return the physical address.
MmGetPhysicalAddress returns the physical address that corresponds to the given virtual address.
Do not use this routine to obtain physical addresses for use with DMA operations. For information about the proper techniques for performing DMA operations, see Adapter Objects and DMA.
Callers of MmGetPhysicalAddress can be running at any IRQL, provided that the BaseAddress value is valid.
MmIsNonPagedSystemAddressValid