Turnstone Operating System
|
data segment descriptor for gdt More...
#include <descriptor.h>
Public Attributes | |
uint32_t | unused1 |
1/0-31 are unused | |
uint8_t | unused2 |
2/0-7 aka 32-39 are unused | |
uint8_t | unused3: 1 |
2/8 aka 40 is unused | |
uint8_t | rw: 1 |
2/9 aka 41 read write bit | |
uint8_t | unused4: 1 |
2/10 aka 42 is unused | |
uint8_t | always0: 1 |
2/11 aka 43 is always 0 | |
uint8_t | always1: 1 |
2/12 aka 44 is always 1 | |
uint8_t | dpl: 2 |
2/13-14 aka 45-46 are unused, page dpl is used for data see also memory_page_entry_t | |
uint8_t | present: 1 |
2/15 aka 47 is always 1 | |
uint16_t | unused5: 5 |
2/16-20 aka 48-52 are unused | |
uint16_t | long_mode: 1 |
2/21 aka 53 is always 1 | |
uint16_t | unused6: 10 |
2/22-31 aka 54-63 are unused | |
data segment descriptor for gdt