Expandir Minimizar

MmGetPhysicalAddress routine

The MmGetPhysicalAddress routine returns the physical address corresponding to a valid nonpaged virtual address.

Syntax


PHYSICAL_ADDRESS MmGetPhysicalAddress(
  _In_  PVOID BaseAddress
);

Parameters

BaseAddress [in]

Pointer 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.

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.

Remarks

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

Requirements

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

Ntoskrnl.lib

IRQL

Any level (see Remarks section)

See also

MmIsAddressValid
MmIsNonPagedSystemAddressValid
MmMapIoSpace
MmProbeAndLockPages

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft