qemu/target-sparc
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
..
cc_helper.c target-sparc: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
cpu-qom.h target-sparc: Introduce QOM realizefn for SPARCCPU 2013-02-16 14:50:57 +01:00
cpu.c cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
cpu.h fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
fop_helper.c target-sparc: fix fcmp{s,d,q} instructions wrt exception 2012-09-08 09:03:45 +00:00
helper.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
helper.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
int32_helper.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
int64_helper.c target-sparc: Don't compute full flags value so often 2012-10-13 10:17:28 +00:00
ldst_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
machine.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
Makefile.objs Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
mmu_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
TODO fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
translate.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
vis_helper.c target-sparc: Fix mixup of uint64 and uint64_t 2012-01-22 09:55:35 +00:00
win_helper.c target-sparc: Don't overuse CPUState 2012-03-14 22:20:25 +01:00