aboutsummaryrefslogtreecommitdiff
path: root/kernel/kstd/os.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kstd/os.cpp')
-rw-r--r--kernel/kstd/os.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/kstd/os.cpp b/kernel/kstd/os.cpp
new file mode 100644
index 0000000..21254c4
--- /dev/null
+++ b/kernel/kstd/os.cpp
@@ -0,0 +1,16 @@
+#include "kapi/system.hpp"
+
+#include <kstd/os/error.hpp>
+
+#include <source_location>
+#include <string_view>
+
+namespace kstd::os
+{
+
+ auto panic(std::string_view message, std::source_location location) -> void
+ {
+ kapi::system::panic(message, location);
+ }
+
+} // namespace kstd::os \ No newline at end of file