projects
/
ld45_start_nothing
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed the interrupt gate descriptor setup
[ld45_start_nothing]
/
src
/
boot
/
boot2.asm
diff --git
a/src/boot/boot2.asm
b/src/boot/boot2.asm
index
40807ef
..
df2653c
100644
(file)
--- a/
src/boot/boot2.asm
+++ b/
src/boot/boot2.asm
@@
-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 "