|
PatchworkOS
dbbdc99
A non-POSIX operating system.
|
#include <kernel/cpu/gdt.h>#include <kernel/cpu/tss.h>#include <kernel/mem/pmm.h>#include <sys/proc.h>Go to the source code of this file.
Functions | |
| static gdt_t gdt | ALIGNED (PAGE_SIZE) |
| static gdt_segment_t | gdt_segment (uint16_t access, uint16_t flags) |
| static gdt_long_system_segment_t | gdt_long_system_segment (uint16_t access, uint16_t flags, uint64_t base, uint32_t limit) |
| 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. | |
|
static |