summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPeter Maydell2017-03-30 12:52:31 +0200
committerPeter Maydell2017-04-03 13:59:37 +0200
commit5c32be5baf41aec4f4675d2bf24f9948756abf3c (patch)
treea3fbd1e3cf50b3cebe8e7b128f8aa601761520ba /scripts/switch-timer-api
parenttcg/sparc: Zero extend data argument to store helpers (diff)
downloadqemu-5c32be5baf41aec4f4675d2bf24f9948756abf3c.tar.gz
qemu-5c32be5baf41aec4f4675d2bf24f9948756abf3c.tar.xz
qemu-5c32be5baf41aec4f4675d2bf24f9948756abf3c.zip
tcg/sparc: Zero extend address argument to ld/st helpers
The C store helper functions take the address argument as a target_ulong type; if this is 32 bit but the host is 64 bit then the SPARC calling convention requires that the caller must zero extend the value. We weren't doing this, which meant we could pass values to the caller with high bits set and QEMU would crash if it was compiled with optimizations. In particular, the i386 BIOS would not start. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1490871151-29029-3-git-send-email-peter.maydell@linaro.org Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions