This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eCos Interrupt question


On Mon, Nov 28, 2005 at 10:08:32AM -0800, Ben Beasley wrote:
> Hi,
> I have an application where we would like to execute a couple of lines
> of code prior to the execution of any ISR/DSR.  Is there anywhere in the
> ecos build that this code could be placed, or do we need to institute a
> system requirement stipulating that every ISR include this code?

For ISR you will need to change either vectors.S, or the hal_IRQ_handler
function.

For DSR's you will want to modify call_pending_DSRs_inner().

        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]