Struct hvm_hw_cpu_compat

Source
#[repr(C)]
pub struct hvm_hw_cpu_compat {
Show 78 fields pub fpu_regs: [u8; 512], pub rax: u64, pub rbx: u64, pub rcx: u64, pub rdx: u64, pub rbp: u64, pub rsi: u64, pub rdi: u64, pub rsp: u64, pub r8: u64, pub r9: u64, pub r10: u64, pub r11: u64, pub r12: u64, pub r13: u64, pub r14: u64, pub r15: u64, pub rip: u64, pub rflags: u64, pub cr0: u64, pub cr2: u64, pub cr3: u64, pub cr4: u64, pub dr0: u64, pub dr1: u64, pub dr2: u64, pub dr3: u64, pub dr6: u64, pub dr7: u64, pub cs_sel: u32, pub ds_sel: u32, pub es_sel: u32, pub fs_sel: u32, pub gs_sel: u32, pub ss_sel: u32, pub tr_sel: u32, pub ldtr_sel: u32, pub cs_limit: u32, pub ds_limit: u32, pub es_limit: u32, pub fs_limit: u32, pub gs_limit: u32, pub ss_limit: u32, pub tr_limit: u32, pub ldtr_limit: u32, pub idtr_limit: u32, pub gdtr_limit: u32, pub cs_base: u64, pub ds_base: u64, pub es_base: u64, pub fs_base: u64, pub gs_base: u64, pub ss_base: u64, pub tr_base: u64, pub ldtr_base: u64, pub idtr_base: u64, pub gdtr_base: u64, pub cs_arbytes: u32, pub ds_arbytes: u32, pub es_arbytes: u32, pub fs_arbytes: u32, pub gs_arbytes: u32, pub ss_arbytes: u32, pub tr_arbytes: u32, pub ldtr_arbytes: u32, pub sysenter_cs: u64, pub sysenter_esp: u64, pub sysenter_eip: u64, pub shadow_gs: u64, pub msr_flags: u64, pub msr_lstar: u64, pub msr_star: u64, pub msr_cstar: u64, pub msr_syscall_mask: u64, pub msr_efer: u64, pub tsc: u64, pub __bindgen_anon_1: hvm_hw_cpu_compat__bindgen_ty_1, pub error_code: u32,
}

Fields§

§fpu_regs: [u8; 512]§rax: u64§rbx: u64§rcx: u64§rdx: u64§rbp: u64§rsi: u64§rdi: u64§rsp: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§rip: u64§rflags: u64§cr0: u64§cr2: u64§cr3: u64§cr4: u64§dr0: u64§dr1: u64§dr2: u64§dr3: u64§dr6: u64§dr7: u64§cs_sel: u32§ds_sel: u32§es_sel: u32§fs_sel: u32§gs_sel: u32§ss_sel: u32§tr_sel: u32§ldtr_sel: u32§cs_limit: u32§ds_limit: u32§es_limit: u32§fs_limit: u32§gs_limit: u32§ss_limit: u32§tr_limit: u32§ldtr_limit: u32§idtr_limit: u32§gdtr_limit: u32§cs_base: u64§ds_base: u64§es_base: u64§fs_base: u64§gs_base: u64§ss_base: u64§tr_base: u64§ldtr_base: u64§idtr_base: u64§gdtr_base: u64§cs_arbytes: u32§ds_arbytes: u32§es_arbytes: u32§fs_arbytes: u32§gs_arbytes: u32§ss_arbytes: u32§tr_arbytes: u32§ldtr_arbytes: u32§sysenter_cs: u64§sysenter_esp: u64§sysenter_eip: u64§shadow_gs: u64§msr_flags: u64§msr_lstar: u64§msr_star: u64§msr_cstar: u64§msr_syscall_mask: u64§msr_efer: u64§tsc: u64§__bindgen_anon_1: hvm_hw_cpu_compat__bindgen_ty_1§error_code: u32

Trait Implementations§

Source§

impl Clone for hvm_hw_cpu_compat

Source§

fn clone(&self) -> hvm_hw_cpu_compat

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for hvm_hw_cpu_compat

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for hvm_hw_cpu_compat

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.