|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <miniOS/arch/x86_64/gdt.h>#include <miniOS/arch/x86_64/segment.h>#include <miniOS/arch/x86_64/tss.h>#include <string.h>
Functions | |
| void | gdt64_load (void *gdt_desc, uint16_t cs, uint16_t ds) |
| void | gdt_init () |
| void | tss_set_rsp0 (uint64_t rsp0) |
Variables | |
| void * | interrupt_stack_top |
| struct tss_struct | tss |
| struct segment_descriptor | GDT [] |

| void gdt_init | ( | ) |


| void tss_set_rsp0 | ( | uint64_t | rsp0 | ) |
| struct segment_descriptor GDT[] |
|
extern |
| struct tss_struct tss |