Module protection

Source
Available on x86 or x86-64 only.
Expand description

Support for protected mode operation.

This includes the minimal support for segmented memory and hardware task management that is required to operate in protected mode with a flat memory model.

Structs§

GateDescriptor
An entry in a segment descriptor table that points to an existing segment rather than defining a new one.
GateDescriptorFlags
Settings for GateDescriptors.
GenericDescriptor
Generic entry in a global/local/interrupt descriptor table. Can be a SegmentDescriptor or GateDescriptor, depending on the type flags.
GenericDescriptorFlags
Settings for GenericDescriptors.
GlobalDescriptorTableRegister
GDTR: Points to the memory range of the global descriptor table (GDT).
IOPermissionBitmap
Bitmap that controls which I/O port addresses are covered by privilege checks.
SegmentDescriptor
An entry in a segment descriptor table that defines a new segment. This includes code, data, task state (TSS), and local descriptor table (LDT) segments.
SegmentDescriptorFlags
Settings for SegmentDescriptors.
Selector
A reference to an entry in a segment descriptor table.
SystemDescriptorType
Discriminate types of segment descriptors that are not code or data.

Enums§

LocalDescriptorTableRegister
LDTR: Contains a Selector referencing a SegmentDescriptor that points to the the local descriptor table (LDT).
SegmentRegister
Standard segment registers (CS, DS, SS, etc.), which contain Selectors.
TaskRegister
TR: Contains a Selector referencing a SegmentDescriptor that points to the current task state segment (TSS).

Traits§

DescriptorFlags
Settings common to SegmentDescriptors and GateDescriptors.