DXGK_HARDWARERESERVEDRANGES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

typedef struct _DXGK_HARDWARERESERVEDRANGES {
  UINT32                     NumRanges;
  DXGK_PHYSICAL_MEMORY_RANGE *pPhysicalRanges;
} DXGK_HARDWARERESERVEDRANGES;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgk_hardwarereservedranges)

DXGK_HARDWARERESERVEDRANGES structure

Description

The DXGK_HARDWARERESERVEDRANGES structure is used to store the hardware reserved memory ranges that were queried by the call the DXGKDDI_QUERYADAPTERINFO.

Members

NumRanges

The number of ranges that are reserved.

pPhysicalRanges

Pointer to a DXGK_PHYSICAL_MEMORY_RANGE structure that contains information about the physical memory ranges.

Remarks

The VidMm (Video Memory Manager) validates whether the ranges returned from DXGKDDI_QUERYADAPTERINFO overlap any regions of memory used by the NTOS (Windows NT-based operating system) memory manager. This validation ensures that the driver does not accidentally report a region of physical memory that is outside the reserved range, as this would violate the security guarantees of the feature.

See IOMMU-based GPU isolation for more information.