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
Expand description
Size of the DT.
base: VirtAddr
Expand description
Pointer to the memory region containing the DT.
Trait Implementations
impl Clone for DescriptorTablePointer
[src]
impl Clone for DescriptorTablePointer
[src]fn clone(&self) -> DescriptorTablePointer
[src]
fn clone(&self) -> DescriptorTablePointer
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for DescriptorTablePointer
[src]
impl Debug for DescriptorTablePointer
[src]