feat(pic): add pic keyboard function to isr funcs

This commit is contained in:
Malo Lecomte 2021-07-15 16:47:56 +02:00
parent aaa72211ec
commit 76174c5b4f
2 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,7 @@ iret
pushl $INT_CODE; \
jmp isr; \
// intel-defined
ISR_NO_ERRCODE(int_de, 0)
ISR_NO_ERRCODE(int_db, 1)
ISR_NO_ERRCODE(int_nmi, 2)
@ -44,3 +45,6 @@ ISR_ERRCODE(int_ac, 17)
ISR_NO_ERRCODE(int_mc, 18)
ISR_NO_ERRCODE(int_xm, 19)
ISR_NO_ERRCODE(int_ve, 20)
// user-defined
ISR_NO_ERRCODE(pic_keyboard, 33)

View File

@ -23,4 +23,7 @@ void int_mc(void); // Machine Check
void int_xm(void); // SIMD Floating-Point Exception
void int_ve(void); // Virtualization Exception
// ISR for PIC interrupts.
void pic_keyboard(void);
#endif /* !ISR_H */