aboutsummaryrefslogtreecommitdiff
path: root/kapi/src/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kapi/src/system.cpp')
-rw-r--r--kapi/src/system.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/kapi/src/system.cpp b/kapi/src/system.cpp
deleted file mode 100644
index 3ae3f29..0000000
--- a/kapi/src/system.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "kapi/system.hpp"
-
-#include "kapi/cio.hpp"
-#include "kapi/cpu.hpp"
-
-namespace teachos::system
-{
-
- [[gnu::weak]]
- auto panic(std::string_view message, std::source_location location) -> void
- {
- cio::println_error("!!!Kernel Panic!!! ");
- cio::println_error(message);
- cio::println_error(location.file_name());
- cio::println_error(location.function_name());
-
- cpu::halt();
- }
-
-} // namespace teachos::system