Module x86::dtables

source · []
Expand description

Functions and data-structures for working with descriptor tables.

Structs

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

Functions

Returns the segment selector from the local descriptor table register (LDTR).

Load the GDTR register with the specified base and limit.

Load the IDTR register with the specified base and limit.

Loads the segment selector into the selector field of the local descriptor table register (LDTR).

Retrieve base and limit from the GDTR register.

Retrieve base and limit from the IDTR register.