From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Cc: "Hervé Poussineau" <hpoussin@reactos.org>,
"Andreas Färber" <andreas.faerber@web.de>,
qemu-ppc@nongnu.org
Subject: [Qemu-devel] [PATCH for-2.0 2/2] ohw: let the right reset entry point 0xfff00100 jump to the currently wrong entry point (0xfffffffc)
Date: Tue, 1 Apr 2014 23:18:12 +0200 [thread overview]
Message-ID: <1396387092-5667-3-git-send-email-hpoussin@reactos.org> (raw)
In-Reply-To: <1396387092-5667-1-git-send-email-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
/* Machine check exception */
EXCP_BUG(0200) ;
--
1.7.10.4
next prev parent reply other threads:[~2014-04-01 21:19 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 ` Hervé Poussineau [this message]
2014-04-02 5:14 ` [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) Alexander Graf
2014-04-02 5:23 ` Hervé Poussineau
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=1396387092-5667-3-git-send-email-hpoussin@reactos.org \
--to=hpoussin@reactos.org \
--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).