On 02/01/2013 04:38 AM, Andreas Färber wrote:
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.

Signed-off-by: Andreas Färber<afaer...@suse.de>

Acked-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to