This is the mail archive of the ecos-discuss@sources.redhat.com 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: Multiple ISRs trigger single DSR?


Grant Edwards <grante@visi.com> writes:

> Is there any reason I can't have one DSR hooked to two
> different ISRs?

None at all, you just pass the same pointer in when you create the
interrupt object. It was always intended that this be possible, which is
why thing like the vector and data are passed to it. You could even
attach one ISR to more than one interrupt vector if you want.

-- 
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK


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


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