summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorIgor Mammedov2015-02-18 20:14:14 +0100
committerMichael S. Tsirkin2015-02-26 13:04:09 +0100
commit0f2707e4e733614f2cd566e7210c1cff6f3b5b42 (patch)
tree4c876e48e265085bb95b1b5247ed7a1d72576ddf /include/exec
parentvirtio_ring.h: s/__inline__/inline/ (diff)
downloadqemu-0f2707e4e733614f2cd566e7210c1cff6f3b5b42.tar.gz
qemu-0f2707e4e733614f2cd566e7210c1cff6f3b5b42.tar.xz
qemu-0f2707e4e733614f2cd566e7210c1cff6f3b5b42.zip
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>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions