#[repr(transparent)]struct APICBaseAddr(u64);
Expand description
Register for reconfiguring the base address
Tuple Fields§
§0: u64
Implementations§
source§impl APICBaseAddr
impl APICBaseAddr
const BOOTSTRAP_CPU_BITS: usize = 1usize
const BOOTSTRAP_CPU_OFFSET: usize = 8usize
sourceconst fn with_bootstrap_cpu(self, value: bool) -> Self
const fn with_bootstrap_cpu(self, value: bool) -> Self
Bits: 8..9
sourceconst fn bootstrap_cpu(&self) -> bool
const fn bootstrap_cpu(&self) -> bool
Bits: 8..9
sourcefn set_bootstrap_cpu(&mut self, value: bool)
fn set_bootstrap_cpu(&mut self, value: bool)
Bits: 8..9
const ENABLE_BITS: usize = 1usize
const ENABLE_OFFSET: usize = 11usize
sourceconst fn with_enable(self, value: bool) -> Self
const fn with_enable(self, value: bool) -> Self
Bits: 11..12
sourcefn set_enable(&mut self, value: bool)
fn set_enable(&mut self, value: bool)
Bits: 11..12
const BASE_ADDR_BITS: usize = 40usize
const BASE_ADDR_OFFSET: usize = 12usize
sourceconst fn with_base_addr(self, value: u64) -> Self
const fn with_base_addr(self, value: u64) -> Self
Bits: 12..52
sourcefn set_base_addr(&mut self, value: u64)
fn set_base_addr(&mut self, value: u64)
Bits: 12..52
Trait Implementations§
source§impl Clone for APICBaseAddr
impl Clone for APICBaseAddr
source§fn clone(&self) -> APICBaseAddr
fn clone(&self) -> APICBaseAddr
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for APICBaseAddr
impl Debug for APICBaseAddr
source§impl Default for APICBaseAddr
impl Default for APICBaseAddr
source§impl From<APICBaseAddr> for u64
impl From<APICBaseAddr> for u64
source§fn from(v: APICBaseAddr) -> u64
fn from(v: APICBaseAddr) -> u64
Converts to this type from the input type.