qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for-2.0 2/2] ohw: let the right reset entry point 0x


From: Hervé Poussineau
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

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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]