Searched refs:fadt_aml (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | bios-tables-test.c | 208 uint8_t *fadt_aml = table.aml; in test_acpi_fadt_table() local 217 memcpy(&val, fadt_aml + 112 /* Flags */, 4); in test_acpi_fadt_table() 221 fadt_aml + 36 /* FIRMWARE_CTRL */, 4, "FACS", false); in test_acpi_fadt_table() 225 memcpy(&val, fadt_aml + dsdt_offset, 4); in test_acpi_fadt_table() 232 fadt_aml + dsdt_offset, dsdt_entry_size, "DSDT", true); in test_acpi_fadt_table() 235 memset(fadt_aml + 36, 0, 4); /* sanitize FIRMWARE_CTRL ptr */ in test_acpi_fadt_table() 236 memset(fadt_aml + 40, 0, 4); /* sanitize DSDT ptr */ in test_acpi_fadt_table() 237 if (fadt_aml[8 /* FADT Major Version */] >= 3) { in test_acpi_fadt_table() 238 memset(fadt_aml + 132, 0, 8); /* sanitize X_FIRMWARE_CTRL ptr */ in test_acpi_fadt_table() 239 memset(fadt_aml + 140, 0, 8); /* sanitize X_DSDT ptr */ in test_acpi_fadt_table() [all …]
|