qemu/include/qom
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.h cpu: Add CPUArchState pointer to CPUState 2013-02-16 14:51:00 +01:00
object.h qom: remove object_delete 2013-02-01 15:53:11 -06:00
qom-qobject.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00