qemu-patch-raspberry4/include
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
..
block block: Remove "growable" from BDS 2015-02-16 15:07:19 +00:00
disas disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
exec - vhost-scsi: add bootindex property 2015-02-24 13:58:18 +00:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw acpi: introduce AML composer aml_append() 2015-02-26 13:04:09 +01:00
libdecnumber Fix new typos in comments (found by codespell) 2014-07-18 17:45:36 +04:00
migration hmp: Clean up declarations for long-gone info handlers 2015-02-18 11:58:21 +01:00
monitor Clean up around error_get_pretty(), qerror_report_err() 2015-02-26 07:01:08 +00:00
net virtio-net,tap: use standard-headers 2015-02-26 13:04:04 +01:00
qapi error: New convenience function error_report_err() 2015-02-18 10:50:43 +01:00
qemu rcu: add g_free_rcu 2015-02-16 17:30:19 +01:00
qom exec: make iotlb RCU-friendly 2015-02-16 17:30:19 +01:00
standard-headers virtio_ring.h: s/__inline__/inline/ 2015-02-26 13:04:09 +01:00
sysemu hmp: Normalize HMP command handler names 2015-02-25 13:14:37 +00:00
ui hmp: Normalize HMP command handler names 2015-02-25 13:14:37 +00:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h tcg-sparc: Use ADDXC in addsub2_i64 2014-09-29 14:55:27 -04:00
glib-compat.h glib: add compatibility interface for g_strcmp0() 2014-10-16 23:02:31 +01:00
qemu-common.h qemu-common.h: optimise muldiv64 if int128 is available 2015-01-14 10:38:57 +01:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00