From e472fbf564a8dee7ec4cb03b3e77a213a017bc76 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Mon, 27 May 2024 14:24:19 -0500 Subject: arch: i386: update all files to use the new libk Update all the files under arch to make use of the new libk implementation. Most of these changes are simply path changes in include directives. Signed-off-by: Danny Holman --- arch/i386/kernel/gdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/i386/kernel/gdt.c') diff --git a/arch/i386/kernel/gdt.c b/arch/i386/kernel/gdt.c index c0cf127..9e2dd85 100644 --- a/arch/i386/kernel/gdt.c +++ b/arch/i386/kernel/gdt.c @@ -1,6 +1,6 @@ #include #include -#include +#include struct gdt_entry desc[6]; struct gdt_ptr gp; @@ -53,6 +53,6 @@ void gdt_install(void) { __asm__ volatile("movl %%esp, %0" : "=r"(esp)); write_tss(5, 0x10, esp); - flush_gdt(); + flush_gdt(&gp); flush_tss(); } -- cgit v1.2.3