protected mode breaks interrupt handling for some reason

This commit is contained in:
shockrahwow committed 2019-11-05 19:29:58 -08:00
1 parent 52cd597b2a
commit c9e8873b8b
2 files changed
+3 -2

No files matched your search

+2 -1
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;
}
+1 -1
View File
@@ -6,7 +6,7 @@
#include "gdt.h"
void kinit() {
gdt_configure();
//gdt_configure();
init_idt();
test_dispatcher();
}