summaryrefslogtreecommitdiffstats
path: root/include/qemu-common.h
diff options
context:
space:
mode:
authorJames Hogan2017-08-02 11:59:17 +0200
committerYongbok Kim2017-08-02 23:18:13 +0200
commitd673a68db6963e86536b125af464bb6ed03eba33 (patch)
tree1dbfcc5d36030e5b7219ff85e12a8320862486a9 /include/qemu-common.h
parenttarget/mips: Drop redundant gen_io_start/stop() (diff)
downloadqemu-d673a68db6963e86536b125af464bb6ed03eba33.tar.gz
qemu-d673a68db6963e86536b125af464bb6ed03eba33.tar.xz
qemu-d673a68db6963e86536b125af464bb6ed03eba33.zip
target/mips: Fix RDHWR CC with icount
RDHWR CC reads the CPU timer like MFC0 CP0_Count, so with icount enabled it must set can_do_io while it calls the helper to avoid the "Bad icount read" error. It should also break out of the translation loop to ensure that timer interrupts are immediately handled. Fixes: 2e70f6efa8b9 ("Add instruction counter.") Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: Yongbok Kim <yongbok.kim@imgtec.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Diffstat (limited to 'include/qemu-common.h')
0 files changed, 0 insertions, 0 deletions