Expand description
Functions and data-structures for working with descriptor tables.
Structs§
- Descriptor
Table Pointer - 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.