idt: put sti out of idt_set so bochs doesn't crash

This commit is contained in:
2025-03-22 14:30:12 +03:00
parent bb87905970
commit ef2c779798
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -10,7 +10,6 @@ void idt_set() {
idtr.base = (uint32) &idt;
idtr.limit = sizeof(idt) * sizeof(idt_entry_t) - 1;
__asm__ __volatile__("lidt %0" : : "m" (idtr));
__asm__ __volatile__("sti"); //TODO: fixme, make this fucking stinking sti work
}
+1 -1
View File
@@ -25,7 +25,7 @@ void kmain()
pit_init(100);
apply_pic_masks();
__asm__ __volatile__ ("sti");
printf("Kernel init sequence completed\n");
char yooo[256] = "heheh";