diff options
| author | Igor Mammedov | 2015-12-10 00:41:03 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-12-22 17:39:21 +0100 |
| commit | 7059eb4262d8a5575e5a81cdfac101d84a482c28 (patch) | |
| tree | 3de9efee7e701ab134154be79e2101c729f9d02c /include | |
| parent | acpi: extend aml_add() to accept target argument (diff) | |
| download | qemu-7059eb4262d8a5575e5a81cdfac101d84a482c28.tar.gz qemu-7059eb4262d8a5575e5a81cdfac101d84a482c28.tar.xz qemu-7059eb4262d8a5575e5a81cdfac101d84a482c28.zip | |
acpi: add aml_decrement() and aml_subtract()
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')
| -rw-r--r-- | include/hw/acpi/aml-build.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h index 0769b35d91..40a95d8f06 100644 --- a/include/hw/acpi/aml-build.h +++ b/include/hw/acpi/aml-build.h @@ -231,7 +231,9 @@ Aml *aml_shiftleft(Aml *arg1, Aml *count); Aml *aml_shiftright(Aml *arg1, Aml *count); Aml *aml_lless(Aml *arg1, Aml *arg2); Aml *aml_add(Aml *arg1, Aml *arg2, Aml *dst); +Aml *aml_subtract(Aml *arg1, Aml *arg2, Aml *dst); Aml *aml_increment(Aml *arg); +Aml *aml_decrement(Aml *arg); Aml *aml_index(Aml *arg1, Aml *idx); Aml *aml_notify(Aml *arg1, Aml *arg2); Aml *aml_call1(const char *method, Aml *arg1); |
