mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
acpi: extend aml_add() to accept target argument
it allows to express following ASL expression: Add(arg1, arg2, result) usecases that do not need to store result should pass NULL as 3rd arg that would express Add(arg1, arg2,) construct. 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>
This commit is contained in:
parent
439e2a6e10
commit
20ca520884
3 changed files with 4 additions and 4 deletions
|
@ -230,7 +230,7 @@ Aml *aml_or(Aml *arg1, Aml *arg2);
|
|||
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 *aml_add(Aml *arg1, Aml *arg2, Aml *dst);
|
||||
Aml *aml_increment(Aml *arg);
|
||||
Aml *aml_index(Aml *arg1, Aml *idx);
|
||||
Aml *aml_notify(Aml *arg1, Aml *arg2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue