lkml.org 
[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ORLinux] [PATCH] OpenRISC: Handle r0 with care
On Mon, Mar 05, 2012 at 10:07:07PM +0100, Richard Weinberger wrote:
> @@ -185,8 +186,8 @@ handler: ;\
> /* ---[ 0x100: RESET exception ]----------------------------------------- */
>
> EXCEPTION_ENTRY(_tng_kernel_start)
> + l.andi r0,r0,0
> l.jal _start
> - l.andi r0,r0,0
>
> /* ---[ 0x200: BUS exception ]------------------------------------------- */
>

The OpenRISC architecture features delay slots, so you probably don't want
to do that.

Stefan


\
 
 \ /
  Last update: 2012-03-06 06:55    [W:1.529 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site