aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface/pcbios
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-10-18 14:51:15 +0100
committerMichael Brown <mcb30@ipxe.org>2010-10-18 14:51:15 +0100
commit7b0cf319e4ab5ad6a0e90068057dd4638d65c7a7 (patch)
treeef54526e58fbebcb908b6f1b9cbd54572ea66efa /src/arch/i386/interface/pcbios
parent19c59bb1317e58c44ce606dadbd0ee8dcfcf19ac (diff)
downloadipxe-7b0cf319e4ab5ad6a0e90068057dd4638d65c7a7.tar.gz
[int13] Dump out MBR at DBGLVL_EXTRA
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/interface/pcbios')
-rw-r--r--src/arch/i386/interface/pcbios/int13.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c
index c491bf88..1d973e77 100644
--- a/src/arch/i386/interface/pcbios/int13.c
+++ b/src/arch/i386/interface/pcbios/int13.c
@@ -368,6 +368,8 @@ static int int13_guess_geometry ( struct int13_drive *int13 ) {
int13->drive, strerror ( rc ) );
return rc;
}
+ DBGC2 ( int13, "INT13 drive %02x has MBR:\n", int13->drive );
+ DBGC2_HDA ( int13, 0, &mbr, sizeof ( mbr ) );
DBGC ( int13, "INT13 drive %02x has signature %08x\n",
int13->drive, mbr.signature );