diff options
author | Igor Mammedov <imammedo@redhat.com> | 2015-12-10 00:41:05 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:21 -0600 |
commit | e7e7bf009d236ca48cf6dd361fdab4c72c62f40c (patch) | |
tree | 5f005ea13f42b077fb27d11819ea2f02dfcaf1dd /include/hw | |
parent | 8ccaa4e62713fd2e8b851cd4bf8c80fc46b4604c (diff) | |
download | hqemu-e7e7bf009d236ca48cf6dd361fdab4c72c62f40c.zip hqemu-e7e7bf009d236ca48cf6dd361fdab4c72c62f40c.tar.gz |
acpi: add aml_to_integer()
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>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/acpi/aml-build.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h index 81326bd..c3d3fd5 100644 --- a/include/hw/acpi/aml-build.h +++ b/include/hw/acpi/aml-build.h @@ -224,6 +224,7 @@ Aml *aml_name_decl(const char *name, Aml *val); Aml *aml_return(Aml *val); Aml *aml_int(const uint64_t val); Aml *aml_arg(int pos); +Aml *aml_to_integer(Aml *arg); Aml *aml_store(Aml *val, Aml *target); Aml *aml_and(Aml *arg1, Aml *arg2); Aml *aml_or(Aml *arg1, Aml *arg2); |