aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel/cpu
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-03-31 10:38:53 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-03-31 10:38:53 +0000
commitabe7bd7480c8f4e1e30b9f0f3b98966222817f3e (patch)
tree37a27a84eadcd4694843b8d5e1e24bf498106dd5 /arch/x86_64/src/kernel/cpu
parent8d16dcb672c4b5f4b0a12ef2eac3486f1b2bb316 (diff)
downloadteachos-abe7bd7480c8f4e1e30b9f0f3b98966222817f3e.tar.xz
teachos-abe7bd7480c8f4e1e30b9f0f3b98966222817f3e.zip
Clean up global descriptor table initalization
Diffstat (limited to 'arch/x86_64/src/kernel/cpu')
-rw-r--r--arch/x86_64/src/kernel/cpu/jmp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/kernel/cpu/jmp.cpp b/arch/x86_64/src/kernel/cpu/jmp.cpp
index 0c94693..2833219 100644
--- a/arch/x86_64/src/kernel/cpu/jmp.cpp
+++ b/arch/x86_64/src/kernel/cpu/jmp.cpp
@@ -9,6 +9,6 @@ namespace teachos::arch::kernel::cpu
auto jmp(far_pointer pointer) -> void
{
- asm volatile("rex64 ljmp *%[input]" : /* no output from call */ : [input] "m"(pointer));
+ asm volatile("rex64 lcall *%[input]" : /* no output from call */ : [input] "m"(pointer));
}
} // namespace teachos::arch::kernel::cpu