public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Trap used for Leon2?
@ 2007-06-07 13:25 Michele Portolan
  2007-06-07 13:31 ` Jiri Gaisler
  0 siblings, 1 reply; 2+ messages in thread
From: Michele Portolan @ 2007-06-07 13:25 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Trap used for Leon2?
  2007-06-07 13:25 [ECOS] Trap used for Leon2? Michele Portolan
@ 2007-06-07 13:31 ` Jiri Gaisler
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Gaisler @ 2007-06-07 13:31 UTC (permalink / raw)
  To: Michele Portolan; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-07  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-07 13:25 [ECOS] Trap used for Leon2? Michele Portolan
2007-06-07 13:31 ` Jiri Gaisler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).