summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/GDT.wtf.asm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/MemoryManager/GDT.wtf.asm')
-rw-r--r--Source/Kernel/MemoryManager/GDT.wtf.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Kernel/MemoryManager/GDT.wtf.asm b/Source/Kernel/MemoryManager/GDT.wtf.asm
index eb216ed..beb668d 100644
--- a/Source/Kernel/MemoryManager/GDT.wtf.asm
+++ b/Source/Kernel/MemoryManager/GDT.wtf.asm
@@ -15,3 +15,9 @@ gdt_flush:
.flush:
ret
+
+[GLOBAL tss_flush]
+tss_flush:
+ mov ax, 0x2B ;entry 5 = 0x28, with RPL=3
+ ltr ax
+ ret