added the user defined interrupt

main
Simon 6 months ago
parent 6534b4660c
commit 55c23fb293

@ -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;

Loading…
Cancel
Save