From 16a538de1a643af7cb45133d1eb5fd28e58d25d1 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Fri, 7 Oct 2022 19:04:00 +0300 Subject: x86: add GDT code to the kernel --- arch/x86/include/gdt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86/include/gdt.h') diff --git a/arch/x86/include/gdt.h b/arch/x86/include/gdt.h index b8dd2f0..c352f32 100644 --- a/arch/x86/include/gdt.h +++ b/arch/x86/include/gdt.h @@ -86,4 +86,6 @@ struct gdt_entry { uint8_t base_high; } __attribute__((packed)); +void init_segmentation(void); + #endif /* __X86_GDT_H */ -- cgit v1.2.3-18-g5258