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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.