A selector in the GDT. More...
Data Fields | |
| struct { | |
| uint16_t dpl: 2 | |
| DPL needed to access this memory segment. | |
| uint16_t idt: 1 | |
| whether this is an IDT or GDT entry | |
| uint16_t entry: 13 | |
| index in the GDT | |
| } | bits |
| bit field | |
| uint16_t | word |
| useful for casting | |
A selector in the GDT.
Such a selector is loaded into a segment register (e.g. CS, DS, ES, FS, GS or SS) to translate virtual into linear addresses.