Struct raw_cpuid::SgxInfo [−][src]
pub struct SgxInfo { /* fields omitted */ }Intel SGX Capability Enumeration Leaf, sub-leaf 0 (EAX = 12H, ECX = 0 and ECX = 1)
Methods
impl SgxInfo[src]
impl SgxInfopub fn has_sgx1(&self) -> bool[src]
pub fn has_sgx1(&self) -> boolHas SGX1 support.
pub fn has_sgx2(&self) -> bool[src]
pub fn has_sgx2(&self) -> boolHas SGX2 support.
pub fn has_enclv_leaves_einvirtchild_edecvirtchild_esetcontext(&self) -> bool[src]
pub fn has_enclv_leaves_einvirtchild_edecvirtchild_esetcontext(&self) -> boolSupports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT.
pub fn has_encls_leaves_etrackc_erdinfo_eldbc_elduc(&self) -> bool[src]
pub fn has_encls_leaves_etrackc_erdinfo_eldbc_elduc(&self) -> boolSupports ENCLS instruction leaves ETRACKC, ERDINFO, ELDBC, and ELDUC.
pub fn miscselect(&self) -> u32[src]
pub fn miscselect(&self) -> u32Bit vector of supported extended SGX features.
pub fn max_enclave_size_non_64bit(&self) -> u8[src]
pub fn max_enclave_size_non_64bit(&self) -> u8The maximum supported enclave size in non-64-bit mode is 2^retval.
pub fn max_enclave_size_64bit(&self) -> u8[src]
pub fn max_enclave_size_64bit(&self) -> u8The maximum supported enclave size in 64-bit mode is 2^retval.
pub fn secs_attributes(&self) -> (u64, u64)[src]
pub fn secs_attributes(&self) -> (u64, u64)Reports the valid bits of SECS.ATTRIBUTES[127:0] that software can set with ECREATE.
ⓘImportant traits for SgxSectionIterpub fn iter(&self) -> SgxSectionIter[src]
ⓘImportant traits for SgxSectionIter
pub fn iter(&self) -> SgxSectionIterIterator over SGX sub-leafs.
Trait Implementations
impl Debug for SgxInfo[src]
impl Debug for SgxInfofn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for SgxInfo[src]
impl Default for SgxInfo