aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel/cpu
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-04-10 10:28:46 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-04-10 10:28:46 +0000
commit62d7fa83e831e84ea851d97b5c957146880ad69a (patch)
tree5a7cc57a83fa6471620b837d4fbf6e65b6edfe3f /arch/x86_64/src/kernel/cpu
parentbecafcadcea919b84029338983a453d06ef210a1 (diff)
downloadteachos-62d7fa83e831e84ea851d97b5c957146880ad69a.tar.xz
teachos-62d7fa83e831e84ea851d97b5c957146880ad69a.zip
move context_switch function into cpp code
Diffstat (limited to 'arch/x86_64/src/kernel/cpu')
-rw-r--r--arch/x86_64/src/kernel/cpu/segment_register.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86_64/src/kernel/cpu/segment_register.cpp b/arch/x86_64/src/kernel/cpu/segment_register.cpp
index f70c558..d7857dd 100644
--- a/arch/x86_64/src/kernel/cpu/segment_register.cpp
+++ b/arch/x86_64/src/kernel/cpu/segment_register.cpp
@@ -21,7 +21,6 @@ namespace teachos::arch::kernel::cpu
{
asm volatile("xor %%rax, %%rax\n"
"mov %[input], %%ax\n"
- "mov %%rax, %%ss\n"
"mov %%rax, %%ds\n"
"mov %%rax, %%es\n"
"mov %%rax, %%fs\n"