Replace cpu_physical_memory_rw were possible
commit54f7b4a396d00522d99c685562a54725a1b52e40
authorStefan Weil <weil@mail.berlios.de>
Sun, 10 Apr 2011 16:23:39 +0000 (10 18:23 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 12 Apr 2011 19:51:50 +0000 (12 21:51 +0200)
treef9662709607c805dcf2df9d8a5b6852888063db8
parentb8b79323d0f26959237fdb80053cd48a750e3482
Replace cpu_physical_memory_rw were possible

Using cpu_physical_memory_read, cpu_physical_memory_write and ldub_phys
improves readability and allows removing some type casts.

lduw_phys and ldl_phys were not used because both require aligned
addresses. Therefore it is not possible to simply replace existing
calls by one of these functions.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
disas.c
exec.c
hw/rc4030.c
hw/s390-virtio-bus.c
hw/s390-virtio.c
hw/sm501_template.h
hw/usb-ohci.c
monitor.c