Module rstubs::arch::gdt

source ·
Expand description

§Memory Segmentation

The GlobalDescriptorTable and its memory segment Descriptors primarely define continuous memory regions for different purposes. Examples of these memory regions are kernel code or kernel data segments. These segments might overlap and can be defined to span over the whole addressable memory.

Structs§

  • Describes the structure of segment descriptors
  • Abstracts the GDT that, primarily, contains descriptors to memory segments.
  • Specifies which element to load into a segment from descriptor tables (i.e., is a index to LDT or GDT table with some additional flags).

Enums§

Functions§

  • Returns the current value of the code segment register.