mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
acpi: extend aml_and() 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>
This commit is contained in:
parent
ca3df95df8
commit
5530427f0c
4 changed files with 9 additions and 7 deletions
|
@ -499,9 +499,9 @@ build_opcode_2arg_dst(uint8_t op, Aml *arg1, Aml *arg2, Aml *dst)
|
|||
}
|
||||
|
||||
/* ACPI 1.0b: 16.2.5.4 Type 2 Opcodes Encoding: DefAnd */
|
||||
Aml *aml_and(Aml *arg1, Aml *arg2)
|
||||
Aml *aml_and(Aml *arg1, Aml *arg2, Aml *dst)
|
||||
{
|
||||
return build_opcode_2arg_dst(0x7B /* AndOp */, arg1, arg2, NULL);
|
||||
return build_opcode_2arg_dst(0x7B /* AndOp */, arg1, arg2, dst);
|
||||
}
|
||||
|
||||
/* ACPI 1.0b: 16.2.5.4 Type 2 Opcodes Encoding: DefOr */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue