qemu/target-m68k
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-m68k: Introduce QOM realizefn for M68kCPU 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 target-m68k: Pass M68kCPU to m68k_set_irq_level() 2013-02-16 14:50:59 +01:00
helper.c target-m68k: Pass M68kCPU to m68k_set_irq_level() 2013-02-16 14:50:59 +01:00
helpers.h
m68k-qreg.h
m68k-semi.c
Makefile.objs
op_helper.c
qregs.def
translate.c target-m68k: Fix comment 2013-02-06 15:52:07 +01:00