#define EREMOVE_ERROR_MESSAGE \ "EREMOVE returned %d (0x%x) and an EPC page was leaked. SGX may become unusable. " \ "Refer to Documentation/arch/x86/sgx.rst for more information."
/* * Contains the tracking data for NUMA nodes having EPC pages. Most importantly, * the free page list local to the node is stored here.
*/ struct sgx_numa_node { struct list_head free_page_list; struct list_head sgx_poison_page_list; unsignedlong size;
spinlock_t lock;
};
/* * The firmware can define multiple chunks of EPC to the different areas of the * physical memory e.g. for memory areas of the each node. This structure is * used to store EPC pages for one EPC section and virtual memory area where * the pages have been mapped.
*/ struct sgx_epc_section { unsignedlong phys_addr; void *virt_addr; struct sgx_epc_page *pages; struct sgx_numa_node *node;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.