// d3dkmddi.h
typedef enum _DXGK_PHYSICAL_MEMORY_TYPE {
DXGK_PHYSICAL_MEMORY_TYPE_MDL,
DXGK_PHYSICAL_MEMORY_TYPE_CONTIGUOUS_MEMORY,
DXGK_PHYSICAL_MEMORY_TYPE_SECTION,
DXGK_PHYSICAL_MEMORY_TYPE_IO_SPACE
} DXGK_PHYSICAL_MEMORY_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
DXGK_PHYSICAL_MEMORY_TYPE indicates the type of physical memory being created by the driver in a call to DxgkCbCreatePhysicalMemoryObject.
DXGK_PHYSICAL_MEMORY_TYPE_MDLAllocate nonpageable memory in the form of an MDL. This is functionally equivalent to calling MmAllocatePagesForMdl.
DXGK_PHYSICAL_MEMORY_TYPE_CONTIGUOUS_MEMORYAllocate contiguous nonpageable memory. This is functionally equivalent to calling MmAllocateContiguousMemory.
DXGK_PHYSICAL_MEMORY_TYPE_SECTIONAllocate memory that can be mapped into one or more processes. This represents memory that would normally be allocated from ZwCreateSection.
DXGK_PHYSICAL_MEMORY_TYPE_IO_SPACEWrap an existing IO-space range provided by the driver.
DXGK_PHYSICAL_MEMORY_TYPE is passed as a member of the DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT arguments.
See IOMMU DMA remapping for more information.
DXGKARGCB_CREATE_PHYSICAL_MEMORY_OBJECT
DxgkCbCreatePhysicalMemoryObject