summaryrefslogtreecommitdiff
path: root/kernel/cpu/cpu.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-24 11:30:07 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-24 11:30:07 -0400
commita6a8129c151dc0e3a070c74161e117ec1365c099 (patch)
tree079531134ee3f685d861f4c55e8e15f70fe09905 /kernel/cpu/cpu.c
parentupdate paging code (diff)
downloadcomus-a6a8129c151dc0e3a070c74161e117ec1365c099.tar.gz
comus-a6a8129c151dc0e3a070c74161e117ec1365c099.tar.bz2
comus-a6a8129c151dc0e3a070c74161e117ec1365c099.zip
add tss
Diffstat (limited to 'kernel/cpu/cpu.c')
-rw-r--r--kernel/cpu/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/cpu/cpu.c b/kernel/cpu/cpu.c
index 136a1d8..6ef5ef5 100644
--- a/kernel/cpu/cpu.c
+++ b/kernel/cpu/cpu.c
@@ -3,6 +3,7 @@
#include "pic.h"
#include "idt.h"
+#include "tss.h"
static inline void fpu_init(void)
{
@@ -73,6 +74,8 @@ void cpu_init(void)
if (feats.avx)
avx_init();
}
+
+ tss_init();
}
void cpu_report(void)