From: Scott Wood <scottwood@freescale.com>
To: Alexander Graf <agraf@suse.de>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2] PPC: E500: Implement reboot controller
Date: Fri, 3 Jun 2011 18:42:52 -0500 [thread overview]
Message-ID: <20110603184252.51802c51@schlenkerla.am.freescale.net> (raw)
In-Reply-To: <1307039850-22337-1-git-send-email-agraf@suse.de>
On Thu, 2 Jun 2011 20:37:30 +0200
Alexander Graf <agraf@suse.de> wrote:
> + case MPC8544_GUTS_ADDR_PVR:
> + value = env->spr[SPR_PVR];
> + break;
> + case MPC8544_GUTS_ADDR_SVR:
> + value = env->spr[SPR_E500_SVR];
> + break;
Heh, I didn't even realize these were in there -- I was just thinking of
the guest using the SPR version of SVR to decide how to program devices
like guts or tsec, and the conflicting demands that might place on that
value if you have both directly-assigned devices and emulated devices that
target a specific chip.
I can see where that produced confusion. :-)
> + default:
> + fprintf(stderr, "Unknown register read: %x = %x\n", (int)addr, value);
> + break;
> + }
Should say something like "guts" or __func__ in there somewhere.
Especially if we're going to throw away the upper 4 bits of the address. :-)
-Scott
next prev parent reply other threads:[~2011-06-03 23:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 18:37 [Qemu-devel] [PATCH v2] PPC: E500: Implement reboot controller Alexander Graf
2011-06-03 23:42 ` Scott Wood [this message]
2011-06-03 23:52 ` Alexander Graf
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=20110603184252.51802c51@schlenkerla.am.freescale.net \
--to=scottwood@freescale.com \
--cc=agraf@suse.de \
--cc=qemu-devel@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).