diff options
author | Igor Mammedov <imammedo@redhat.com> | 2018-12-27 15:13:32 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-01-17 21:10:57 -0500 |
commit | 3314778d8834a9c446b14b340dbb0fdf07d01975 (patch) | |
tree | fafe2e98175f46b81d0be1267b9207723b3a55cc /tests/microbit-test.c | |
parent | acee774b3dbeb7fcd294b1f96c1a286d39d9b495 (diff) |
tests: smbios: fetch whole table in one step instead of reading it step by step
replace a bunch of ACPI_READ_ARRAY/ACPI_READ_FIELD macro, that read
SMBIOS table field by field with one memread() to fetch whole table
at once and drop no longer used ACPI_READ_ARRAY/ACPI_READ_FIELD macro.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/microbit-test.c')
0 files changed, 0 insertions, 0 deletions