Fixed bug in GDT length calculation in bootloader. Kernel now loads its own GDT so it doesn't clobber itself while touching memory. ATAPIO now loads its own copy of the boot sector so it isn't reliant on 0x7000 being mapped. Removed debug printf statements from a lot of places.
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ data:
|
||||
db 0
|
||||
gdt_end:
|
||||
gdt_desc:
|
||||
dw gdt_desc - gdt_end - 1
|
||||
dw gdt_end - gdt - 1
|
||||
dd gdt
|
||||
|
||||
TIMES 510 - ($ - $$) db 0
|
||||
|
||||
Reference in New Issue
Block a user