XGMemoryLayoutMapping Structure

Represents a single mapping within a memory layout.

Syntax

struct XGMemoryLayoutMapping {
    UINT32 StartPageIndex;
    UINT32 PageCount;
    XG_GPU_VIRTUAL_ADDRESS MappingBaseAddress;
    UINT32 EsramPageCount;
};  

Members

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.

Remarks

This structure is used by the following methods:

Requirements

Header: Declared in xgmemory.h.