Searched refs:ep_table (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/qtest/ |
H A D | bios-tables-test.c | 559 qtest_memread(data->qts, addr, ep_table, sizeof(*ep_table)); in smbios_ep2_table_ok() 560 if (memcmp(ep_table->anchor_string, "_SM_", 4)) { in smbios_ep2_table_ok() 566 if (ep_table->structure_table_length == 0) { in smbios_ep2_table_ok() 569 if (ep_table->number_of_structures == 0) { in smbios_ep2_table_ok() 572 if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table) || in smbios_ep2_table_ok() 573 acpi_calc_checksum((uint8_t *)ep_table + 0x10, in smbios_ep2_table_ok() 574 sizeof *ep_table - 0x10)) { in smbios_ep2_table_ok() 584 qtest_memread(data->qts, addr, ep_table, sizeof(*ep_table)); in smbios_ep3_table_ok() 585 if (memcmp(ep_table->anchor_string, "_SM3_", 5)) { in smbios_ep3_table_ok() 589 if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table)) { in smbios_ep3_table_ok() [all …]
|