bootman: Fix warnings

warning: label alone on a line without a colon might be in error

Doesn't change the produced binary.
This commit is contained in:
François Revol
2014-10-29 12:52:41 +01:00
parent 74a14969ec
commit 7c5dfbad75
+6 -6
View File
@@ -204,7 +204,7 @@ cursorPosition equ cursorX
push dx push dx
xor bh, bh ; write on page 0 xor bh, bh ; write on page 0
jmp .loop_condition jmp .loop_condition
.loop .loop:
mov dx, [bp + cursorPosition] mov dx, [bp + cursorPosition]
mov ah, SET_CURSOR mov ah, SET_CURSOR
int BIOS_VIDEO_SERVICES int BIOS_VIDEO_SERVICES
@@ -214,7 +214,7 @@ cursorPosition equ cursorX
mov cx, 1 mov cx, 1
mov ah, WRITE_CHAR mov ah, WRITE_CHAR
int BIOS_VIDEO_SERVICES int BIOS_VIDEO_SERVICES
.loop_condition .loop_condition:
lodsb lodsb
cmp al, 0 cmp al, 0
jnz .loop jnz .loop
@@ -342,9 +342,9 @@ kStage1UnusedSpace equ 440 - ($-$$)
kDiskSignature: kDiskSignature:
dw 0, 0 dw 0, 0
kReserved kReserved:
dw 0 dw 0
kPartitionTable kPartitionTable:
times 64 db 0 times 64 db 0
kMBRSignature: kMBRSignature:
@@ -506,7 +506,7 @@ updateMarker:
cmp cx, [bp + selection] cmp cx, [bp + selection]
je .print je .print
mov al, ' ' ; Clear marker mov al, ' ' ; Clear marker
.print .print:
mov bl, WHITE mov bl, WHITE
jmp printChar ; return from subroutine jmp printChar ; return from subroutine
@@ -523,7 +523,7 @@ bootSelectedPartition:
mov di, bootSectorDAP+AddressPacket.offset ; Copy start sector mov di, bootSectorDAP+AddressPacket.offset ; Copy start sector
mov cx, 4 ; It is stored in a quad word mov cx, 4 ; It is stored in a quad word
.copy_start_sector .copy_start_sector:
lodsw lodsw
stosw stosw
loop .copy_start_sector loop .copy_start_sector