diff options
author | Joursoir <chat@joursoir.net> | 2022-10-07 19:04:00 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-10-13 18:58:06 +0300 |
commit | 16a538de1a643af7cb45133d1eb5fd28e58d25d1 (patch) | |
tree | 2d354ef4706528eb6e087fac5d659b7070740848 /arch/x86/include | |
parent | c4f8edeb0845e73a15baa513ade27df08db90248 (diff) | |
download | mfsos-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.h | 2 |
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 */ |