summaryrefslogtreecommitdiff
path: root/kernel/cpu/tss.S
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/tss.S
parentupdate paging code (diff)
downloadcomus-a6a8129c151dc0e3a070c74161e117ec1365c099.tar.gz
comus-a6a8129c151dc0e3a070c74161e117ec1365c099.tar.bz2
comus-a6a8129c151dc0e3a070c74161e117ec1365c099.zip
add tss
Diffstat (limited to 'kernel/cpu/tss.S')
-rw-r--r--kernel/cpu/tss.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/cpu/tss.S b/kernel/cpu/tss.S
new file mode 100644
index 0000000..27f2955
--- /dev/null
+++ b/kernel/cpu/tss.S
@@ -0,0 +1,6 @@
+ .globl tss_flush
+
+tss_flush:
+ movw $0x28, %ax
+ ltr %ax
+ ret