Skip to main content

Register64

Enum Register64 

Source
#[repr(u32)]
pub enum Register64 {
Show 98 variants Rax = 0, Rcx = 1, Rdx = 2, Rbx = 3, Rsp = 4, Rbp = 5, Rsi = 6, Rdi = 7, R8 = 8, R9 = 9, R10 = 10, R11 = 11, R12 = 12, R13 = 13, R14 = 14, R15 = 15, Rip = 16, Rflags = 17, Cr0 = 28, Cr2 = 29, Cr3 = 30, Cr4 = 31, Cr8 = 32, Dr0 = 33, Dr1 = 34, Dr2 = 35, Dr3 = 36, Dr6 = 37, Dr7 = 38, XCr0 = 39, Tsc = 8_192, Efer = 8_193, KernelGsBase = 8_194, ApicBase = 8_195, Pat = 8_196, SysenterCs = 8_197, SysenterEip = 8_198, SysenterEsp = 8_199, Star = 8_200, Lstar = 8_201, Cstar = 8_202, Sfmask = 8_203, MsrMtrrCap = 8_205, MsrMtrrDefType = 8_206, MsrMtrrPhysBase0 = 8_208, MsrMtrrPhysBase1 = 8_209, MsrMtrrPhysBase2 = 8_210, MsrMtrrPhysBase3 = 8_211, MsrMtrrPhysBase4 = 8_212, MsrMtrrPhysBase5 = 8_213, MsrMtrrPhysBase6 = 8_214, MsrMtrrPhysBase7 = 8_215, MsrMtrrPhysBase8 = 8_216, MsrMtrrPhysBase9 = 8_217, MsrMtrrPhysBaseA = 8_218, MsrMtrrPhysBaseB = 8_219, MsrMtrrPhysBaseC = 8_220, MsrMtrrPhysBaseD = 8_221, MsrMtrrPhysBaseE = 8_222, MsrMtrrPhysBaseF = 8_223, MsrMtrrPhysMask0 = 8_256, MsrMtrrPhysMask1 = 8_257, MsrMtrrPhysMask2 = 8_258, MsrMtrrPhysMask3 = 8_259, MsrMtrrPhysMask4 = 8_260, MsrMtrrPhysMask5 = 8_261, MsrMtrrPhysMask6 = 8_262, MsrMtrrPhysMask7 = 8_263, MsrMtrrPhysMask8 = 8_264, MsrMtrrPhysMask9 = 8_265, MsrMtrrPhysMaskA = 8_266, MsrMtrrPhysMaskB = 8_267, MsrMtrrPhysMaskC = 8_268, MsrMtrrPhysMaskD = 8_269, MsrMtrrPhysMaskE = 8_270, MsrMtrrPhysMaskF = 8_271, MsrMtrrFix64k00000 = 8_304, MsrMtrrFix16k80000 = 8_305, MsrMtrrFix16kA0000 = 8_306, MsrMtrrFix4kC0000 = 8_307, MsrMtrrFix4kC8000 = 8_308, MsrMtrrFix4kD0000 = 8_309, MsrMtrrFix4kD8000 = 8_310, MsrMtrrFix4kE0000 = 8_311, MsrMtrrFix4kE8000 = 8_312, MsrMtrrFix4kF0000 = 8_313, MsrMtrrFix4kF8000 = 8_314, TscAux = 8_315, SpecCtrl = 8_324, PredCmd = 8_325, TscVirtualOffset = 8_327, ApicId = 12_290, InitialApicId = 8_204, ApicVersion = 12_291, PendingInterruption = 2_147_483_648, InterruptState = 2_147_483_649, DeliverabilityNotifications = 2_147_483_652, InternalActivityState = 2_147_483_653,
}
Expand description

64-bit registers

Variants§

§

Rax = 0

§

Rcx = 1

§

Rdx = 2

§

Rbx = 3

§

Rsp = 4

§

Rbp = 5

§

Rsi = 6

§

Rdi = 7

§

R8 = 8

§

R9 = 9

§

R10 = 10

§

R11 = 11

§

R12 = 12

§

R13 = 13

§

R14 = 14

§

R15 = 15

§

Rip = 16

§

Rflags = 17

§

Cr0 = 28

§

Cr2 = 29

§

Cr3 = 30

§

Cr4 = 31

§

Cr8 = 32

§

Dr0 = 33

§

Dr1 = 34

§

Dr2 = 35

§

Dr3 = 36

§

Dr6 = 37

§

Dr7 = 38

§

XCr0 = 39

§

Tsc = 8_192

§

Efer = 8_193

§

KernelGsBase = 8_194

§

ApicBase = 8_195

§

Pat = 8_196

§

SysenterCs = 8_197

§

SysenterEip = 8_198

§

SysenterEsp = 8_199

§

Star = 8_200

§

Lstar = 8_201

§

Cstar = 8_202

§

Sfmask = 8_203

§

MsrMtrrCap = 8_205

§

MsrMtrrDefType = 8_206

§

MsrMtrrPhysBase0 = 8_208

§

MsrMtrrPhysBase1 = 8_209

§

MsrMtrrPhysBase2 = 8_210

§

MsrMtrrPhysBase3 = 8_211

§

MsrMtrrPhysBase4 = 8_212

§

MsrMtrrPhysBase5 = 8_213

§

MsrMtrrPhysBase6 = 8_214

§

MsrMtrrPhysBase7 = 8_215

§

MsrMtrrPhysBase8 = 8_216

§

MsrMtrrPhysBase9 = 8_217

§

MsrMtrrPhysBaseA = 8_218

§

MsrMtrrPhysBaseB = 8_219

§

MsrMtrrPhysBaseC = 8_220

§

MsrMtrrPhysBaseD = 8_221

§

MsrMtrrPhysBaseE = 8_222

§

MsrMtrrPhysBaseF = 8_223

§

MsrMtrrPhysMask0 = 8_256

§

MsrMtrrPhysMask1 = 8_257

§

MsrMtrrPhysMask2 = 8_258

§

MsrMtrrPhysMask3 = 8_259

§

MsrMtrrPhysMask4 = 8_260

§

MsrMtrrPhysMask5 = 8_261

§

MsrMtrrPhysMask6 = 8_262

§

MsrMtrrPhysMask7 = 8_263

§

MsrMtrrPhysMask8 = 8_264

§

MsrMtrrPhysMask9 = 8_265

§

MsrMtrrPhysMaskA = 8_266

§

MsrMtrrPhysMaskB = 8_267

§

MsrMtrrPhysMaskC = 8_268

§

MsrMtrrPhysMaskD = 8_269

§

MsrMtrrPhysMaskE = 8_270

§

MsrMtrrPhysMaskF = 8_271

§

MsrMtrrFix64k00000 = 8_304

§

MsrMtrrFix16k80000 = 8_305

§

MsrMtrrFix16kA0000 = 8_306

§

MsrMtrrFix4kC0000 = 8_307

§

MsrMtrrFix4kC8000 = 8_308

§

MsrMtrrFix4kD0000 = 8_309

§

MsrMtrrFix4kD8000 = 8_310

§

MsrMtrrFix4kE0000 = 8_311

§

MsrMtrrFix4kE8000 = 8_312

§

MsrMtrrFix4kF0000 = 8_313

§

MsrMtrrFix4kF8000 = 8_314

§

TscAux = 8_315

§

SpecCtrl = 8_324

§

PredCmd = 8_325

§

TscVirtualOffset = 8_327

§

ApicId = 12_290

§

InitialApicId = 8_204

§

ApicVersion = 12_291

§

PendingInterruption = 2_147_483_648

§

InterruptState = 2_147_483_649

§

DeliverabilityNotifications = 2_147_483_652

§

InternalActivityState = 2_147_483_653

Trait Implementations§

Source§

impl Clone for Register64

Source§

fn clone(&self) -> Register64

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 Register64

Source§

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

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

impl PartialEq for Register64

Source§

fn eq(&self, other: &Register64) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl RegisterName for Register64

Source§

type Value = u64

The value type associated with the register.
Source§

fn as_abi(&self) -> WHV_REGISTER_NAME

The ABI register name.
Source§

impl Copy for Register64

Source§

impl Eq for Register64

Source§

impl StructuralPartialEq for Register64

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more