protected mode breaks interrupt handling for some reason

This commit is contained in:
shockrahwow 2019-11-05 19:29:58 -08:00
parent 52cd597b2a
commit c9e8873b8b
2 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,8 @@ void interrupt_handler(struct cpu_reg_state* cpu) {
if(cpu->int_no < 32) {
printf(err_msg[cpu->int_no]);
}
serial_pic_ack(cpu->int_no);
for(;;);
//serial_pic_ack(cpu->int_no);
return;
}

View File

@ -6,7 +6,7 @@
#include "gdt.h"
void kinit() {
gdt_configure();
//gdt_configure();
init_idt();
test_dispatcher();
}