summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 5e6491c..c7665a1 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -1,4 +1,5 @@
#include "video-vga.h"
+#include "gdt.h"
/* Check if the compiler thinks you are targeting the wrong operating system. */
#if defined(__linux__)
@@ -10,6 +11,8 @@
#endif
void kernel_main(void)
{
+ init_segmentation();
+
/* Initialize VGA video hardware */
vga_init();