pub struct BootVectorTable(/* private fields */);Expand description
Owned early exception descriptors for the current code mapping and selector. Keep the value at a stable address while any CPU has it installed.
Implementations§
Source§impl BootVectorTable
impl BootVectorTable
Sourcepub unsafe fn install(&self)
pub unsafe fn install(&self)
Installs this table on the current CPU.
§Safety
The table must remain unmoved and mapped until a different IDT is loaded. Execute at CPL0 with masked IRQs and the same CS used to construct it. Callbacks require a valid kernel stack, no SIMD/TLS use and no unwinding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BootVectorTable
impl RefUnwindSafe for BootVectorTable
impl Send for BootVectorTable
impl Sync for BootVectorTable
impl Unpin for BootVectorTable
impl UnsafeUnpin for BootVectorTable
impl UnwindSafe for BootVectorTable
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