fixed the interrupt gate descriptor setup
[ld45_start_nothing] / src / boot / boot2.asm
index 40807ef..df2653c 100644 (file)
@@ -63,7 +63,7 @@ gdt_lim: dw 23
 gdt_base: dd gdt
 
        align 4
-idt_lim: dw 111
+idt_lim: dw 2047
 idt_base: dd idt
 
        align 8
@@ -85,6 +85,7 @@ idt:  times 104 db 0
        dw 8
        dw 8f00h    ; type: trap, present, default
        dw 0
+       times 1944 db 0 ; enough space for 256 gates
 
 gpf_msg: db "GP fault "