diff options
-rw-r--r-- | tests/acpi-utils.c | 2 | ||||
-rw-r--r-- | tests/acpi-utils.h | 2 | ||||
-rw-r--r-- | tests/bios-tables-test.c | 2 | ||||
-rw-r--r-- | tests/vmgenid-test.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/acpi-utils.c b/tests/acpi-utils.c index cc33b460ab..633d8f513d 100644 --- a/tests/acpi-utils.c +++ b/tests/acpi-utils.c @@ -63,7 +63,7 @@ uint64_t acpi_get_xsdt_address(uint8_t *rsdp_table) return le64_to_cpu(xsdt_physical_address); } -void acpi_parse_rsdp_table(QTestState *qts, uint32_t addr, uint8_t *rsdp_table) +void acpi_fetch_rsdp_table(QTestState *qts, uint32_t addr, uint8_t *rsdp_table) { uint8_t revision; diff --git a/tests/acpi-utils.h b/tests/acpi-utils.h index 73fe24f044..a303e61f00 100644 --- a/tests/acpi-utils.h +++ b/tests/acpi-utils.h @@ -47,7 +47,7 @@ typedef struct { uint8_t acpi_calc_checksum(const uint8_t *data, int len); uint32_t acpi_find_rsdp_address(QTestState *qts); uint64_t acpi_get_xsdt_address(uint8_t *rsdp_table); -void acpi_parse_rsdp_table(QTestState *qts, uint32_t addr, uint8_t *rsdp_table); +void acpi_fetch_rsdp_table(QTestState *qts, uint32_t addr, uint8_t *rsdp_table); void acpi_fetch_table(QTestState *qts, uint8_t **aml, uint32_t *aml_len, const uint8_t *addr_ptr, const char *sig, bool verify_checksum); diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index a506dcbb29..6a678bf761 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -89,7 +89,7 @@ static void test_acpi_rsdp_table(test_data *data) uint8_t *rsdp_table = data->rsdp_table, revision; uint32_t addr = data->rsdp_addr; - acpi_parse_rsdp_table(data->qts, addr, rsdp_table); + acpi_fetch_rsdp_table(data->qts, addr, rsdp_table); revision = rsdp_table[15 /* Revision offset */]; switch (revision) { diff --git a/tests/vmgenid-test.c b/tests/vmgenid-test.c index ae38ee5ac0..f400184268 100644 --- a/tests/vmgenid-test.c +++ b/tests/vmgenid-test.c @@ -40,7 +40,7 @@ static uint32_t acpi_find_vgia(QTestState *qts) g_assert_cmphex(rsdp_offset, <, RSDP_ADDR_INVALID); - acpi_parse_rsdp_table(qts, rsdp_offset, rsdp_table); + acpi_fetch_rsdp_table(qts, rsdp_offset, rsdp_table); acpi_fetch_table(qts, &rsdt, &rsdt_len, &rsdp_table[16 /* RsdtAddress */], "RSDT", true); |