From: Fabien Chouteau <chouteau@adacore.com>
To: Alexander Graf <agraf@suse.de>
Cc: "qemu-ppc@nongnu.org" <qemu-ppc@nongnu.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] PPC: Which instruction to fetch at Power-On?
Date: Thu, 28 Mar 2013 16:10:01 +0100 [thread overview]
Message-ID: <51545D49.2010900@adacore.com> (raw)
In-Reply-To: <10917A2E-638D-4DA3-A1F7-4C89F03B65D3@suse.de>
On 03/28/2013 12:46 PM, Alexander Graf wrote:
>
> On 28.03.2013, at 12:42, Fabien Chouteau wrote:
>
>>
>> While working on a patch to remove env->hreset_excp_prefix, I'm looking
>> at which instruction should be the fetched first at power-on. I'm lost
>> in all the PPC version and configuration, can anyone (Alex :) can help
>> me with this mess?
>
> Phew - I'd say just keep the targets you don't know exactly as they are :). That way you at least don't break anything that wasn't broken before.
>
> For the targets where you do know better (like 7x0), change its behavior to be correct according to the respective spec.
>
Here's what I found in the UM of almost all the cores supported by QEMU:
Every CPU should start at the hreset address (i.e. excp_prefix + 0x100).
However, some cores don't have a hreset exception (4xx and Book E (e200,
e500)), those cores start at 0xFFFF_FFFC.
--
Fabien Chouteau
next prev parent reply other threads:[~2013-03-28 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 11:42 [Qemu-devel] PPC: Which instruction to fetch at Power-On? Fabien Chouteau
2013-03-28 11:46 ` Alexander Graf
2013-03-28 15:10 ` Fabien Chouteau [this message]
2013-03-28 16:04 ` Alexander Graf
2013-03-29 9:59 ` Fabien Chouteau
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=51545D49.2010900@adacore.com \
--to=chouteau@adacore.com \
--cc=agraf@suse.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.