aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/exception_handling/abort.cpp
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-20 12:02:20 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-20 12:02:20 +0000
commitda2341ec12128d3b4983a67d39aeaf76b1781fa8 (patch)
treeeab408f61804267fabb7151edce4410b0f05ddc2 /arch/x86_64/src/exception_handling/abort.cpp
parent0d42fed17834a21d29032dd2d8e56e11596056bc (diff)
downloadkernel-da2341ec12128d3b4983a67d39aeaf76b1781fa8.tar.xz
kernel-da2341ec12128d3b4983a67d39aeaf76b1781fa8.zip
Add printf like behaviour to assert
Diffstat (limited to 'arch/x86_64/src/exception_handling/abort.cpp')
-rw-r--r--arch/x86_64/src/exception_handling/abort.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/src/exception_handling/abort.cpp b/arch/x86_64/src/exception_handling/abort.cpp
index dc40008..77576b1 100644
--- a/arch/x86_64/src/exception_handling/abort.cpp
+++ b/arch/x86_64/src/exception_handling/abort.cpp
@@ -4,7 +4,6 @@
namespace teachos::arch::exception_handling
{
-
/**
* @brief Override for the newlib abort function.
*
@@ -14,4 +13,4 @@ namespace teachos::arch::exception_handling
*/
extern "C" auto abort() -> void { panic("Terminate was called, possibly due to an unhandled exception"); }
-} // namespace teachos::arch::exception_handling \ No newline at end of file
+} // namespace teachos::arch::exception_handling