feature: apic is now enabled and the double fault interrupt at boot no longer occurs

This commit is contained in:
2024-10-03 15:20:19 +02:00
parent 9479515685
commit d6b35a2786
9 changed files with 255 additions and 29 deletions

View File

@ -6,7 +6,7 @@
void exception_handler(void)
{
int8_t index = -1;
__asm__ volatile("movb %%al, %0" ::"m"(index));
__asm__ volatile("movb %%bl, %0" ::"m"(index));
kprintf(KERN_CRIT "interrupt: ");
switch (index) {