qemu-e2k/target-openrisc
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.c cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
cpu.h target-openrisc: Update OpenRISCCPU to QOM realizefn 2013-02-16 14:50:56 +01:00
exception_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
exception.c
exception.h
fpu_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
helper.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
int_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
interrupt_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
interrupt.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
machine.c
Makefile.objs
mmu_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
mmu.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
sys_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
translate.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00