diff options
author | Danny Holman <dholman@gymli.org> | 2024-05-27 14:24:19 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-05-27 14:24:19 -0500 |
commit | e472fbf564a8dee7ec4cb03b3e77a213a017bc76 (patch) | |
tree | 02cdbf5930774478ec32b64759dca7df4d8ee3cc /arch/i386/kernel/gdt.c | |
parent | d5e63951bdf8c154bafee11c84816539fde77b81 (diff) |
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 <dholman@gymli.org>
Diffstat (limited to 'arch/i386/kernel/gdt.c')
-rw-r--r-- | arch/i386/kernel/gdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <kernel/gdt.h> #include <kernel/asm.h> -#include <kernel/string.h> +#include <libk/string.h> 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(); } |