Home |
RTTarget-32 Programming Manual Function RTSetIntVector Function RTInstallSharedIRQHandlerEx Function RTInstallSharedIRQHandler Function RTRemoveSharedIRQHandlerEx Function RTRemoveSharedIRQHandler Function RTSaveAndDisableInterrupts System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTSetIntVectorRTSetIntVector installs an application interrupt handler in the Interrupt Descriptor Table: typedef void (RTTAPI * RTIntHandler)(void); void RTSetIntVector(BYTE Vector, RTIntHandler Handler); ParametersVectorThe interrupt to be processed by Handler. HandlerPointer to a routine that will be invoked when the specified interrupt occurs. Please note that hardware interrupts are mapped to interrupt vectors 40h to 5Fh under RTTarget-32. The address of the specified handler is directly placed in the IDT. The handler must be terminated with an IRETD instruction and must save/restore all registers it uses. See The i386 Microprocessor, Descriptors and Descriptor Tables for an overview of all interrupt vectors. No IRQs are enabled at the interrupt controller by this function. For application level hardware interrupt handling, function RTInstallSharedIRQHandlerEx is recommended instead of this function.
|