19 #ifndef ASYLO_IDENTITY_PLATFORM_SGX_ARCHITECTURE_BITS_H_ 20 #define ASYLO_IDENTITY_PLATFORM_SGX_ARCHITECTURE_BITS_H_ Determines the behavior of certain AVX capabilities.
Indicates whether the enclave is a debug (1) or production (0) enclave.
const uint32_t kValidMiscselectBitmask
A bitmask over all valid MISCSELECT bits.
const uint64_t kValidAttributeXfrmBitmask
A bitmask over all valid ATTRIBUTES XFRM bits.
Determines the behavior of the MPX capabilities.
Indicates that information about page faults and GP exceptions that occurred inside an enclave will b...
const size_t kNumMiscselectBits
The total number of MISCSELECT bits.
Determines the behavior of certain AVX capabilities.
ABSL_CONST_INIT const char kStatusMoveAssignmentMsg[]
const uint64_t kValidAttributeFlagsBitmask
A bitmask over all valid ATTRIBUTES flag bits.
Indicates whether the enclave has support for Key Separation and Sharing (KSS) (1) or not (0)...
Indicates whether the enclave has access to the INIT-token key (1) or not (0).
const MiscselectBit kAllMiscselectBits[1]
All valid bit positions in the MISCSELECT bit vector.
const size_t kNumAttributeFlagBits
The number of ATTRIBUTES flag bits.
Definition: architecture_bits.h:26
Indicates whether the enclave has been initialized via EINIT instruction.
Determines the behavior of certain AVX capabilities.
MiscselectBit
The following enum defines the various MISCSELECT bits and assigns them a value that is same as their...
Definition: architecture_bits.h:128
Determines the behavior of the MPX capabilities.
Determines the behavior of the SSE capabilities.
Determines the behavior of the FPU/MMX capabilities.
const size_t kNumAttributeBits
The total number of ATTRIBUTES bits.
const AttributeBit kAllAttributeBits[15]
All valid bit positions in the ATTRIBUTES bit vector.
AttributeBit
SGX defines 128 bits of enclave attributes, which are located in the SECS (Secure Enclave Control Str...
Definition: architecture_bits.h:36
const size_t kNumAttributeXfrmBits
The number of ATTRIBUTES XFRM bits.
Indicates whether the enclave has access to the SGX provisioning key (1) or not (0).
Indicates whether the enclave is a 64-bit (1) or a 32-bit (0) enclave.
Determines the behavior of certain AVX capabilities.
Determines the behavior of the Page Protection Keys.