david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[int13] Dump out MBR at DBGLVL_EXTRA

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-10-18 14:51:15 +01:00
parent 19c59bb131
commit 7b0cf319e4
1 changed files with 2 additions and 0 deletions

View 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 );