summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-07-22 08:02:43 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2017-01-15 13:01:56 -0800
commitd2132510ca88340bed89db5655e65b7cd87d3d8b (patch)
tree374d8cab3c669ef02e54d2483e4f1f4923689950 /hw/net/virtio-net.c
parent59a71f75789fb15bac0a67a18325c4ac1acc981c (diff)
downloadfocaccia-qemu-d2132510ca88340bed89db5655e65b7cd87d3d8b.tar.gz
focaccia-qemu-d2132510ca88340bed89db5655e65b7cd87d3d8b.zip
target/xtensa: support icount
Delimit each instruction that may access timers or IRQ state with
qemu_io_start/qemu_io_end, so that qemu-system-xtensa could be run with
-icount option.

Raise EXCP_YIELD after CCOMPARE reprogramming to let tcg_cpu_exec
recalculate how long this CPU is allowed to run.

RSR now may need to terminate TB, but it can't be done in RSR handler
because the same handler is used for XSR together with WSR handler, which
may also need to terminate TB. Change RSR and WSR handlers return type
to bool indicating whether TB termination is needed (RSR) or has been
done (WSR), and add TB termination after RSR/WSR dispatcher call.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions