diff mbox

[v2,2/2] ohw: let the right reset entry point 0xfff00100 jump to the currently wrong entry point (0xfffffffc)

Message ID 1398287975-14684-3-git-send-email-hpoussin@reactos.org
State New
Headers show

Commit Message

Hervé Poussineau April 23, 2014, 9:19 p.m. UTC
This is easier to do this than to copy the code from the wrong entry point to the right entry point.

Suggested-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
---
 src/vectors.S |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Alexander Graf May 2, 2014, 10:06 a.m. UTC | #1
On 04/23/2014 11:19 PM, Hervé Poussineau wrote:
> This is easier to do this than to copy the code from the wrong entry point to the right entry point.
>
> Suggested-by: Alexander Graf <agraf@suse.de>
> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>

Acked-by: Alexander Graf <agraf@suse.de>


Alex
diff mbox

Patch

diff --git a/src/vectors.S b/src/vectors.S
index 691d568..1c1bfee 100644
--- a/src/vectors.S
+++ b/src/vectors.S
@@ -121,7 +121,9 @@  excp_##entry##:                                           ; \
 
         /* Exception vectors */
         /* Reset exception */
-        EXCP_BUG(0100)                                    ;
+.org 0x0100
+excp_0100:
+        ba 0xfffffffc
 
         /* Machine check exception */
         EXCP_BUG(0200)                                    ;