summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-10-07 19:04:00 +0300
committerJoursoir <chat@joursoir.net>2022-10-13 18:58:06 +0300
commit16a538de1a643af7cb45133d1eb5fd28e58d25d1 (patch)
tree2d354ef4706528eb6e087fac5d659b7070740848 /arch/x86/include
parentc4f8edeb0845e73a15baa513ade27df08db90248 (diff)
downloadmfsos-16a538de1a643af7cb45133d1eb5fd28e58d25d1.tar.gz
mfsos-16a538de1a643af7cb45133d1eb5fd28e58d25d1.tar.bz2
mfsos-16a538de1a643af7cb45133d1eb5fd28e58d25d1.zip
x86: add GDT code to the kernel
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/gdt.h2
1 files changed, 2 insertions, 0 deletions
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 */