diff options
author | Igor Mammedov <imammedo@redhat.com> | 2015-12-10 00:41:16 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-12-22 18:39:21 +0200 |
commit | ca3df95df86de9e261135db26a434ebf829999c6 (patch) | |
tree | cecfb8d67896dce3f40337d6c702d6bb5ced446a /hw/acpi | |
parent | a23b887281a018495948b924182bd6767d013b47 (diff) | |
download | qemu-ca3df95df86de9e261135db26a434ebf829999c6.tar.gz qemu-ca3df95df86de9e261135db26a434ebf829999c6.tar.bz2 qemu-ca3df95df86de9e261135db26a434ebf829999c6.zip |
acpi: extend aml_or() to accept target argument
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 'hw/acpi')
-rw-r--r-- | hw/acpi/aml-build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index 0ab808717f..1f5ed5bca9 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -505,9 +505,9 @@ Aml *aml_and(Aml *arg1, Aml *arg2) } /* ACPI 1.0b: 16.2.5.4 Type 2 Opcodes Encoding: DefOr */ -Aml *aml_or(Aml *arg1, Aml *arg2) +Aml *aml_or(Aml *arg1, Aml *arg2, Aml *dst) { - return build_opcode_2arg_dst(0x7D /* OrOp */, arg1, arg2, NULL); + return build_opcode_2arg_dst(0x7D /* OrOp */, arg1, arg2, dst); } /* ACPI 1.0b: 16.2.5.4 Type 2 Opcodes Encoding: DefLOr */ |