[efi] Show block device ACPI table contents only at DBGLVL_EXTRA

The ACPI table contents are typically large and are likely to cause
any preceding error messages to scroll off-screen.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/171/head
Michael Brown 2020-10-20 15:03:37 +01:00
parent 04cb17de50
commit 334f0074b1
1 changed files with 3 additions and 3 deletions

View File

@ -450,17 +450,17 @@ static int efi_block_install ( struct acpi_header *hdr ) {
rc = -EEFI ( efirc );
DBGC ( acpi, "EFIBLK could not install %s: %s\n",
acpi_name ( hdr->signature ), strerror ( rc ) );
DBGC_HDA ( acpi, 0, hdr, len );
DBGC2_HDA ( acpi, 0, hdr, len );
goto err_install;
}
/* Add to list of installed tables */
list_add_tail ( &installed->list, &efi_acpi_tables );
DBGC ( acpi, "EFIBLK installed %s as ACPI table %#lx:\n",
DBGC ( acpi, "EFIBLK installed %s as ACPI table %#lx\n",
acpi_name ( hdr->signature ),
( ( unsigned long ) installed->key ) );
DBGC_HDA ( acpi, 0, hdr, len );
DBGC2_HDA ( acpi, 0, hdr, len );
return 0;
list_del ( &installed->list );