Module sgx::ssa

source ·
Expand description

State Save Area (SSA)

The types in this module are typically used by an enclave.

When an AEX occurs while running in an enclave, the architectural state is saved in the thread’s current SSA frame. An enclave can view the CPU state from a previous AEX by finding the current SSA frame using the CSSA and casing a pointer to this frame to a StateSaveArea reference.

Structs

  • Section 38.9.1, Table 38-8
  • When an AEX occurs while running in an enclave, the architectural state is saved in the thread’s current StateSaveArea (SSA Frame), which is pointed to by TCS.CSSA.
  • An XSave buffer

Enums

  • Section 38.9.1.1, Table 38-9
  • This structure defines the CPU-internal exception vector numbers.