_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 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel