x86 Segment Descriptor Tables¶
Related x86 tables that hold segment and system descriptors selected by processor mechanisms.
Core Idea¶
In x86 protected-mode segmentation, a segment descriptor table stores descriptors that software and the processor use to describe segments and certain system structures. The Global Descriptor Table (GDT) and Local Descriptor Table (LDT) are distinct tables. A segment selector identifies a table and an entry; the processor uses the selected descriptor when loading a segment register. The table stores metadata: it is the processor, not the table itself, that applies the architecture’s checks and address rules.[1][2]
How would you explain it like I'm…
The Memory Card Box
Lists That Describe Memory Pieces
GDT and LDT Segment Tables
How the Tables Are Selected¶
A selector includes an index and a table-indicator bit. With that bit clear, the index selects an entry in the GDT; with it set, the index selects an entry in the current LDT. The Global Descriptor Table Register (GDTR) gives the GDT’s linear base address and table limit. The Local Descriptor Table Register (LDTR) identifies the current LDT; its descriptor is selected from the GDT. An LDT is therefore not simply another name for the GDT, even though the structures are related.[1][2]
Descriptors can contain a segment base, limit and attributes, including access information. The GDT can also hold system descriptors, such as an LDT or task-state segment descriptor. Exact descriptor formats and permitted operations depend on descriptor type and processor mode; the Interrupt Descriptor Table is another system table, not the GDT or LDT.[1][2]
Loading and Use¶
When a valid non-null selector is loaded into a segment register in protected mode, the processor obtains and checks the relevant descriptor and loads descriptor information into a hidden part of that register. Subsequent use relies on that loaded state; a description that says the table is fetched afresh on every memory reference misses this cache. To make modified descriptor information take effect in a cached segment register, software must reload it as appropriate; Intel specifically notes software responsibility for reloading segment registers when processors share modified descriptor tables.[2]
For example, a protected-mode operating system may arrange descriptors for code and data segments in a GDT and load their selectors into the appropriate segment registers. A selector that instead names an LDT entry uses a separately established LDT. The choice of table does not alone prove a memory access valid: descriptor type, privilege and other architectural checks still matter.[1][2]
Boundaries¶
The table is one component of a segmentation mechanism, not the complete address translation path. Paging can subsequently translate linear addresses. In 64-bit mode, segmentation is restricted and some segment base and limit behavior differs from legacy protected mode; it is unsafe to assume that every legacy segmentation rule applies unchanged. Descriptor sizes and rules likewise vary by descriptor kind and mode.[1][2]
This x86 comparison does not equate the GDT with the LDT, and does not assert that Multics or other architectures use x86 selector and table formats. A GDT/LDT comparison is distinct from a general theory of memory protection or paging.[1]
Neighborhood in Abstraction Space¶
x86 Segment Descriptor Tables sits in a sparse region of the domain-specific corpus (97th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.
Family — Unclustered & Miscellaneous (3155 abstractions)
Nearest neighbors
- Memory Segmentation Across Architectures — 0.80
- Branch Table — 0.76
- Blocking set — 0.75
- Visibility (geometry) — 0.75
- Sheaf — 0.75
Computed from structural-signature embeddings · 2026-11-14
References¶
[1] Advanced Micro Devices, AMD64 Architecture Programmer’s Manual Volume 2 System Programming publication 24593 revision 3.42, publication 24593, revision 3.42 (March 2024), chapter 4, especially figures 4-1 and 4-9. AMD-authored manual, independently accessible mirror. registry ↩a ↩b ↩c ↩d ↩e ↩f
[2] Intel, Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3A order 253668 revision 090, February 2026, sections 2.4.1 and 3.4, GDTR, descriptor tables and segment-register descriptor cache. registry ↩a ↩b ↩c ↩d ↩e ↩f