#[repr(transparent)]struct Identification(u32);
Expand description
Local APIC ID Register.
Tuple Fields§
§0: u32
Implementations§
source§impl Identification
impl Identification
const LAPIC_ID_BITS: usize = 8usize
const LAPIC_ID_OFFSET: usize = 24usize
sourceconst fn lapic_id(&self) -> u8
const fn lapic_id(&self) -> u8
At power up, system hardware assigns a unique APIC ID to each local APIC. In MP systems, the local APIC ID is also used as a processor ID.
Note: This ID is hierarchically structured and might not be consecutive.
Bits: 24..32
sourceconst fn with_lapic_id_checked(self, value: u8) -> Result<Self, ()>
const fn with_lapic_id_checked(self, value: u8) -> Result<Self, ()>
At power up, system hardware assigns a unique APIC ID to each local APIC. In MP systems, the local APIC ID is also used as a processor ID.
Note: This ID is hierarchically structured and might not be consecutive.
Bits: 24..32
sourceconst fn with_lapic_id(self, value: u8) -> Self
const fn with_lapic_id(self, value: u8) -> Self
At power up, system hardware assigns a unique APIC ID to each local APIC. In MP systems, the local APIC ID is also used as a processor ID.
Note: This ID is hierarchically structured and might not be consecutive.
Bits: 24..32
sourcefn set_lapic_id(&mut self, value: u8)
fn set_lapic_id(&mut self, value: u8)
At power up, system hardware assigns a unique APIC ID to each local APIC. In MP systems, the local APIC ID is also used as a processor ID.
Note: This ID is hierarchically structured and might not be consecutive.
Bits: 24..32
sourcefn set_lapic_id_checked(&mut self, value: u8) -> Result<(), ()>
fn set_lapic_id_checked(&mut self, value: u8) -> Result<(), ()>
At power up, system hardware assigns a unique APIC ID to each local APIC. In MP systems, the local APIC ID is also used as a processor ID.
Note: This ID is hierarchically structured and might not be consecutive.
Bits: 24..32
Trait Implementations§
source§impl Clone for Identification
impl Clone for Identification
source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Identification
impl Debug for Identification
source§impl Default for Identification
impl Default for Identification
source§impl From<Identification> for u32
impl From<Identification> for u32
source§fn from(v: Identification) -> u32
fn from(v: Identification) -> u32
source§impl From<u32> for Identification
impl From<u32> for Identification
impl Copy for Identification
Auto Trait Implementations§
impl Freeze for Identification
impl RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnwindSafe for Identification
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)