aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel/cpu/jmp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/kernel/cpu/jmp.cpp')
-rw-r--r--arch/x86_64/src/kernel/cpu/jmp.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86_64/src/kernel/cpu/jmp.cpp b/arch/x86_64/src/kernel/cpu/jmp.cpp
deleted file mode 100644
index 2833219..0000000
--- a/arch/x86_64/src/kernel/cpu/jmp.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "arch/kernel/cpu/jmp.hpp"
-
-namespace teachos::arch::kernel::cpu
-{
- auto jmp(std::size_t address) -> void
- {
- asm volatile("jmp *%[input]" : /* no output from call */ : [input] "r"(address));
- }
-
- auto jmp(far_pointer pointer) -> void
- {
- asm volatile("rex64 lcall *%[input]" : /* no output from call */ : [input] "m"(pointer));
- }
-} // namespace teachos::arch::kernel::cpu