#[repr(u32)]pub enum x86_msr_access_type_t {
Sim_X86_Msr_Instruction_Access = 0,
Sim_X86_Msr_Attribute_Access = 1,
Sim_X86_Msr_Int_Register_Access = 2,
Sim_X86_Msr_VMX_Access = 3,
Sim_X86_Msr_Architectural_Access = 4,
}
Expand description
Variants§
Sim_X86_Msr_Instruction_Access = 0
Access from a rdmsr/wrmsr instruction
Sim_X86_Msr_Attribute_Access = 1
Access through attribute
Sim_X86_Msr_Int_Register_Access = 2
Access through int_register interface
Sim_X86_Msr_VMX_Access = 3
Access during VMX entry/exit
Sim_X86_Msr_Architectural_Access = 4
Architectural access without side effects within the CPU model, only reads or writes the register value. However, if it is sent to the platform as a non-inquiry access, that may cause side effects.
Trait Implementations§
source§impl Clone for x86_msr_access_type_t
impl Clone for x86_msr_access_type_t
source§fn clone(&self) -> x86_msr_access_type_t
fn clone(&self) -> x86_msr_access_type_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for x86_msr_access_type_t
impl Debug for x86_msr_access_type_t
source§impl Hash for x86_msr_access_type_t
impl Hash for x86_msr_access_type_t
source§impl Ord for x86_msr_access_type_t
impl Ord for x86_msr_access_type_t
source§fn cmp(&self, other: &x86_msr_access_type_t) -> Ordering
fn cmp(&self, other: &x86_msr_access_type_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for x86_msr_access_type_t
impl PartialEq for x86_msr_access_type_t
source§impl PartialOrd for x86_msr_access_type_t
impl PartialOrd for x86_msr_access_type_t
impl Copy for x86_msr_access_type_t
impl Eq for x86_msr_access_type_t
impl StructuralPartialEq for x86_msr_access_type_t
Auto Trait Implementations§
impl Freeze for x86_msr_access_type_t
impl RefUnwindSafe for x86_msr_access_type_t
impl Send for x86_msr_access_type_t
impl Sync for x86_msr_access_type_t
impl Unpin for x86_msr_access_type_t
impl UnwindSafe for x86_msr_access_type_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)