Struct x86_64::structures::DescriptorTablePointer [−][src]
#[repr(C, packed)]pub struct DescriptorTablePointer { pub limit: u16, pub base: VirtAddr, }
Expand description
A struct describing a pointer to a descriptor table (GDT / IDT). This is in a format suitable for giving to ‘lgdt’ or ‘lidt’.
Fields
limit: u16
Size of the DT.
base: VirtAddr
Pointer to the memory region containing the DT.
Trait Implementations
Auto Trait Implementations
impl Send for DescriptorTablePointer
impl Sync for DescriptorTablePointer
impl Unpin for DescriptorTablePointer