Enum microvmi::api::CrType[][src]

#[repr(C)]pub enum CrType {
    Cr0,
    Cr3,
    Cr4,
}

Types of x86 control registers are listed here

Variants

Cr0

Has various control flags that modify the basic operation of the processor.

Cr3

Contains a value called Page Fault Linear Address (PFLA). When a page fault occurs, the address the program attempted to access is stored in the CR2 register. CR2 register cannot be intercepted by the guest operating system.

Cr4

Used in protected mode to control operations such as virtual-8086 support, enabling I/O breakpoints, page size extension and machine-check exceptions.

Trait Implementations

impl Clone for CrType[src]

impl Copy for CrType[src]

impl Debug for CrType[src]

Auto Trait Implementations

impl RefUnwindSafe for CrType

impl Send for CrType

impl Sync for CrType

impl Unpin for CrType

impl UnwindSafe for CrType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.