[U-Boot] Mips: start.S Questions

Peter Belm peterbelm at gmail.com
Fri Aug 21 14:53:47 CEST 2009


>
> This is not quite correct.  "romReserved" is only used for the, well,
> reserved entries.  There are other parameters passed, these two are
> pretty important for example:


The thing I don't get is if you expand the RVECENT macro into the code
wouldn't you get this:

_start:
    b reset; nop    /* U-boot entry point */
    b reset; nop    /* software reboot */

    b romReserved
    b romReserved

....

romReserved:
    b romReserved

So wouldn't it get stuck in an infinite loop straight away, calling
romReserved recursively? I'm obviously overlooking something I think.

And what's the point of passing the second parameter (0-127) to RVECENT when
it's not used?

-- 
Regards,
Peter Belm


More information about the U-Boot mailing list