[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTEMS stack + TSIM-LEON2 weird behaviour



2008/5/6 Aitor Viana <aitor.viana.sanchez at esa.int>:
> Find in bold where the %sp is modified. There is not single instruction to
> set up the %sp register.

The RTEMS/sparc startup code assumes %sp to point slightly(*) before
the end of RAM. This is usually performed by
- the boot loader (if any) created for instance by mkprom or
- tsim/grmon.

Kind regards
Ingolf

(*) IIRC, end_of_RAM - 16 bytes