#include "kapi/system.hpp" #include "kapi/cio.hpp" namespace teachos::system { 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()); halt(); } } // namespace teachos::system