pub struct TrapStorage {
pub tss: NonNull<TaskStateSegment>,
pub gdt: NonNull<GlobalDescriptorTable>,
pub double_fault_stack_top: VirtAddr,
}Expand description
Runtime-owned memory retained by this CPU’s descriptor registers.
Fields§
§tss: NonNull<TaskStateSegment>A fresh, exclusively owned TSS for this CPU.
gdt: NonNull<GlobalDescriptorTable>A fresh, exclusively owned GDT for this CPU.
double_fault_stack_top: VirtAddrTop of this CPU’s mapped, writable double-fault stack.
Auto Trait Implementations§
impl !Send for TrapStorage
impl !Sync for TrapStorage
impl Freeze for TrapStorage
impl RefUnwindSafe for TrapStorage
impl Unpin for TrapStorage
impl UnsafeUnpin for TrapStorage
impl UnwindSafe for TrapStorage
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