qemu/hw/xtensa
Max Filippov c9e9521fcb target-xtensa: avoid duplicate timer interrupt delivery
Timer interrupt should be raised at the same cycle when CCOUNT equals
CCOMPARE. As cycles are counted in batches, timer interrupt is sent
every time CCOMPARE lies in the interval [old CCOUNT, new CCOUNT]. This
is wrong, because when new CCOUNT equals CCOMPARE interrupt is sent
twice, once for the upper interval boundary and once for the lower. Fix
that by excluding lower interval boundary from the condition.

This doesn't have user-visible effect, because CCOMPARE reload always
causes CCOUNT increment followed by current timer interrupt reset.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2014-11-03 00:51:44 +03:00
..
bootparam.h hw/xtensa/xtfpga: add memory info to bootparam 2014-06-29 02:32:42 +04:00
Makefile.objs hw/xtensa: remove extraneous xtensa_ prefix from file names 2014-06-29 02:32:41 +04:00
pic_cpu.c target-xtensa: avoid duplicate timer interrupt delivery 2014-11-03 00:51:44 +03:00
sim.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
xtfpga.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00