Re: Installable ISR - general questions
- From: "Ole" <ole@xxxxxxxxxx>
- Date: Thu, 28 Sep 2006 15:37:38 +0200
No, you may change the BSP ISR routine to convert irq 11 to your
specific sysintr code. Some BSP have a more flexible mechanism that
allows you to request a sysintr for a specific IRQ via
KernelIoControl calls. If your BSP implements this mechanism I think
that using it is a good idea.
The installable ISR could be useful if your IST can't process the
IRQ fast enough. Using an installable ISR you can put some of the
processing inside the ISR routine (ex: adding an extra level of
buffering) and reducing the number of times that the IST is invoked.
Once again you don't need an installable ISR to do that. You can
modify your BSPs OEMInterruptHandler but if your BSP provides
support for loadable handlers, using them is a good way to have a
driver with few BSP dependencies that could be easily ported to
other architectures or integrated into other BSPs.
Ehh - OK - the interrupt structure and implementation in CE is hard for me
to understand - so please be patiented with me.
Cuurently I have implemented an IST in a dll that handles the interrupt from
IRQ 11, but the IST is called on every interrupt. The load on the system is
quite high and I would like to implement my code in an ISR directly, only
calling the IST when the buffer is ready to be emptied. Therefore I thought
that an installable ISR could be a solution, but I do not know anything
about it yet. From what you wrote I assume that there is a better and a more
direct/efficient way to do it - right? by reading about the
OEMInterruptHandler I understand that it is only used in systems with one
ISR like in ARMs (mine is a X86) so the other option you mention (loadable
handler - couldn't find any information on it) seems to be the one I should
use - right? please clarify to me how that method works and if possible
where to find further information.
Thank you for all your help - it is very usefull to me!
Best regard
Ole
.
- Follow-Ups:
- Re: Installable ISR - general questions
- From: Valter Minute
- Re: Installable ISR - general questions
- References:
- Installable ISR - general questions
- From: Ole
- Re: Installable ISR - general questions
- From: Valter Minute
- Re: Installable ISR - general questions
- From: Ole
- Re: Installable ISR - general questions
- From: Valter Minute
- Installable ISR - general questions
- Prev by Date: installing platform builder
- Next by Date: Re: SDIO Wireless Disable
- Previous by thread: Re: Installable ISR - general questions
- Next by thread: Re: Installable ISR - general questions
- Index(es):
Relevant Pages
|