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] |
On Wed, 30 Jun 2010, Nicolas FLAVEN wrote:
Hello,
I would like to know how i can setup x serial channel that share the same interrupt vector.
My probleme is that my serial channel have to share the same interrupt vector and I want that the ISR find which channel is interrupting but if I use SERIAL_CHANNEL_USING_INTERRUPTS with the corresponding DEVTAB_ENTRY this will overwrite the adresse of the ISR attache to the vector and the data.
Should I care about it ? Is the " chain all interrupts together" options the solution to allows for multiple ISR/DSR pairs to be registered for the same interrupt vector.
Hi Nicolas,
Look at a comment in hal_arbiter.h (hal/common/*/include/hal_arbiter.h). I hope you will get the idea.
Sergei
-- 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] |