[rtems commit] Add missing r31 load instruction _ISR_Handler

Joel Sherrill joel at rtems.org
Tue Sep 2 14:21:21 UTC 2014


Module:    rtems
Branch:    master
Commit:    23e8f3dd031f31a0f929ce14091f08e008abb66e
Changeset: http://git.rtems.org/rtems/commit/?id=23e8f3dd031f31a0f929ce14091f08e008abb66e

Author:    Hesham ALMatary <heshamelmatary at gmail.com>
Date:      Sun Aug 31 18:28:49 2014 -0500

Add missing r31 load instruction _ISR_Handler

_ISR_Handler: r31 was not loaded in restore function. This patch
adds this load.

---

 cpukit/score/cpu/or1k/or1k-exception-handler-low.S |    1 +
 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 964a054..7108ff6 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
 



More information about the vc mailing list