qemu-e2k/target/alpha
Claudio Fontana 740b175973 cpu-timers, icount: new modules
refactoring of cpus.c continues with cpu timer state extraction.

cpu-timers: responsible for the softmmu cpu timers state,
            including cpu clocks and ticks.

icount: counts the TCG instructions executed. As such it is specific to
the TCG accelerator. Therefore, it is built only under CONFIG_TCG.

One complication is due to qtest, which uses an icount field to warp time
as part of qtest (qtest_clock_warp).

In order to solve this problem, provide a separate counter for qtest.

This requires fixing assumptions scattered in the code that
qtest_enabled() implies icount_enabled(), checking each specific case.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[remove redundant initialization with qemu_spice_init]
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[fix lingering calls to icount_get]
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-10-05 16:41:22 +02:00
..
cpu-param.h accel/tcg: Relax va restrictions on 64-bit guests 2020-05-15 15:25:16 +01:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
cpu.h gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
fpu_helper.c target/alpha: Tidy helper_fp_exc_raise_s 2019-09-26 19:00:53 +01:00
gdbstub.c gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
helper.c target/alpha: Mask IOV exception with INV for user-only 2019-09-26 19:00:53 +01:00
helper.h
int_helper.c
machine.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
mem_helper.c
meson.build meson: target 2020-08-21 06:30:35 -04:00
STATUS
sys_helper.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
translate.c cpu-timers, icount: new modules 2020-10-05 16:41:22 +02:00
vax_helper.c