Represents a single mapping within a memory layout.
struct XGMemoryLayoutMapping {
UINT32 StartPageIndex;
UINT32 PageCount;
XG_GPU_VIRTUAL_ADDRESS MappingBaseAddress;
UINT32 EsramPageCount;
};
StartPageIndex
The starting 64KB page index of this mapping’s virtual address range within the layout.
PageCount
The number of 64KB pages in the virtual address range of this mapping.
MappingBaseAddress
The base virtual address of the mapping, as an XG_GPU_VIRTUAL_ADDRESS.
EsramPageCount
The number of ESRAM pages that have been mapped to this mapping.
This structure is used by the following methods:
Header: Declared in xgmemory.h.