This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: get interrupt stack
- From: Gary Thomas <gary at mlbassoc dot com>
- To: trollepi jj <jackoaway at hotmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 24 Jun 2008 07:11:51 -0600
- Subject: Re: [ECOS] get interrupt stack
- References: <BAY121-W43E180E1CB7A1558A7036ADA10@phx.gbl>
trollepi jj wrote:
Hi everybody,
I try to modify the return address of a thread after an interrupt was done.
Is it possible to get the interrupt stack when the application has a common stack interrupt?
Why are you trying to do this? Since an interrupt can happen any time,
in any context, messing with the saved information [frame] makes no sense.
If not, is it possible when each thread own its own interrupt stack?
Interrupts are anonymous and not associated with threads. Also,
this would be incredibly space-wasteful.
What are you trying to accomplish? Whatever it is, eCos probably
already provides the appropriate mechanism, you just might not be
aware of it.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss