This file defines the structures, constants, and macros for the Global Descriptor Table, or GDT, and its selectors.
These constants define segment selectors into the GDT.
| SELECTOR_CORE_CODE | Core code segment selector |
| SELECTOR_CORE_DATA | Core data segment selector |
| SELECTOR_CORE_CALL_GATE | CoreCallGate selector |
| SELECTOR_THREAD_SCHEDULER_TSS | ThreadSchedulerTSS selector |
| SELECTOR_USER_CODE | Code segment selector for all applications |
| SELECTOR_USER_DATA | Data segment selector for all applications |
| SELECTOR_BOOT_TSS | Boot TSS selector (until Boot is unloaded) |
| SZ_STORED_GDT | Size of the initial GDT |
INITIAL GLOBAL DESCRIPTOR TABLE
GDT dq 0 ;NULL descriptor
This is the special TSS32 of the ThreadScheduler task.
ThreadSchedulerTSS TSS32 <>