aboutsummaryrefslogtreecommitdiff
path: root/kern/src
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-14 20:14:38 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-14 20:15:41 +0000
commit763f38fff9336e40fce27565861e85c95d003a12 (patch)
tree6cbd1752567aff6eeacd1768bfa11505c887d014 /kern/src
parentd1aaaeb615e148a13f46223c84819ba828e5209f (diff)
downloadteachos-763f38fff9336e40fce27565861e85c95d003a12.tar.xz
teachos-763f38fff9336e40fce27565861e85c95d003a12.zip
libs: move vector to kstd
Diffstat (limited to 'kern/src')
-rw-r--r--kern/src/kstd.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/kern/src/kstd.cpp b/kern/src/kstd.cpp
new file mode 100644
index 0000000..1b7050b
--- /dev/null
+++ b/kern/src/kstd.cpp
@@ -0,0 +1,10 @@
+#include "kern/error.hpp"
+
+#include <kstd/bits/os.hpp>
+
+namespace kstd::os
+{
+
+ auto panic(std::string_view message, std::source_location location) -> void { teachos::panic(message, location); }
+
+} // namespace kstd::os \ No newline at end of file