Home
last modified time | relevance | path

Searched refs:fadt_aml (Results 1 – 1 of 1) sorted by relevance

/qemu/tests/qtest/
H A Dbios-tables-test.c207 uint8_t *fadt_aml = table.aml; in test_acpi_fadt_table() local
216 memcpy(&val, fadt_aml + 112 /* Flags */, 4); in test_acpi_fadt_table()
224 memcpy(&val, fadt_aml + dsdt_offset, 4); in test_acpi_fadt_table()
231 fadt_aml + dsdt_offset, dsdt_entry_size, "DSDT", true); in test_acpi_fadt_table()
234 memset(fadt_aml + 36, 0, 4); /* sanitize FIRMWARE_CTRL ptr */ in test_acpi_fadt_table()
235 memset(fadt_aml + 40, 0, 4); /* sanitize DSDT ptr */ in test_acpi_fadt_table()
236 if (fadt_aml[8 /* FADT Major Version */] >= 3) { in test_acpi_fadt_table()
237 memset(fadt_aml + 132, 0, 8); /* sanitize X_FIRMWARE_CTRL ptr */ in test_acpi_fadt_table()
238 memset(fadt_aml + 140, 0, 8); /* sanitize X_DSDT ptr */ in test_acpi_fadt_table()
242 fadt_aml[9 /* Checksum */] = 0; in test_acpi_fadt_table()
[all …]