]> Git Repo - qemu.git/commit
hw/arm/acpi: simplify AML bit and/or statement
authorHeyi Guo <[email protected]>
Mon, 9 Dec 2019 06:37:18 +0000 (14:37 +0800)
committerPeter Maydell <[email protected]>
Mon, 16 Dec 2019 10:46:35 +0000 (10:46 +0000)
commitf3635813977cfde33f0bb76bb1a169410e6cdbac
tree88b8dd26f7c10fb3d061aba17a1af73767f6b9d7
parent48ba18e6d3f3908600ed4393a5eaf15bf31404fd
hw/arm/acpi: simplify AML bit and/or statement

The last argument of AML bit and/or statement is the target variable,
so we don't need to use a NULL target and then an additional store
operation; using just aml_and() or aml_or() statement is enough.

Also update tests/data/acpi/virt/DSDT* to pass "make check".

Cc: Shannon Zhao <[email protected]>
Cc: Peter Maydell <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Igor Mammedov <[email protected]>
Suggested-by: Igor Mammedov <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Signed-off-by: Heyi Guo <[email protected]>
Message-id: 20191209063719[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/virt-acpi-build.c
tests/data/acpi/virt/DSDT
tests/data/acpi/virt/DSDT.memhp
tests/data/acpi/virt/DSDT.numamem
This page took 0.027682 seconds and 4 git commands to generate.