diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 20:51:55 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 20:51:55 +0000 |
| commit | dd04850c27e8bc273506f4a64bb28b7ddf111dc5 (patch) | |
| tree | a00212f5c903e80e4e729c87ce34ece2c40e4ee6 /kapi/src/system.cpp | |
| parent | feac668578a35aac280b59d478a57b6937bb68da (diff) | |
| download | teachos-dd04850c27e8bc273506f4a64bb28b7ddf111dc5.tar.xz teachos-dd04850c27e8bc273506f4a64bb28b7ddf111dc5.zip | |
kapi: rework text device interface
Diffstat (limited to 'kapi/src/system.cpp')
| -rw-r--r-- | kapi/src/system.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kapi/src/system.cpp b/kapi/src/system.cpp index c3b1c5e..041404e 100644 --- a/kapi/src/system.cpp +++ b/kapi/src/system.cpp @@ -1,16 +1,16 @@ #include "kapi/system.hpp" -#include "kapi/io.hpp" +#include "kapi/cio.hpp" namespace teachos::system { auto panic(std::string_view message, std::source_location location) -> void { - io::println_error("!!!Kernel Panic!!! "); - io::println_error(message); - io::println_error(location.file_name()); - io::println_error(location.function_name()); + cio::println_error("!!!Kernel Panic!!! "); + cio::println_error(message); + cio::println_error(location.file_name()); + cio::println_error(location.function_name()); halt(); } |
