aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/exception_handling/assert.cpp
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-21 12:03:21 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-21 12:03:21 +0000
commit72cb015567cb65527e9105e653c001be3c04eab5 (patch)
treee6fd25f5cab0ed5647fe1ee141be77f41810e372 /arch/x86_64/src/exception_handling/assert.cpp
parentf171efed99684bf03c315405efda34e36d7db82c (diff)
downloadteachos-72cb015567cb65527e9105e653c001be3c04eab5.tar.xz
teachos-72cb015567cb65527e9105e653c001be3c04eab5.zip
Use handle struct to ensure next_table is not called on page table level 1
Diffstat (limited to 'arch/x86_64/src/exception_handling/assert.cpp')
-rw-r--r--arch/x86_64/src/exception_handling/assert.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/src/exception_handling/assert.cpp b/arch/x86_64/src/exception_handling/assert.cpp
index b36f52d..b2963de 100644
--- a/arch/x86_64/src/exception_handling/assert.cpp
+++ b/arch/x86_64/src/exception_handling/assert.cpp
@@ -1,5 +1,7 @@
#include "arch/exception_handling/assert.hpp"
+#include "arch/exception_handling/panic.hpp"
+
namespace teachos::arch::exception_handling
{
auto assert(bool condition, char const * message) -> void