summaryrefslogtreecommitdiffstats
path: root/tests/tcg
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-04-10 02:48:18 +0400
committerBlue Swirl <blauwirbel@gmail.com>2012-04-14 15:25:38 +0000
commit3d0be8a5c135dadcfbd68ed354007a8cece98849 (patch)
treef8d2524bd5d5fa16623ce5aed68783542904c810 /tests/tcg
parent1e7855a558085d6acd0aba4e3278b594d05df1ec (diff)
downloadhqemu-3d0be8a5c135dadcfbd68ed354007a8cece98849.zip
hqemu-3d0be8a5c135dadcfbd68ed354007a8cece98849.tar.gz
target-xtensa: fix tb invalidation for IBREAK and LOOP
Instruction breakpoint/zero overhead loop handling code is built into TBs pointed to by IBREAKA/LEND SRs. When these or related SRs get changed TBs at virtual addresses corresponding to their old and their new values must be invalidated. Virtual address range is passed to the tb_invalidate_phys_page_range, which is incorrect in system emulation mode. To fix it use guest TLB/MMU to translate virtual address to physical address. However the guest may not have virtual-to-physical mapping at the moment of IBREAKA/LEND change, thus this fix is not 100% accurate. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests/tcg')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud