From 55c23fb293e5b149a63999ba075f5d644721a543 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 6 May 2025 17:04:11 +0200 Subject: [PATCH] added the user defined interrupt --- arch/core_interrupt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/core_interrupt.h b/arch/core_interrupt.h index c71c662..5ab26ab 100644 --- a/arch/core_interrupt.h +++ b/arch/core_interrupt.h @@ -28,7 +28,7 @@ constexpr uintptr_t FLAG_ENABLE = 1 << 9; * * \see [ISDMv3, 6.15 Exception and Interrupt * Reference](intel_manual_vol3.pdf#page=203) - * \todo(12) Add Keyboard and Panic vector numbers + * \todo */ enum Vector { // Predefined Exceptions @@ -67,6 +67,8 @@ enum Vector { SECURITY_EXCEPTION = 31, // Interrupts + Keyboard=32, + PANIC=33 }; constexpr size_t VECTORS = 256;