summaryrefslogtreecommitdiffstats
path: root/default-configs/mips-linux-user.mak
diff options
context:
space:
mode:
authorIgor Mammedov2018-12-27 15:13:28 +0100
committerMichael S. Tsirkin2019-01-15 01:31:04 +0100
commitdb5754498878c754a1ea755e726816ee50cbf2c0 (patch)
treedfc123313d997d8aca2bfbaa90e8ee99c2452bb0 /default-configs/mips-linux-user.mak
parenttests: acpi: use AcpiSdtTable::aml in consistent way (diff)
downloadqemu-db5754498878c754a1ea755e726816ee50cbf2c0.tar.gz
qemu-db5754498878c754a1ea755e726816ee50cbf2c0.tar.xz
qemu-db5754498878c754a1ea755e726816ee50cbf2c0.zip
tests: acpi: make sure FADT is fetched only once
Whole FADT is fetched as part of RSDT referenced tables in fetch_rsdt_referenced_tables() albeit a bit later than when FADT is partially parsed in fadt_fetch_facs_and_dsdt_ptrs(). However there is no reason for calling fetch_rsdt_referenced_tables() so late, just move it right after we fetched RSDT and before fadt_fetch_facs_and_dsdt_ptrs(). That way we can reuse whole FADT fetched by fetch_rsdt_referenced_tables() and avoid duplicate custom fields fetching in fadt_fetch_facs_and_dsdt_ptrs(). While at it rename fadt_fetch_facs_and_dsdt_ptrs() to test_acpi_fadt_table(). The follow up patch will merge fadt_fetch_facs_and_dsdt_ptrs() into test_acpi_rsdt_table(), so that we would end up calling only test_acpi_FOO_table() for consistency for tables that require special processing. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'default-configs/mips-linux-user.mak')
0 files changed, 0 insertions, 0 deletions