On Tue, Mar 26, 2013 at 08:03:09AM +0100, Paolo Bonzini wrote:
Il 26/03/2013 02:59, Hu Tao ha scritto:
Why doesn't it work with q35?
ACPI_EXTRACT_NAME_WORD_CONST dsdt_isa_pest generates two dsdt_isa_pest, one in out/acpi-dsdt.hex the other in out/q35-acpi-dsdt.hex. We should use the one in q35-acpi-dsdt.hex to patch DSDT for q35. But including q35-acpi-dsdt.hex, along with acpi-dsdt.hex, will result in redefinition of dsdt_isa_pest. I didn't see a simple way to solve this.
Compile it in a separate file and include it in the SSDT (build_ssdt in src/acpi.c).
Doesn't work. iasl gives an error:
Data Table Compiler is not available yet
Even though it compiles, I think the generated offset (*dsdt_isa_pest) won't be correct because it depends on acpi-dsdt.dsl/q35-acpi-dsdt.dsl.