qemu-e2k/hw/acpi
Michael S. Tsirkin 7d433b0d85 aml-build: don't modify child
this code:
    aml_append(foo, bar);

might, non-intuitively, modify bar, which means that e.g. the following
might not DTRT:

    c = ....;
    aml_append(a, c);
    aml_append(b, c);

to fix, simply allocate an intermediate array,
and always modify that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
2015-03-10 16:09:58 +01:00
..
acpi_interface.c
aml-build.c aml-build: don't modify child 2015-03-10 16:09:58 +01:00
bios-linker-loader.c bios linker: validate pointer within table 2015-02-26 12:42:15 +01:00
core.c acpi: accurate overflow check 2014-11-13 16:13:28 +01:00
cpu_hotplug.c
ich9.c acpi, ich9: Add unplug cb for ich9. 2015-02-26 12:42:18 +01:00
Makefile.objs acpi: move generic aml building helpers into dedictated file 2015-02-26 12:42:15 +01:00
memory_hotplug.c acpi, mem-hotplug: use PC_DIMM_SLOT_PROP in acpi_memory_plug_cb(). 2015-03-01 18:33:14 +01:00
pcihp.c pc: pcihp: expose MMIO base and len as properties 2015-02-26 13:04:18 +01:00
piix4.c pc: pcihp: expose MMIO base and len as properties 2015-02-26 13:04:18 +01:00