add: pic work

This commit is contained in:
2024-10-09 16:09:45 +02:00
parent a4411b0581
commit f3db3060af
2 changed files with 12 additions and 9 deletions

View File

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