aboutsummaryrefslogtreecommitdiff
path: root/kernel/src/kstd/os.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/kstd/os.cpp')
-rw-r--r--kernel/src/kstd/os.cpp16
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