Global Descriptor Table
The Global Descriptor Table (GDT) is a core part of Intel's x86 architecture that helps manage how memory is accessed and protected. Introduced with the Intel 80286 processor, it plays a key role in defining memory segments and their attributes: the base address, the size, and access privileges like executability and writability. Even though modern 64-bit systems rarely rely on segmentation, the GDT remains a required component for starting up the processor and managing certain system-level tasks. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
The Global Descriptor Table (GDT) is a core part of Intel's x86 architecture that helps manage how memory is accessed and protected. Introduced with the Intel 80286 processor, it plays a key role in defining memory segments and their attributes: the base address, the size, and access privileges like executability and writability. Even though modern 64-bit systems rarely rely on segmentation, the GDT remains a required component for starting up the processor and managing certain system-level tasks. ==Description== The GDT helps isolate memory between application software and the operating system. In protected mode (a more advanced processor mode that allows memory protection), the GDT defines: Code segments: regions of memory that contain executable instructions. Data segments: areas used to store program data. System segments, like the Task State Segment (TSS), which is used for multitasking support. Each entry in the GDT is 8 or 16 bytes long and holds a segment descriptor that defines the properties of one segment. Each descriptor includes access rights, ensuring programs cannot modify protected memory. ]] To use a segment, a program refers to it using a segment selector — a special value that tells the processor which GDT entry to use. The processor then loads this descriptor into a segment register, which holds both visible and hidden metadata about the segment. ==Local Descriptor Table== While the GDT defines system-wide segments, the Local Descriptor Table (LDT) can define segments that are private to a single process. Historically, operating systems used the LDT to separate each program’s memory into private regions, especially before paging was introduced with the Intel 80386. Today, LDTs are mostly obsolete but may still appear for compatibility with 16-bit or older 32-bit applications (e.g., DOS or OS/2 programs). The LDT is defined by an entry in the GDT and can include up to 8192 segment descriptors.
Cite this
"Global Descriptor Table". 1765138828. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1326226945 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy