diff options
author | Gene Cumm <gene.cumm@gmail.com> | 2011-01-26 21:53:06 -0500 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2011-01-26 21:53:06 -0500 |
commit | 3f89c31e8e44088892bb5f3ed05113525028e369 (patch) | |
tree | 87c62760aaf1ee9950de90d992bae91be3a5ff86 /memdisk | |
parent | 61702e11e5d3bc4de3b9df1c290f47c252af4605 (diff) | |
download | syslinux-3f89c31e8e44088892bb5f3ed05113525028e369.tar.gz |
memdisk/dskprobe: Be consistent in debug output
Only probe_int13h_15h() showed the AH01h output; show it in the others also
Diffstat (limited to 'memdisk')
-rw-r--r-- | memdisk/dskprobe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/memdisk/dskprobe.c b/memdisk/dskprobe.c index afceb191..c2a85e8d 100644 --- a/memdisk/dskprobe.c +++ b/memdisk/dskprobe.c @@ -86,6 +86,7 @@ static int probe_int13h_01h(uint8_t drive) static int probe_int13h_08h(uint8_t drive, com32sys_t * regs) { int present; + int status; memset(regs, 0, sizeof *regs); probe_any(0x08, drive, regs); @@ -93,6 +94,7 @@ static int probe_int13h_08h(uint8_t drive, com32sys_t * regs) 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]; + status = probe_int13h_01h(drive); dskprobe_printf(" P%d\n", present); return present; } @@ -123,6 +125,7 @@ static int probe_int13h_15h(uint8_t drive, com32sys_t * regs) static int probe_int13h_41h(uint8_t drive, com32sys_t * regs) { int present; + int status; memset(regs, 0, sizeof *regs); regs->ebx.w[0] = 0x55AA; /* BX == 0x55AA */ @@ -131,6 +134,7 @@ static int probe_int13h_41h(uint8_t drive, com32sys_t * regs) regs->eflags.l & 1, regs->ebx.w[0], regs->eax.b[1], 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); return present; } |