Global descriptor table entry.
Code segment descriptor entry
|31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|12|11|10|09|08|07|06|05|04|03|02|01|00|
| Base address (24-31) |G |D | |A |Limit 16-19|P | DPL |1 |1 |C |R |A | Base address (16-23) |
| Base address ( 0-15) | Segment limit (0-15) |
Data segment descriptor entry
|31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|12|11|10|09|08|07|06|05|04|03|02|01|00|
| Base address (24-31) |G |DB| |A |Limit 16-19|P | DPL |1 |0 |E |W |A | Base address (16-23) |
| Base address ( 0-15) | Segment limit (0-15) |
- See also
- AMD64 Architecture Programmer's Manual Volume 2: System Programming (PDF) (Technical report). 2013. p. 80.
Definition at line 28 of file gdt.cpp.