Re: Installable ISR - general questions



"Ole" <ole@xxxxxxxxxx> wrote in
news:ObppXav4GHA.1460@xxxxxxxxxxxxxxxxxxxx:

On MSDN it says: "If the IsrHandler and IsrDll values are provided
in the device's registry key, then the driver should load the ISR
DLL through the LoadIntChainHandler call."
-Are there any other ways to load the installable ISR handler?

I don't undestand your question.
If you mean other ways than calling LoadIntChainHandler, I think
that the answer is not (or not in a simple and clean way).
If you mean if your driver has to handle those registry keys, you
can decide. If it's something you'll use only inside your products,
you may choose other ways to handle it. If it will be distributed to
other third parties developers choosing the "standard" approach will
made simpler for them to learn how to use your driver, IMHO.

if so - then: if my ISR is the only one that uses e.g. irq 11 -
will I then have to use the chainhandler?

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.

--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)
.



Relevant Pages

  • Re: Installable ISR - general questions
    ... Some BSP have a more flexible mechanism that ... If your BSP implements this mechanism I think ... The installable ISR could be useful if your IST can't process the ... IRQ fast enough. ...
    (microsoft.public.windowsce.platbuilder)
  • Installable ISR in ARM?
    ... My BSP is SMDK2410,ARM920T,PB4.2 ... Is it possible or not to realise "Installable ISR" in this BSP?But I readed ... help and finded ARM interrupt handler use ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Using the interval timers of the PXA255 to produce high speed interrupts
    ... What platform, What BSP? ... should be able to load an installable ISR to do what you want otherwise ... smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: PCI interrupt sharing
    ... Currently, the driver uses ... > requests a SYSINTR_ value as the OEM index plus the IRQ number. ... the device has to have installable ISR to locate ...
    (microsoft.public.windowsce.platbuilder)
  • Re: LoadIntChainHandler
    ... How about the second parameter of the LoadIntChainHandler function, lpszFunctionName, do you pass the identical ISR handler name that exported from your Installable ISR DLL? ...
    (microsoft.public.windowsce.platbuilder)

Loading