]> Git Repo - qemu.git/commit - tests/acpi-utils.h
tests: acpi: make acpi_fetch_table() take size of fetched table pointer
authorIgor Mammedov <[email protected]>
Thu, 2 May 2019 14:51:50 +0000 (16:51 +0200)
committerMichael S. Tsirkin <[email protected]>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commit4b14d543f3338985fd9c74ae6f6a6d3861c841dd
tree646d60303735f369187ea216f159faede2b90f28
parent38fb3d7100b871eef3237cba2e4e1fed56d2bd1f
tests: acpi: make acpi_fetch_table() take size of fetched table pointer

Currently acpi_fetch_table() assumes 32 bit size of table pointer
in ACPI tables. However X_foo variants are 64 bit, prepare
acpi_fetch_table() to handle both by adding an argument
for addr_ptr pointed entry size. Follow up commits will use that
to read XSDT and X_foo entries in ACPI tables.

Signed-off-by: Igor Mammedov <[email protected]>
Message-Id: <1556808723[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
tests/acpi-utils.c
tests/acpi-utils.h
tests/bios-tables-test.c
tests/vmgenid-test.c
This page took 0.026235 seconds and 4 git commands to generate.