From: "Hervé Poussineau" <hpoussin@reactos.org>
To: Alexander Graf <agraf@suse.de>
Cc: "Andreas Färber" <andreas.faerber@web.de>,
"qemu-ppc@nongnu.org" <qemu-ppc@nongnu.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH for-2.0 2/2] ohw: let the right reset entry point 0xfff00100 jump to the currently wrong entry point (0xfffffffc)
Date: Wed, 02 Apr 2014 07:23:01 +0200 [thread overview]
Message-ID: <533B9EB5.9000301@reactos.org> (raw)
In-Reply-To: <30B7EDC0-5C48-49CA-A90F-198CABCC17FB@suse.de>
Le mer. 02 avril 2014 07:14:48 CEST, Alexander Graf a écrit :
>
>
>> Am 01.04.2014 um 23:18 schrieb Hervé Poussineau <hpoussin@reactos.org>:
>>
>> This is easier to do this than to copy the code from the wrong entry point to the right entry point.
>>
>> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
>> ---
>> src/vectors.S | 7 ++++++-
>> 1 file changed, 6 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/vectors.S b/src/vectors.S
>> index 691d568..05cd1d9 100644
>> --- a/src/vectors.S
>> +++ b/src/vectors.S
>> @@ -121,7 +121,12 @@ excp_##entry##: ; \
>>
>> /* Exception vectors */
>> /* Reset exception */
>> - EXCP_BUG(0100) ;
>> +.org 0x0100
>> +excp_0100:
>> + lis r3,0
>> + addi r3,r3,-4
>> + mtlr r3
>> + blr
>
> Doesn't ba -4 work?
>
Yes, "ba -4" also works, I just tested it.
Hervé
next prev parent reply other threads:[~2014-04-02 5:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 21:18 [Qemu-devel] [PATCH for-2.0 0/2] prep: Remove some clearly wrong assumptions Hervé Poussineau
2014-04-01 21:18 ` [Qemu-devel] [PATCH for-2.0 1/2] ohw: correctly program BAR addresses of PCI devices Hervé Poussineau
2014-04-01 21:18 ` [Qemu-devel] [PATCH for-2.0 2/2] ohw: let the right reset entry point 0xfff00100 jump to the currently wrong entry point (0xfffffffc) Hervé Poussineau
2014-04-02 5:14 ` [Qemu-devel] [Qemu-ppc] " Alexander Graf
2014-04-02 5:23 ` Hervé Poussineau [this message]
2014-04-02 5:36 ` Alexander Graf
2014-04-02 5:45 ` 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=533B9EB5.9000301@reactos.org \
--to=hpoussin@reactos.org \
--cc=agraf@suse.de \
--cc=andreas.faerber@web.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 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).