qemu-e2k/target-alpha
Andreas Färber c92458538f target-alpha: Avoid leaking the alarm timer over reset
Move the timer from CPUAlphaState to AlphaCPU to avoid the pointer being
zero'ed once we implement reset. Would cause a segfault in
sys_helper.c:helper_set_alarm().

This also simplifies timer initialization in Typhoon.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Richard Henderson <rth@twiddle.net>
2012-12-19 01:01:36 +01:00
..
cpu-qom.h target-alpha: Avoid leaking the alarm timer over reset 2012-12-19 01:01:36 +01:00
cpu.c cpus: Pass CPUState to [qemu_]cpu_has_work() 2012-10-31 04:11:37 +01:00
cpu.h target-alpha: Avoid leaking the alarm timer over reset 2012-12-19 01:01:36 +01:00
fpu_helper.c
helper.c exec: refactor cpu_restore_state 2012-12-16 08:35:24 +00:00
helper.h target-alpha: Use TCG_CALL_NO_WG 2012-10-31 22:20:44 +01:00
int_helper.c
machine.c
Makefile.objs
mem_helper.c exec: refactor cpu_restore_state 2012-12-16 08:35:24 +00:00
STATUS
sys_helper.c target-alpha: Avoid leaking the alarm timer over reset 2012-12-19 01:01:36 +01:00
translate.c target-alpha: Let cpu_alpha_init() return AlphaCPU 2012-12-19 01:01:36 +01:00