diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-12-19 11:46:46 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-12-19 11:46:46 +0100 |
| commit | de96b0588ab680e1002c12df7ea7900d7eb71cf8 (patch) | |
| tree | 41728f4f5c77a4d96dc3d89096483dfee75b3482 /kernel/src/kstd/os.cpp | |
| parent | 266dde7d535d997a45f6eef41e44ebcaa516b75a (diff) | |
| download | teachos-de96b0588ab680e1002c12df7ea7900d7eb71cf8.tar.xz teachos-de96b0588ab680e1002c12df7ea7900d7eb71cf8.zip | |
kstd: move println to kstd
Diffstat (limited to 'kernel/src/kstd/os.cpp')
| -rw-r--r-- | kernel/src/kstd/os.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/src/kstd/os.cpp b/kernel/src/kstd/os.cpp new file mode 100644 index 0000000..41c4d60 --- /dev/null +++ b/kernel/src/kstd/os.cpp @@ -0,0 +1,16 @@ +#include "kapi/system.hpp" + +#include <kstd/bits/os.hpp> + +#include <source_location> +#include <string_view> + +namespace kstd::os +{ + + auto panic(std::string_view message, std::source_location location) -> void + { + teachos::system::panic(message, location); + } + +} // namespace kstd::os
\ No newline at end of file |
