aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2015-02-18 19:14:15 +0000
committerMichael S. Tsirkin <mst@redhat.com>2015-02-26 13:04:09 +0100
commit2ef7c27b78c663557771076b45e6f4be1b3c78d6 (patch)
treeec2de4166b9e875a7af90a74ee2cc9d1f642a6d2 /include
parent0f2707e4e733614f2cd566e7210c1cff6f3b5b42 (diff)
acpi: add aml_scope() term
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')
-rw-r--r--include/hw/acpi/aml-build.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
index 1e1b03bc4e..05dd3fcbb2 100644
--- a/include/hw/acpi/aml-build.h
+++ b/include/hw/acpi/aml-build.h
@@ -59,6 +59,9 @@ void free_aml_allocator(void);
*/
void aml_append(Aml *parent_ctx, Aml *child);
+/* Block AML object primitives */
+Aml *aml_scope(const char *name_format, ...) GCC_FMT_ATTR(1, 2);
+
/* other helpers */
GArray *build_alloc_array(void);
void build_free_array(GArray *array);