qemu/include/hw/acpi
Igor Mammedov 0f2707e4e7 acpi: introduce AML composer aml_append()
Adds for dynamic AML creation, which will be used
for piecing ASL/AML primitives together and hiding
from user/caller details about how nested context
should be closed/packed leaving less space for
mistakes and necessity to know how AML should be
encoded, allowing user to concentrate on ASL
representation instead.

For example it will allow to create AML like this:

init_aml_allocator();
...
Aml *scope = aml_scope("PCI0")
Aml *dev = aml_device("PM")
    aml_append(dev, aml_name_decl("_ADR", aml_int(addr)))
aml_append(scope, dev);
...
free_aml_allocator();

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-02-26 13:04:09 +01:00
..
acpi_dev_interface.h acpi: introduce TYPE_ACPI_DEVICE_IF interface 2014-06-19 18:44:22 +03:00
acpi.h acpi: rephrase comment 2014-06-19 18:44:22 +03:00
aml-build.h acpi: introduce AML composer aml_append() 2015-02-26 13:04:09 +01:00
bios-linker-loader.h bios-linker-loader: move header to common location 2015-01-27 14:46:17 +02:00
cpu_hotplug.h cpu-hotplug: rename function for better readability 2014-11-02 13:44:12 +02:00
ich9.h acpi, ich9: Add unplug cb for ich9. 2015-02-26 12:42:18 +01:00
memory_hotplug.h acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices 2014-06-19 18:44:22 +03:00
pc-hotplug.h hw:i386: typo fix: MEMORY_HOPTLUG_DEVICE -> MEMORY_HOTPLUG_DEVICE 2014-08-14 13:20:49 +02:00
pcihp.h acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
piix4.h piix: APIs for pc guest info 2013-10-14 17:48:52 +03:00
tpm.h Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00