Enum apic::LapicInitError
source · pub enum LapicInitError {
NotBSP,
NotAP,
InvalidNmiLint(u8),
UnexpectedApicID {
expected: u32,
actual: ApicId,
},
MemoryMappingError(&'static str),
AlreadyExisted(ApicId),
}Expand description
The possible errors that can occur in LocalApic::init().
Variants§
NotBSP
This CPU wasn’t the BSP, as expected.
NotAP
This CPU wasn’t an AP, as expected.
InvalidNmiLint(u8)
Invalid NMI local interrupt pin value; given by the included u8.
UnexpectedApicID
The actual APIC ID did not match the provided expected APIC ID.
MemoryMappingError(&'static str)
An error occurred while mapping the Local APIC’s MMIO registers into memory.
AlreadyExisted(ApicId)
The Local APIC already existed (BUG), given by the included ApicId.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LapicInitError
impl Send for LapicInitError
impl Sync for LapicInitError
impl Unpin for LapicInitError
impl UnwindSafe for LapicInitError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more