From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/gdt/gdt.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/kernel/gdt/gdt.h') 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 + /** * 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 -- cgit v1.2.3