qemu/target-cris
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-cris: Introduce CRISCPU subclasses 2013-02-16 14:50:59 +01:00
cpu.c cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
cpu.h target-cris: Move TCG initialization to CRISCPU initfn 2013-02-16 14:50:58 +01:00
crisv10-decode.h
crisv32-decode.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
helper.c target-cris: Fix typo in D_LOG() macro 2013-01-24 11:28:15 +01:00
helper.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
machine.c
Makefile.objs target-cris: Switch to AREG0 free mode 2012-09-15 17:44:33 +00:00
mmu.c target-cris: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
mmu.h target-cris: Don't overuse CPUState 2012-03-14 22:20:25 +01:00
op_helper.c target-cris: Build fix for debug output 2013-02-04 16:12:57 +01:00
opcode-cris.h
translate_v10.c target-cris: Move TCG initialization to CRISCPU initfn 2013-02-16 14:50:58 +01:00
translate.c target-cris: Introduce CRISCPU subclasses 2013-02-16 14:50:59 +01:00