Dear Friends,
I am having a small problem in handling the interrupts. Please help me to
implement it correctly.
Environment:
~~~~~~~~~~~
RT Linux Version 3.0 With Kernel 2.2 (Direct install from FSM Labs CD)
The Setup:
~~~~~~~~~~
I am having an ISR which has to service more than one number of interrupt.
Meaning let us say (IRQ 10 & IRQ 11), the same ISR is used to connect to
both interrupts. I am able to receive interrupts properly and use it.
The Problem:
~~~~~~~~~~~~~
My problem is, I am having board specific details (structure) for each IRQ,
so whenever an interrupt comes I am checking the interrupt number and
verifying with my structures to identify which modules has raised the
interrupt( Because this ISR may cater for more number of hardware modules
later).
My requirement:
~~~~~~~~~~~~~~~
Instead of me, finding the structure details, I want the ISR to have an
additional parameter like normal (Linux) ISR, (i.e.) a device specific
parameter, where I will load my structure pointer and use it.
myisr(interrupt_no, regs) ----------> RT-Linux
myisr(interrupt_no, *userdefined, regs) --------------> Linux
Please help me ....
With Regards and advance thanks
Vijay Ananth K
BEGIN:VCARD
VERSION:2.1
N:;Vijay;Ananth;Mr
FN:Vijay Ananth
NICKNAME:VAK
ORG:Indus Teqsite Pvt. Ltd.;Software Development Group
TITLE:Manager
TEL;WORK;VOICE:91-44-4800908
TEL;WORK;FAX:91-44-4848703
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;#7, Arya Gowder Road,=0D=0AWest Mambalam;Chennai;Tamil Nadu;600033;India
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:#7, Arya Gowder Road,=0D=0AWest Mambalam=0D=0AChennai, Tamil Nadu 600033=0D=
=0AIndia
URL;WORK:http://www.industeqsite.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010531T062151Z
END:VCARD