aboutsummaryrefslogtreecommitdiff
path: root/src/abort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/abort.cpp')
-rw-r--r--src/abort.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/abort.cpp b/src/abort.cpp
new file mode 100644
index 0000000..6b0070e
--- /dev/null
+++ b/src/abort.cpp
@@ -0,0 +1,3 @@
+#include "kapi/system.hpp"
+
+extern "C" [[noreturn]] auto abort() -> void { teachos::system::panic("Abort called"); }