aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2015-12-10 00:40:59 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-12-22 18:39:20 +0200
commit6e1db3f263c33a6f03584ef6463855ede4d6ce73 (patch)
tree7d30ebbe91163ef523844c6967feb76f73d84e77 /include
parent2d3f667dc63f3bf96c5a8b47785f56c86f6dfd90 (diff)
downloadqemu-6e1db3f263c33a6f03584ef6463855ede4d6ce73.zip
qemu-6e1db3f263c33a6f03584ef6463855ede4d6ce73.tar.gz
qemu-6e1db3f263c33a6f03584ef6463855ede4d6ce73.tar.bz2
acpi: add aml_mutex(), aml_acquire(), aml_release()
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> 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 fba8f25..4831c55 100644
--- a/include/hw/acpi/aml-build.h
+++ b/include/hw/acpi/aml-build.h
@@ -304,6 +304,9 @@ Aml *aml_package(uint8_t num_elements);
Aml *aml_buffer(int buffer_size, uint8_t *byte_list);
Aml *aml_resource_template(void);
Aml *aml_field(const char *name, AmlAccessType type, AmlUpdateRule rule);
+Aml *aml_mutex(const char *name, uint8_t sync_level);
+Aml *aml_acquire(Aml *mutex, uint16_t timeout);
+Aml *aml_release(Aml *mutex);
Aml *aml_create_dword_field(Aml *srcbuf, Aml *index, const char *name);
Aml *aml_varpackage(uint32_t num_elements);
Aml *aml_touuid(const char *uuid);