[][src]Struct x86_64::registers::control::Cr2

pub struct Cr2;

Contains the Page Fault Linear Address (PFLA).

When page fault occurs, the CPU sets this register to the accessed address.

Methods

impl Cr2
[src]

pub fn read() -> VirtAddr
[src]

Read the current page fault linear address from the CR3 register.

Trait Implementations

impl Debug for Cr2
[src]

Auto Trait Implementations

impl Send for Cr2

impl Sync for Cr2

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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