XG_COPY_MAPPING_FLAGS Enumeration

Flags to control XGMemoryLayout::CopyMapping, such as whether to replace the mapping of ESRAM pages, and whether to replace the mapping of system memory pages.

Syntax

enum XG_COPY_MAPPING_FLAGS
{
    XG_COPY_MAPPING_REPLACE_ESRAM_PAGES = 1,
    XG_COPY_MAPPING_REPLACE_SYSTEM_MEMORY_PAGES = 2
};  

Constants

Constant Description
XG_COPY_MAPPING_REPLACE_ESRAM_PAGES Replaces ESRAM page mappings in the source mapping with newly allocated system memory pages in the destination mapping.
XG_COPY_MAPPING_REPLACE_SYSTEM_MEMORY_PAGES Replaces ESRAM page mappings in the source mapping with newly allocated system memory pages in the destination mapping.

Remarks

This enumeration is used by the Flags parameter of XGMemoryLayout::CopyMapping.

Requirements

Header: Declared in xgmemory.h.