[PATCH 1/3] Add missing r31 load instruction _ISR_Handler
Joel Sherrill
joel.sherrill at oarcorp.com
Tue Sep 2 14:30:29 UTC 2014
Committed. But no build.
--joel
On 8/31/2014 6:28 PM, Hesham ALMatary wrote:
> _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
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list