Struct x86_64::structures::DescriptorTablePointer
source · #[repr(C, packed(2))]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§
source§impl Clone for DescriptorTablePointer
impl Clone for DescriptorTablePointer
source§fn clone(&self) -> DescriptorTablePointer
fn clone(&self) -> DescriptorTablePointer
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more