Przeglądaj źródła

[int13] Dump out MBR at DBGLVL_EXTRA

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 lat temu
rodzic
commit
7b0cf319e4
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      src/arch/i386/interface/pcbios/int13.c

+ 2
- 0
src/arch/i386/interface/pcbios/int13.c Wyświetl plik

@@ -368,6 +368,8 @@ static int int13_guess_geometry ( struct int13_drive *int13 ) {
368 368
 		       int13->drive, strerror ( rc ) );
369 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 373
 	DBGC ( int13, "INT13 drive %02x has signature %08x\n",
372 374
 	       int13->drive, mbr.signature );
373 375
 

Ładowanie…
Anuluj
Zapisz