vmcb_save_area

Struct vmcb_save_area 

Source
#[repr(C, packed(1))]
pub struct vmcb_save_area {
Show 42 fields pub es: vmcb_seg, pub cs: vmcb_seg, pub ss: vmcb_seg, pub ds: vmcb_seg, pub fs: vmcb_seg, pub gs: vmcb_seg, pub gdtr: vmcb_seg, pub ldtr: vmcb_seg, pub idtr: vmcb_seg, pub tr: vmcb_seg, pub reserved_1: [u8; 43], pub cpl: u8, pub reserved_2: [u8; 4], pub efer: u64, pub reserved_3: [u8; 112], pub cr4: u64, pub cr3: u64, pub cr0: u64, pub dr7: u64, pub dr6: u64, pub rflags: u64, pub rip: u64, pub reserved_4: [u8; 88], pub rsp: u64, pub reserved_5: [u8; 24], pub rax: u64, pub star: u64, pub lstar: u64, pub cstar: u64, pub sfmask: u64, pub kernel_gs_base: u64, pub sysenter_cs: u64, pub sysenter_esp: u64, pub sysenter_eip: u64, pub cr2: u64, pub reserved_6: [u8; 32], pub g_pat: u64, pub dbgctl: u64, pub br_from: u64, pub br_to: u64, pub last_excp_from: u64, pub last_excp_to: u64,
}

Fields§

§es: vmcb_seg§cs: vmcb_seg§ss: vmcb_seg§ds: vmcb_seg§fs: vmcb_seg§gs: vmcb_seg§gdtr: vmcb_seg§ldtr: vmcb_seg§idtr: vmcb_seg§tr: vmcb_seg§reserved_1: [u8; 43]§cpl: u8§reserved_2: [u8; 4]§efer: u64§reserved_3: [u8; 112]§cr4: u64§cr3: u64§cr0: u64§dr7: u64§dr6: u64§rflags: u64§rip: u64§reserved_4: [u8; 88]§rsp: u64§reserved_5: [u8; 24]§rax: u64§star: u64§lstar: u64§cstar: u64§sfmask: u64§kernel_gs_base: u64§sysenter_cs: u64§sysenter_esp: u64§sysenter_eip: u64§cr2: u64§reserved_6: [u8; 32]§g_pat: u64§dbgctl: u64§br_from: u64§br_to: u64§last_excp_from: u64§last_excp_to: u64

Trait Implementations§

Source§

impl Clone for vmcb_save_area

Source§

fn clone(&self) -> vmcb_save_area

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 Debug for vmcb_save_area

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for vmcb_save_area

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.