diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-10-10 06:25:04 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-15 21:03:03 +0000 |
commit | 890c6333b28a4dcbf2a26a5a17b0e71304d5a851 (patch) | |
tree | d9243ab3e1a3eab793184eb49134b9c1d9c6fa87 /cache-utils.h | |
parent | 9870a5e6cd3df584328728b3d822b23cee28c561 (diff) |
target-xtensa: fix guest hang on masked CCOMPARE interrupt
QEMU timer is used to post CCOMPARE interrupt when the core is halted.
If that CCOMPARE interrupt is masked off then the timer must be rearmed
in the callback, otherwise it will be rearmed next time the core goes to
halt by the waiti instruction.
Add test case into timer testsuite.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cache-utils.h')
0 files changed, 0 insertions, 0 deletions