Searched refs:aml_len (Results 1 – 3 of 3) sorted by relevance
/qemu/tests/qtest/ |
H A D | acpi-utils.c | 80 void acpi_fetch_table(QTestState *qts, uint8_t **aml, uint32_t *aml_len, in acpi_fetch_table() argument 91 *aml_len = le32_to_cpu(len); in acpi_fetch_table() 92 *aml = g_malloc0(*aml_len); in acpi_fetch_table() 94 qtest_memread(qts, addr, *aml, *aml_len); in acpi_fetch_table() 100 if (acpi_calc_checksum(*aml, *aml_len)) { in acpi_fetch_table() 105 fprintf(stderr, "Invalid '%.4s'(%d)\n", *aml, *aml_len); in acpi_fetch_table() 109 ret = qemu_write_full(fd, *aml, *aml_len); in acpi_fetch_table() 110 g_assert(ret == *aml_len); in acpi_fetch_table() 114 g_assert(!acpi_calc_checksum(*aml, *aml_len)); in acpi_fetch_table()
|
H A D | bios-tables-test.c | 189 acpi_fetch_table(data->qts, &rsdt.aml, &rsdt.aml_len, in test_acpi_rxsdt_table() 209 uint32_t fadt_len = table.aml_len; in test_acpi_fadt_table() 271 sdt->aml_len == exp_sdt->aml_len && in dump_aml_files() 289 g_assert(ret == sdt->aml_len); in dump_aml_files() 388 gsize aml_len; in load_expected_aml() local 422 &aml_len, &error); in load_expected_aml() 423 exp_sdt.aml_len = aml_len; in load_expected_aml() 427 if (!exp_sdt.aml_len) { in load_expected_aml() 470 if (sdt->aml_len == exp_sdt->aml_len && in test_acpi_asl() 501 if (exp_sdt->aml_len) { in test_acpi_asl() [all …]
|
H A D | acpi-utils.h | 21 uint32_t aml_len; member 52 void acpi_fetch_table(QTestState *qts, uint8_t **aml, uint32_t *aml_len,
|