aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/context_switching/syscall_handler.cpp
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-04-27 14:07:33 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-04-27 14:07:33 +0000
commit13dd2bd5a88ec7efeadf8586778f2c5a26d8cd9e (patch)
tree9dcf8c9efeaa74f136a796531caee323aceaae37 /arch/x86_64/src/context_switching/syscall_handler.cpp
parent187eba4eca3ea46d8c26419168e525242338dae4 (diff)
downloadkernel-13dd2bd5a88ec7efeadf8586778f2c5a26d8cd9e.tar.xz
kernel-13dd2bd5a88ec7efeadf8586778f2c5a26d8cd9e.zip
Move not public methods into anonymous namespace
Diffstat (limited to 'arch/x86_64/src/context_switching/syscall_handler.cpp')
-rw-r--r--arch/x86_64/src/context_switching/syscall_handler.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/x86_64/src/context_switching/syscall_handler.cpp b/arch/x86_64/src/context_switching/syscall_handler.cpp
deleted file mode 100644
index 283d297..0000000
--- a/arch/x86_64/src/context_switching/syscall_handler.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#include "arch/context_switching/syscall_handler.hpp"
-
-#include <cstdint>
-
-namespace teachos::arch::context_switching
-{
- auto syscall_handler() -> void
- {
- uint64_t dummy{};
- switch (dummy)
- {
- case 0:
- break;
- default:
- break;
- }
- asm volatile("SYSRET");
- }
-} // namespace teachos::arch::context_switching \ No newline at end of file