add: pic work
This commit is contained in:
@ -53,6 +53,9 @@ void irq_handler(void)
|
||||
int8_t index = -1;
|
||||
__asm__ volatile("movb %%bl, %0" ::"m"(index));
|
||||
|
||||
pic_send_eoi(NTMFDP);
|
||||
kpanic("cramptés\n");
|
||||
if (index == 0) {
|
||||
pic_send_eoi(index);
|
||||
return;
|
||||
}
|
||||
kpanic("%d\n", index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user