Avoid cpu_physical_memory_rw() with a constant is_write argument
commitadeefe01671fb06a930beba624dc3db8367901a3
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 19 Feb 2020 19:34:58 +0000 (19 20:34 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 20 Feb 2020 13:47:08 +0000 (20 14:47 +0100)
treef44912b5d7fec71b783a96fbcd8f1b2c95efed11
parent85eb7c18ee39e26002de6fa6abc5638af140e588
Avoid cpu_physical_memory_rw() with a constant is_write argument

This commit was produced with the included Coccinelle script
scripts/coccinelle/exec_rw_const.

Inspired-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/xen/xen_pt_graphics.c
scripts/coccinelle/exec_rw_const.cocci
target/i386/hax-all.c