diff options
Diffstat (limited to 'arch/x86/boot')
-rw-r--r-- | arch/x86/boot/bootsect.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/boot/bootsect.s b/arch/x86/boot/bootsect.s index e2ab91c..16c2052 100644 --- a/arch/x86/boot/bootsect.s +++ b/arch/x86/boot/bootsect.s @@ -109,6 +109,9 @@ gdt_data: # the data segment descriptor gdt_end: # Global variables +boot_drive: + .byte 0 + gdt_descriptor: # Size of GDT, always less one of the true size .word gdt_end - gdt_start - 1 @@ -126,9 +129,6 @@ boot_load_kern_msg: disk_error_msg: .asciz "Disk read error!" -boot_drive: - .byte 0 - # Bootsector padding .space 512 - 2 - (. - _start), 0 .word MAGIC |