|
PatchworkOS
da8a090
A non-POSIX operating system.
|
Go to the source code of this file.
Data Structures | |
| struct | gdt_desc_t |
| GDT descriptor structure. More... | |
| struct | gdt_segment_t |
| A single GDT segment descriptor. More... | |
| struct | gdt_long_system_segment_t |
| A long mode system segment descriptor, used for TSS and LDT. More... | |
| struct | gdt_t |
| The actual GDT structure. More... | |
Functions | |
| void | gdt_load_descriptor (gdt_desc_t *descriptor) |
| Loads a GDT descriptor. | |
| void | gdt_init (void) |
| Initialize the GDT. | |
| void | gdt_cpu_load (void) |
| Load the GDT on the current CPU. | |
| void | gdt_cpu_tss_load (tss_t *tss) |
Load a TSS into the GDT and load it using the ltr instruction on the current CPU. | |