Struct enarx_shim_kvm::snp::cpuid_page::CpuidFunctionEntry
source · [−]#[repr(C)]pub struct CpuidFunctionEntry {
pub eax_in: u32,
pub ecx_in: u32,
pub xcr0_in: u64,
pub xss_in: u64,
pub eax: u32,
pub ebx: u32,
pub ecx: u32,
pub edx: u32,
/* private fields */
}
Expand description
An entry in the SNP CPUID Page
Fields
eax_in: u32
function
ecx_in: u32
index
xcr0_in: u64
register state when cpuid is called
xss_in: u64
register state when cpuid is called
eax: u32
cpuid out
ebx: u32
cpuid out
ecx: u32
cpuid out
edx: u32
cpuid out
Trait Implementations
sourceimpl Clone for CpuidFunctionEntry
impl Clone for CpuidFunctionEntry
sourcefn clone(&self) -> CpuidFunctionEntry
fn clone(&self) -> CpuidFunctionEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConstDefault for CpuidFunctionEntry where
u32: ConstDefault,
u32: ConstDefault,
u64: ConstDefault,
u64: ConstDefault,
u32: ConstDefault,
u32: ConstDefault,
u32: ConstDefault,
u32: ConstDefault,
u64: ConstDefault,
impl ConstDefault for CpuidFunctionEntry where
u32: ConstDefault,
u32: ConstDefault,
u64: ConstDefault,
u64: ConstDefault,
u32: ConstDefault,
u32: ConstDefault,
u32: ConstDefault,
u32: ConstDefault,
u64: ConstDefault,
sourceimpl Debug for CpuidFunctionEntry
impl Debug for CpuidFunctionEntry
sourceimpl Default for CpuidFunctionEntry
impl Default for CpuidFunctionEntry
sourcefn default() -> CpuidFunctionEntry
fn default() -> CpuidFunctionEntry
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CpuidFunctionEntry> for CpuidFunctionEntry
impl PartialEq<CpuidFunctionEntry> for CpuidFunctionEntry
sourcefn eq(&self, other: &CpuidFunctionEntry) -> bool
fn eq(&self, other: &CpuidFunctionEntry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CpuidFunctionEntry) -> bool
fn ne(&self, other: &CpuidFunctionEntry) -> bool
This method tests for !=
.
impl Copy for CpuidFunctionEntry
impl Eq for CpuidFunctionEntry
impl StructuralEq for CpuidFunctionEntry
impl StructuralPartialEq for CpuidFunctionEntry
Auto Trait Implementations
impl RefUnwindSafe for CpuidFunctionEntry
impl Send for CpuidFunctionEntry
impl Sync for CpuidFunctionEntry
impl Unpin for CpuidFunctionEntry
impl UnwindSafe for CpuidFunctionEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more