Home |
RTTarget-32 Programming Manual Function RTInstallSharedIRQHandlerEx Function RTInstallSharedIRQHandler Function RTRemoveSharedIRQHandlerEx Function RTRemoveSharedIRQHandler Function RTSaveAndDisableInterrupts System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTRemoveSharedIRQHandlerExRTRemoveSharedIRQHandlerEx uninstalls a high level interrupt handler previously installed with RTInstallSharedIRQHandlerEx: typedef void (RTTAPI * RTIntHandlerEx)(void); void RTRemoveSharedIRQHandlerEx(int IRQ, RTIntHandlerEx HighLevelHandler, void * Parameter); ParametersIRQInterrupt Request which triggers the interrupt. Must be in the range 0 .. 31. HighLevelHandlerPointer to the handler to remove. HighLevelHandler should point to a function previously installed for the given IRQ using RTInstallSharedIRQHandler. 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 RTDisableIRQ 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
|