summaryrefslogtreecommitdiffstats
path: root/qstring.h
diff options
context:
space:
mode:
authorMitsyanko Igor <i.mitsyanko@samsung.com>2012-03-14 15:37:53 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-03-16 18:09:55 +0000
commita10394e1daff859517566b9882d4bdec0f6969ca (patch)
treef5c0a7e5bb70ec6f551988fdba720d305eec4f60 /qstring.h
parent0e4a398ab2c5e9b540a80859ec28163b65e7a891 (diff)
downloadhqemu-a10394e1daff859517566b9882d4bdec0f6969ca.zip
hqemu-a10394e1daff859517566b9882d4bdec0f6969ca.tar.gz
hw/pxa2xx_dma.c: drop target_phys_addr_t usage in device state
Pxa2xx DMA controller is a 32-bit device and it has no knowledge of system's physical address size, so it should not use target_phys_addr_t in it's state. Convert variables descr, src and dest from type target_phys_addr_t to uint32_t, use VMSTATE_UINT32 instead of VMSTATE_UINTTL for these variables. We can do this safely because: 1) pxa2xx actually has 32-bit physical address size; 2) rest of the code in file never assumes descr, src and dest variables to have size different from uint32_t; 3) we shouldn't have used VMSTATE_UINTTL in the first place because this macro is for target_ulong type (which can be different from target_phys_addr_t). Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qstring.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud