qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: "Andreas Färber" <afaerber@suse.de>
Cc: "Peter Maydell (maintainer:ARM)" <peter.maydell@linaro.org>,
	qemu-devel@nongnu.org,
	"Alexander Graf (maintainer:PowerPC)" <agraf@suse.de>,
	"Blue Swirl (maintainer:SPARC)" <blauwirbel@gmail.com>,
	"Max Filippov (maintainer:Xtensa)" <jcmvbkbc@gmail.com>,
	"Michael Walle (maintainer:LM32)" <michael@walle.cc>,
	PowerPC <qemu-ppc@nongnu.org>,
	"Paul Brook (maintainer:ARM)" <paul@codesourcery.com>,
	"\"Edgar E. Iglesias\" (maintainer:CRIS)"
	<edgar.iglesias@gmail.com>,
	"Guan Xuetao (maintainer:UniCore32)" <gxt@mprc.pku.edu.cn>,
	"Aurelien Jarno (odd fixer:MIPS)" <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH qom-cpu-next 6/6] cpu: Add CPUArchState pointer to CPUState
Date: Fri, 01 Feb 2013 08:09:19 -0800	[thread overview]
Message-ID: <510BE8AF.3010204@twiddle.net> (raw)
In-Reply-To: <1359722312-2391-7-git-send-email-afaerber@suse.de>

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<afaerber@suse.de>

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


r~

      reply	other threads:[~2013-02-01 16:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 12:38 [Qemu-devel] [PATCH qom-cpu-next 0/6] QOM CPUState, part 8: CPU_COMMON continued Andreas Färber
2013-02-01 12:38 ` [Qemu-devel] [PATCH qom-cpu-next 1/6] cpu: Move host_tid field to CPUState Andreas Färber
2013-02-01 12:38 ` [Qemu-devel] [PATCH qom-cpu-next 2/6] cpu: Move running " Andreas Färber
2013-02-01 12:38 ` [Qemu-devel] [PATCH qom-cpu-next 3/6] cpu: Move exit_request " Andreas Färber
2013-02-01 12:38 ` [Qemu-devel] [PATCH qom-cpu-next 4/6] cpu: Move current_tb " Andreas Färber
2013-02-01 12:38 ` [Qemu-devel] [PATCH qom-cpu-next 5/6] cputlb: Pass CPUState to cpu_unlink_tb() Andreas Färber
2013-02-01 12:38 ` [Qemu-devel] [PATCH qom-cpu-next 6/6] cpu: Add CPUArchState pointer to CPUState Andreas Färber
2013-02-01 16:09   ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=510BE8AF.3010204@twiddle.net \
    --to=rth@twiddle.net \
    --cc=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=blauwirbel@gmail.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=gxt@mprc.pku.edu.cn \
    --cc=jcmvbkbc@gmail.com \
    --cc=michael@walle.cc \
    --cc=paul@codesourcery.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).