]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[int13] Dump out MBR at DBGLVL_EXTRA
authorMichael Brown <mcb30@ipxe.org>
Mon, 18 Oct 2010 13:51:15 +0000 (14:51 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 18 Oct 2010 13:51:15 +0000 (14:51 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/interface/pcbios/int13.c

index c491bf886e1b48b0e516ae5ecd9df00bf21d4a17..1d973e77808cdf86b5827be287c49843ffdef440 100644 (file)
@@ -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 );