aboutsummaryrefslogtreecommitdiffstats
path: root/diag
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2011-03-27 08:32:05 -0400
committerGene Cumm <gene.cumm@gmail.com>2011-03-27 08:32:05 -0400
commitd583d2fbd6ca3c754de078f04bf5f87566dbda52 (patch)
tree0210805b1603cb09d07a1969e80696320d537f97 /diag
parent239fed5bbdab41643af2d119107023ec3e0d8a3c (diff)
downloadsyslinux-d583d2fbd6ca3c754de078f04bf5f87566dbda52.tar.gz
syslinux-d583d2fbd6ca3c754de078f04bf5f87566dbda52.tar.xz
syslinux-d583d2fbd6ca3c754de078f04bf5f87566dbda52.zip
diag/mbr/handoff: Code comments; reflow output
The printing of CR/LF was misplaced such that it'd print a blank line if no PnP data was found.
Diffstat (limited to 'diag')
-rw-r--r--diag/mbr/handoff.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/diag/mbr/handoff.S b/diag/mbr/handoff.S
index b3fe5139..2ac0cccb 100644
--- a/diag/mbr/handoff.S
+++ b/diag/mbr/handoff.S
@@ -221,17 +221,17 @@ scn_pnp:
/* 0x506E5024 */
movw $0x5024, %dx
movw $0x506E, %bx
-ch_pnp: es lodsw
+ch_pnp: es lodsw /* Check for $PnP */
cmpw %dx, %ax
jne ch_pnp_l
es lodsw
cmpw %bx, %ax
je pr_pnp
-ch_pnp_l:
+ch_pnp_l: /* Check $PnP failed; loop to next address */
addw $14, %si
andw $0xFFF0, %si
loopw ch_pnp
- jmp end
+ jmp pnp_end
pr_pnp:
pushw %si
call wrstr
@@ -244,8 +244,8 @@ pr_pnp:
andw $0xFFF0, %dx
call wrhexw
#endif /* DEBUG_PNP */
-
call crlf
+pnp_end:
end:
jmp bootfail