Let cpu_[physical]_memory() calls pass a boolean 'is_write' argument
commit85eb7c18ee39e26002de6fa6abc5638af140e588
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 19 Feb 2020 19:20:42 +0000 (19 20:20 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 20 Feb 2020 13:47:08 +0000 (20 14:47 +0100)
tree70ed975b4a8b8a1bc36a2d5bcc0bf888227a2bc3
parent28c80bfe8b9c2343d5b6a488cf013352d8ea59d1
Let cpu_[physical]_memory() calls pass a boolean 'is_write' argument

Use an explicit boolean type.

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
17 files changed:
hw/display/exynos4210_fimd.c
hw/display/milkymist-tmu2.c
hw/display/omap_dss.c
hw/display/ramfb.c
hw/misc/pc-testdev.c
hw/nvram/spapr_nvram.c
hw/ppc/ppc440_uc.c
hw/ppc/spapr_hcall.c
hw/s390x/ipl.c
hw/s390x/s390-pci-bus.c
hw/s390x/virtio-ccw.c
hw/xen/xen_pt_graphics.c
include/exec/cpu-common.h
scripts/coccinelle/exec_rw_const.cocci
target/i386/hax-all.c
target/s390x/excp_helper.c
target/s390x/helper.c