Skip to main content

Xcr

Type Alias Xcr 

Source
pub type Xcr<const N: u32, Layout> = Register<Layout, <XcrIo<N> as ControlRegister>::Access, XcrIo<N>>;
Expand description

Example usage:

use regio::x86::Xcr;

const XCR0: Xcr<0, u64> = Xcr::new();

Aliased Type§

pub struct Xcr<const N: u32, Layout> { /* private fields */ }

Implementations§

Source§

impl<const N: u32, Layout> Xcr<N, Layout>
where XcrIo<N>: ControlRegister, Layout: LayoutOver<u64>,

Source

pub const fn new() -> Self

Constructs an x86-64 control register instance.