Home |
RTKernel-32 Programming Manual Function RTInstallSharedIRQHandlerEx Function RTInstallSharedIRQHandler Function RTRemoveSharedIRQHandlerEx Function RTRemoveSharedIRQHandler Function RTKRestoreIRQHandlerFar |
Function RTRemoveSharedIRQHandlerExRTRemoveSharedIRQHandlerEx uninstalls a high level interrupt handler previously installed with RTInstallSharedIRQHandlerEx: typedef int (__cdecl * RTKIRQHandlerEx)(void * Parameter); void RTRemoveSharedIRQHandlerEx(int IRQ, RTKIRQHandlerEx HighLevelHandler, void * Parameter); ParametersIRQInterrupt Request which triggers the interrupt. Must be in the range 0 .. 31. HighLevelHandlerPointer to handler to remove. HighLevelHandler should point to a function previously installed for the given IRQ using RTInstallSharedIRQHandlerEx. ParameterThe same value used to install the handler with RTInstallSharedIRQHandlerEx. Before a handler is removed with RTRemoveSharedIRQHandlerEx, the application must program the interrupt generating device not to send any further interrupts to the CPU. Failing to due so will lock-up the computer due to an endless interrupt recursion. If the specified HighLevelHandler and Parameter is not currently installed on the given IRQ, the function call is ignored. Note that RTRemoveSharedIRQHandlerEx does not call RTKDisableIRQ internally as other handlers may still need to get called. Likewise, it does not remove the low-level handler previously installed by RTInstallSharedIRQHandlerEx. Function RTInstallSharedIRQHandler Function RTRemoveSharedIRQHandler
|