[syslinux:master] memdisk/dskprobe: Align all INT13h probe debug output

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Fri Apr 1 15:54:42 PDT 2011


Commit-ID:  974aa818b35938c36f84c7c5fc75b15d3ebba0c2
Gitweb:     http://syslinux.zytor.com/commit/974aa818b35938c36f84c7c5fc75b15d3ebba0c2
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sun, 30 Jan 2011 12:01:16 -0500
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sun, 30 Jan 2011 12:01:16 -0500

memdisk/dskprobe: Align all INT13h probe debug output



---
 memdisk/dskprobe.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/memdisk/dskprobe.c b/memdisk/dskprobe.c
index ca59fe5..a3c2681 100644
--- a/memdisk/dskprobe.c
+++ b/memdisk/dskprobe.c
@@ -90,7 +90,7 @@ static int probe_int13h_08h(uint8_t drive, com32sys_t * regs)
 
     memset(regs, 0, sizeof *regs);
     probe_any(0x08, drive, regs);
-    dskprobe_printf("  AH08: CF%d AH%02x AL%02x BL%02x DL%02x",
+    dskprobe_printf("  AH08: CF%d AH%02x AL%02x BL%02x DL%02x    ",
 		    regs->eflags.l & 1, regs->eax.b[1], regs->eax.b[0],
 		    regs->ebx.b[0], regs->edx.b[0]);
     present = !(regs->eflags.l & 1) && !regs->eax.b[1];
@@ -130,9 +130,9 @@ static int probe_int13h_41h(uint8_t drive, com32sys_t * regs)
     memset(regs, 0, sizeof *regs);
     regs->ebx.w[0] = 0x55AA;	/* BX == 0x55AA */
     probe_any(0x41, drive, regs);
-    dskprobe_printf("  AH41: CF%d AH%02x BX%04x DH%02x",
+    dskprobe_printf("  AH41: CF%d AH%02x BX%04x CX%04x DH%02x",
 		    regs->eflags.l & 1, regs->eax.b[1], regs->ebx.w[0],
-		    regs->edx.b[1]);
+		    regs->ecx.w[0], regs->edx.b[1]);
     present = !(regs->eflags.l & 1) && (regs->ebx.w[0] == 0xAA55);
     status = probe_int13h_01h(drive);
     dskprobe_printf("  P%d\n",  present);



More information about the Syslinux-commits mailing list