aboutsummaryrefslogtreecommitdiff
path: root/kernel/src/kapi/system.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-01-16 13:36:38 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-01-16 13:36:38 +0100
commit7d6f0ed063790042a808f4bf07c50d308b3f2de4 (patch)
tree1a2e1c4ed7e2f3d8e6cdcfb012e554d1a4eb1e5a /kernel/src/kapi/system.cpp
parent9750405757396d006ab6992fb93baf414b3e2ae8 (diff)
downloadteachos-7d6f0ed063790042a808f4bf07c50d308b3f2de4.tar.xz
teachos-7d6f0ed063790042a808f4bf07c50d308b3f2de4.zip
chore: restructure namespaces
Diffstat (limited to 'kernel/src/kapi/system.cpp')
-rw-r--r--kernel/src/kapi/system.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/kernel/src/kapi/system.cpp b/kernel/src/kapi/system.cpp
deleted file mode 100644
index cdde049..0000000
--- a/kernel/src/kapi/system.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "kapi/system.hpp"
-
-#include "kapi/cpu.hpp"
-
-#include <kstd/print>
-
-#include <source_location>
-#include <string_view>
-
-namespace teachos::system
-{
-
- [[gnu::weak]]
- auto panic(std::string_view message, std::source_location location) -> void
- {
- kstd::println(kstd::print_sink::stderr, "[PANIC] in {} : {} @ {}:{}", location.function_name(), message,
- location.file_name(), location.line());
- cpu::halt();
- }
-
-} // namespace teachos::system