summaryrefslogtreecommitdiffstats
path: root/target-sparc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-01-20 15:19:32 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-01-20 15:19:32 +0000
commit24e60305c5839eccf4b915411215b412fb34c52b (patch)
tree8c2b185de115f4238952912bab714e88246d711e /target-sparc
parent0c021c1fd2c4ec3c68c59232ccee012c067bc682 (diff)
downloadhqemu-24e60305c5839eccf4b915411215b412fb34c52b.zip
hqemu-24e60305c5839eccf4b915411215b412fb34c52b.tar.gz
monitor.c: Use ld*_p() instead of ld*_raw()
The monitor code for doing a memory_dump() was using ld*_raw() to do target-CPU accesses out of a local buf[] array. The correct functions for this purpose are ld*_p(), which take a host pointer, rather than ld*_raw(), which take an integer representing a guest address and are somewhat meaningless in softmmu configurations. Nobody noticed because for softmmu the _raw functions are the same as ldl_p but with some extra casts thrown in. Switch to using the correct functions instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 1421334118-3287-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud