On Tue, Jun 24, 2008 at 02:52:16PM +0100, trollepi jj wrote:
> 
> Thanks for your quick reply.
> 
> I try to implement a simple mecanism of signal on arm7 (I've done it with the 
> synthetic target before -playing
> with EBP and ESP - and it works well). I agree that an interrupt is anonymous 
> but when a context switch happens
>  (clock interrupt). But where the informations of the current are stored in 
> order to it gets back and continues its execution?
> There is "obviously" a place in the thread stack or in an other structure to 
> retrieve this information.

Why are you assuming you are in thread context when the interrupt
happens? It could be in nested interrupt. It could be in a DSR....

Why not just use real signals as eCos implements?

  Andrew

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

Reply via email to