diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-01 22:13:34 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-01 22:13:34 -0400 |
commit | ac378bb05fa3cac3197085431f577e0dbddd4b4a (patch) | |
tree | aa16e2990b97bd5d2f1358a63e906963a55bc8ce /lib/efi_loader/helloworld.c | |
parent | 168de20f3b6ccefef0ff5757fa5310f47a95c2f0 (diff) | |
parent | 40144260a9c8c5228500824ad9b7b19597a4bb0b (diff) |
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'lib/efi_loader/helloworld.c')
-rw-r--r-- | lib/efi_loader/helloworld.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c index 046b46a2c1..3b8de5b4ea 100644 --- a/lib/efi_loader/helloworld.c +++ b/lib/efi_loader/helloworld.c @@ -14,6 +14,7 @@ static const efi_guid_t loaded_image_guid = LOADED_IMAGE_GUID; static const efi_guid_t fdt_guid = EFI_FDT_GUID; +static const efi_guid_t acpi_guid = EFI_ACPI_TABLE_GUID; static const efi_guid_t smbios_guid = SMBIOS_TABLE_GUID; static int hw_memcmp(const void *buf1, const void *buf2, size_t length) @@ -79,6 +80,9 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle, if (!hw_memcmp(&systable->tables[i].guid, &fdt_guid, sizeof(efi_guid_t))) con_out->output_string(con_out, L"Have device tree\n"); + if (!hw_memcmp(&systable->tables[i].guid, &acpi_guid, + sizeof(efi_guid_t))) + con_out->output_string(con_out, L"Have ACPI 2.0 table\n"); if (!hw_memcmp(&systable->tables[i].guid, &smbios_guid, sizeof(efi_guid_t))) con_out->output_string(con_out, L"Have SMBIOS table\n"); |