Struct raw_cpuid::SgxInfo[][src]

pub struct SgxInfo { /* fields omitted */ }
Expand description

Intel SGX Capability Enumeration Leaf (LEAF=0x12).

Two sub-leafs: (EAX = 12H, ECX = 0 and ECX = 1)

Platforms

❌ AMD ✅ Intel

Implementations

Has SGX1 support.

Has SGX2 support.

Supports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT.

Supports ENCLS instruction leaves ETRACKC, ERDINFO, ELDBC, and ELDUC.

Bit vector of supported extended SGX features.

The maximum supported enclave size in non-64-bit mode is 2^retval.

The maximum supported enclave size in 64-bit mode is 2^retval.

Reports the valid bits of SECS.ATTRIBUTES[127:0] that software can set with ECREATE.

Iterator over SGX sub-leafs.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.