]> git.proxmox.com Git - mirror_qemu.git/commit
softmmu: add helper function to pass through retaddr
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Fri, 10 Jul 2015 09:56:50 +0000 (12:56 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 11 Sep 2015 15:15:32 +0000 (08:15 -0700)
commit282dffc8a4bfe8724548cabb8a26698bde0a6e18
tree498d82bfad3d2193b71fe197daf1950debfddea0
parent97ed5ccdee95f0b98bedc601ff979e368583472c
softmmu: add helper function to pass through retaddr

This patch introduces several helpers to pass return address
which points to the TB. Correct return address allows correct
restoring of the guest PC and icount. These functions should be used when
helpers embedded into TB invoke memory operations.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20150710095650.13280.32255.stgit@PASHA-ISP>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/exec/cpu_ldst_template.h
include/exec/cpu_ldst_useronly_template.h
softmmu_template.h
tcg/tcg.h