Module dtables

Source
Expand description

Functions and data-structures for working with descriptor tables.

Structs§

DescriptorTablePointer
A struct describing a pointer to a descriptor table (GDT / IDT). This is in a format suitable for giving to ‘lgdt’ or ‘lidt’.

Functions§

ldtr
Returns the segment selector from the local descriptor table register (LDTR).
lgdt
Load the GDTR register with the specified base and limit.
lidt
Load the IDTR register with the specified base and limit.
load_ldtr
Loads the segment selector into the selector field of the local descriptor table register (LDTR).
sgdt
Retrieve base and limit from the GDTR register.
sidt
Retrieve base and limit from the IDTR register.