Struct x86::dtables::DescriptorTablePointer [−][src]
#[repr(C, packed)]pub struct DescriptorTablePointer<Entry> {
pub limit: u16,
pub base: *const Entry,
}
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: *const Entry
Pointer to the memory region containing the DT.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more