Running RTEMS on a LEON2 from ROM

Sebastian Huber sebastian.huber at
Tue Jul 25 10:40:21 UTC 2017

On 25/07/17 12:13, Jiri Gaisler wrote:

> I haven't looked at this for a while, but I remember that the trap table
> usually sits in the beginning of the .text segment. RTEMS overwrites the
> trap entries at boot so if the trap table is in PROM, you will get a
> memory exception trap

Alternatively, we can also statically initialize the trap table. I don't 
know why we have these copy and paste bsp_spurious_initialize() variants.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list