[PATCH 1/3] Add missing r31 load instruction _ISR_Handler
Hesham ALMatary
heshamelmatary at gmail.com
Sun Aug 31 23:28:49 UTC 2014
_ISR_Handler: r31 was not loaded in restore function. This patch
adds this load.
---
cpukit/score/cpu/or1k/or1k-exception-handler-low.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
index 964a054..e7ef9eb 100644
--- a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
+++ b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
@@ -207,7 +207,8 @@ jump_to_c_handler:
l.lwz r28, 112(r1)
l.lwz r29, 116(r1)
l.lwz r30, 120(r1)
-
+ l.lwz r31, 124(r1)
+
l.addi r1, r1, 140
l.addi r1, r1, 4
--
1.9.3
More information about the devel
mailing list