Messages in this thread | | | Date | Tue, 6 Mar 2012 07:52:11 +0200 | From | Stefan Kristiansson <> | Subject | Re: [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
| |