massive overhaul to my exception system

This commit is contained in:
2025-06-05 20:28:17 -04:00
parent 79f04df82e
commit 3e01dc2074
5 changed files with 223 additions and 40 deletions

View File

@ -15,7 +15,6 @@
#define EXCEPT_INVALID_OPCODE 6
#define EXCEPT_DEVICE_NOT_AVAILABLE 7
#define EXCEPT_DOUBLE_FAULT 8
#define EXCEPT_SEG_OVERRUN 9
#define EXCEPT_INVALID_TSS 10
#define EXCEPT_SEG_NOT_PRESENT 11
#define EXCEPT_STACK_SEG_FAULT 12
@ -27,6 +26,9 @@
#define EXCEPT_FLOATING_POINT_ERR_SIMD 19
#define EXCEPT_VIRT 20
#define EXCEPT_CTRL_PROT 21
#define EXCEPT_HYPERVISOR_INJECTION 28
#define EXCEPT_VMM_COMMUNICATION 29
#define EXCEPT_SECURITY_EXCEPTION 30
struct cpu_state {
uint32_t eax;