[U-Boot] [PATCH] nios2: fix out of reach case for do_reset
Mike Frysinger
vapier at gentoo.org
Fri Aug 13 04:52:28 CEST 2010
On Thu, Aug 12, 2010 at 10:40 PM, Thomas Chou wrote:
> The "Nios II Processor Reference Handbook" said,
> "call can transfer execution anywhere within the 256 MByte range
> determined by PC31..28. The Nios II GNU linker does not automatically
> handle cases in which the address is out of this range."
>
> So we have to use registered "callr" instruction to do the job.
doesnt NIOS have an insn to call indirectly via a register ?
typically that's how function pointers should be handled when gcc
generates code.
-mike
More information about the U-Boot
mailing list