Home
last modified time | relevance | path

Searched hist:c05efcb18ee30cdf2b00b3512aa0f5233b52911f (Results 1 – 1 of 1) sorted by relevance

/qemu/include/hw/core/
H A Dcpu.hc05efcb18ee30cdf2b00b3512aa0f5233b52911f Thu Jan 17 11:13:41 UTC 2013 Andreas Färber <afaerber@suse.de> 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>