[ECOS] Trap used for Leon2?

Jiri Gaisler jiri@gaisler.com
Thu Jun 7 13:31:00 GMT 2007

Avoid traps 0x80 - 0x83 since they are used for breakpoints
and system calls in the SPARC ABI.


Michele Portolan wrote:
> Hello everyone,
> I would need to use some trap instructions to stop execution following
> certain conditions. From the SPARC models it would seen that traps from
> 0X80 eu 0xFF are free to use. My question is : are some of those traps
> alreday used by eCos? I would like to keep my code eCos-compatible!
> Thanks anyone,
> Michele

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list