summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2014-08-31 18:28:49 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-02 09:28:14 -0500
commit23e8f3dd031f31a0f929ce14091f08e008abb66e (patch)
treee8e456b4cac1eaf63ab22e5aca7fe2f325abe035
parentsapi: Add profiling report begin/end message (diff)
downloadrtems-23e8f3dd031f31a0f929ce14091f08e008abb66e.tar.bz2
Add missing r31 load instruction _ISR_Handler
_ISR_Handler: r31 was not loaded in restore function. This patch adds this load.
-rw-r--r--cpukit/score/cpu/or1k/or1k-exception-handler-low.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
index 964a05477d..7108ff65b5 100644
--- a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
+++ b/cpukit/score/cpu/or1k/or1k-exception-handler-low.S
@@ -207,6 +207,7 @@ 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