qemu-e2k/target-alpha
Andreas Färber c05efcb18e cpu: Add CPUArchState pointer to CPUState
The target-specific ENV_GET_CPU() macros have allowed us to navigate
from CPUArchState to CPUState. The reverse direction was not supported.
Avoid introducing CPU_GET_ENV() macros by initializing an untyped
pointer that is initialized in derived instance_init functions.

The field may not be called "env" due to it being poisoned.

Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-02-16 14:51:00 +01:00
..
cpu-qom.h target-alpha: Update AlphaCPU to QOM realizefn 2013-02-16 14:50:56 +01:00
cpu.c cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
cpu.h
fpu_helper.c
helper.c
helper.h
int_helper.c
machine.c
Makefile.objs
mem_helper.c
STATUS
sys_helper.c
translate.c cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00