diff options
Diffstat (limited to 'src/kernel/gdt/gdt.h')
-rw-r--r-- | src/kernel/gdt/gdt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/gdt/gdt.h b/src/kernel/gdt/gdt.h index 5c6ae61..36d6744 100644 --- a/src/kernel/gdt/gdt.h +++ b/src/kernel/gdt/gdt.h @@ -1,15 +1,17 @@ #ifndef MELVIX_GDT_H #define MELVIX_GDT_H +#include <stdint.h> + /** * Installs the Global Descriptor Table */ void gdt_install(); -void tss_write(int32_t num, uint16_t ss0, uint32_t esp0); +void tss_write(s32 num, u16 ss0, u32 esp0); void tss_flush(); -void set_kernel_stack(uintptr_t stack); +void set_kernel_stack(u32 stack); #endif
\ No newline at end of file |