diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 15:31:31 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 15:31:31 +0000 |
| commit | 4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd (patch) | |
| tree | 6738e5ab071075c15beccc59b3f79f53477f477d /kern/src/error.cpp | |
| parent | 2b8fafa2bddc48ddec047de517115c8e65ee61e8 (diff) | |
| download | teachos-4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd.tar.xz teachos-4edbe94ce1266c9acc6a695fedf1d2edd4ce11cd.zip | |
build: factor out kernel API
Diffstat (limited to 'kern/src/error.cpp')
| -rw-r--r-- | kern/src/error.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/kern/src/error.cpp b/kern/src/error.cpp deleted file mode 100644 index a5229fd..0000000 --- a/kern/src/error.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "kern/error.hpp" - -#include "arch/system.hpp" -#include "kern/print.hpp" - -namespace teachos -{ - - auto panic(std::string_view message, std::source_location location) -> void - { - println_error("!!!Kernel Panic!!! "); - println_error(message); - println_error(location.file_name()); - println_error(location.function_name()); - - arch::system::halt(); - } - -} // namespace teachos |
