This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Trap used for Leon2?
- From: Jiri Gaisler <jiri at gaisler dot com>
- To: Michele Portolan <michele dot portolan at imag dot fr>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 07 Jun 2007 11:20:08 +0200
- Subject: Re: [ECOS] Trap used for Leon2?
- References: <4667C65F.40501@imag.fr>
Avoid traps 0x80 - 0x83 since they are used for breakpoints
and system calls in the SPARC ABI.
Jiri.
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