added the user defined interrupt
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user