Searched refs:rsdp_table (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | acpi-utils.c | 53 void acpi_fetch_rsdp_table(QTestState *qts, uint64_t addr, uint8_t *rsdp_table) in acpi_fetch_rsdp_table() argument 58 qtest_memread(qts, addr, rsdp_table, 20); in acpi_fetch_rsdp_table() 59 revision = rsdp_table[15 /* Revision offset */]; in acpi_fetch_rsdp_table() 66 qtest_memread(qts, addr + 20, rsdp_table + 20, 16); in acpi_fetch_rsdp_table() 72 ACPI_ASSERT_CMP64(*((uint64_t *)(rsdp_table)), "RSD PTR "); in acpi_fetch_rsdp_table()
|
H A D | vmgenid-test.c | 30 uint8_t rsdp_table[36 /* ACPI 2.0+ RSDP size */]; in acpi_find_vgia() local 43 acpi_fetch_rsdp_table(qts, rsdp_offset, rsdp_table); in acpi_find_vgia() 44 acpi_fetch_table(qts, &rsdt, &rsdt_len, &rsdp_table[16 /* RsdtAddress */], in acpi_find_vgia()
|
H A D | bios-tables-test.c | 91 uint8_t rsdp_table[36 /* ACPI 2.0+ RSDP size */]; member 156 uint8_t *rsdp_table = data->rsdp_table; in test_acpi_rsdp_table() local 158 acpi_fetch_rsdp_table(data->qts, data->rsdp_addr, rsdp_table); in test_acpi_rsdp_table() 160 switch (rsdp_table[15 /* Revision offset */]) { in test_acpi_rsdp_table() 163 g_assert(!acpi_calc_checksum(rsdp_table, 20)); in test_acpi_rsdp_table() 167 g_assert(!acpi_calc_checksum(rsdp_table, 20)); in test_acpi_rsdp_table() 168 g_assert(!acpi_calc_checksum(rsdp_table, 36)); in test_acpi_rsdp_table() 183 if (data->rsdp_table[15 /* Revision offset */] != 0) { in test_acpi_rxsdt_table() 190 &data->rsdp_table[addr_off], entry_size, sig, true); in test_acpi_rxsdt_table()
|
H A D | acpi-utils.h | 51 void acpi_fetch_rsdp_table(QTestState *qts, uint64_t addr, uint8_t *rsdp_table);
|