This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos Interrupt question
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Ben Beasley <bbeasley at marvell dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 28 Nov 2005 19:43:09 +0100
- Subject: Re: [ECOS] eCos Interrupt question
- References: <9C9B2DC3D78A6142AC8D10C89669528601002090@msiexch01.marvell.com>
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