aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-25 07:47:04 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-27 07:02:35 +0100
commit2f8c5ca6d5ab6131a148502e1d1be4ce2a65b339 (patch)
treee6b8be2be6f3d1ce4fe66534ad2c4be26738ac1d /kapi
parentfd6ac1cbfbe90fa807dca60657bb80ed43c78aee (diff)
downloadteachos-2f8c5ca6d5ab6131a148502e1d1be4ce2a65b339.tar.xz
teachos-2f8c5ca6d5ab6131a148502e1d1be4ce2a65b339.zip
kapi/cpu: add missing exception type
Diffstat (limited to 'kapi')
-rw-r--r--kapi/include/kapi/cpu/exception.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kapi/include/kapi/cpu/exception.hpp b/kapi/include/kapi/cpu/exception.hpp
index 6d39175..9fc697a 100644
--- a/kapi/include/kapi/cpu/exception.hpp
+++ b/kapi/include/kapi/cpu/exception.hpp
@@ -27,6 +27,8 @@ namespace kapi::cpu
alignment_fault,
//! A memory access (either in the data or instruction stream) violated it's permissions.
memory_access_fault,
+ //! An invalid instruction was present in the instruction stream.
+ illegal_instruction,
//! The precoditions for the execution of an instruction were not met.
privilege_violation,
//! An arithmetic error occurred.