]> git.proxmox.com Git - mirror_qemu.git/commit
tests/uefi-test-tools: report the SMBIOS entry point structures
authorLaszlo Ersek <lersek@redhat.com>
Thu, 25 Apr 2019 09:44:15 +0000 (11:44 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 3 May 2019 08:52:20 +0000 (10:52 +0200)
commitb097ba371a68814e5ed85427ceec88f1e760ec96
treea1815c7f798f81db95a627f31577853f1f4dcc83
parent8482ff2eb3bb95020eb2f370a9b3ea26511e41df
tests/uefi-test-tools: report the SMBIOS entry point structures

On UEFI systems, the SMBIOS entry point (a.k.a. anchor) structures are
found similarly to the ACPI RSD PTR table(s): by scanning the
ConfigurationTable array in the EFI system table for well-known GUIDs.

Locate the SMBIOS 2.1 (32-bit) and 3.0 (64-bit) anchors in the
BiosTablesTest UEFI application, and report the addresses in new fields
appended to the BIOS_TABLES_TEST structure.

Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Launchpad: https://bugs.launchpad.net/qemu/+bug/1821884
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c
tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.inf
tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h