Browse Source

[int13] Dump out MBR at DBGLVL_EXTRA

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
7b0cf319e4
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/arch/i386/interface/pcbios/int13.c

+ 2
- 0
src/arch/i386/interface/pcbios/int13.c View File

368
 		       int13->drive, strerror ( rc ) );
368
 		       int13->drive, strerror ( rc ) );
369
 		return rc;
369
 		return rc;
370
 	}
370
 	}
371
+	DBGC2 ( int13, "INT13 drive %02x has MBR:\n", int13->drive );
372
+	DBGC2_HDA ( int13, 0, &mbr, sizeof ( mbr ) );
371
 	DBGC ( int13, "INT13 drive %02x has signature %08x\n",
373
 	DBGC ( int13, "INT13 drive %02x has signature %08x\n",
372
 	       int13->drive, mbr.signature );
374
 	       int13->drive, mbr.signature );
373
 
375
 

Loading…
Cancel
Save