Installable ISR - general questions



Hi,

Before digging to deep in trying to implement and learn about IISR I would
like to get some advises/answers if possible:

- Is it possible to use e.g. math functions like e.g. sin() etc. in an ISR?
- Is it possible to use memcpy()?
- Is it possible to use the IoControl of the ISR to pass parameters/data
FROM the IST?
- Is it possible to use the IoControl of the ISR to pass parameters/data TO
the IST (lpOutBuf in KernelLibIoControl)?
- I understand that the KLibAllocShareMem can be used to allocate a common
buffer of ISR and IST but what is the parameter nPages defined - what if I
would like to allocate e.g. 3000 bytes -what should nPages then be set to?

Any comment and answers are highly appriciated.

Thanks
Ole


.



Relevant Pages

  • Re: Installable ISR - general questions
    ... Is it possible to use the IoControl of the ISR to pass ... parameters/data TO the IST? ... a common buffer of ISR and IST but what is the parameter nPages ... (l'indirizzo di reply di questo messaggio non è ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to use realloc and free in an ISR
    ... Thanks - will use the kLibAllocShareMem instead. ... ISR DLL's cannot call external DLLs so you can't allocate and free in ... your ISR. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to use realloc and free in an ISR
    ... ISR DLL's cannot call external DLLs so you can't allocate and free in ... your ISR. ... This will give you a buffer ...
    (microsoft.public.windowsce.platbuilder)
  • Re: regarding ISR
    ... precautions i need to take care ?? ... you shouldn't use dynamic memory at all. ... You certainly should not allocate any during an ISR. ...
    (comp.arch.embedded)

Loading