aboutsummaryrefslogtreecommitdiff
path: root/kernel/src/kapi/system.cpp
diff options
context:
space:
mode:
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