摘要 |
An interrupt hooking method for a computing apparatus, which includes a processing device and an interrupt controller, includes the steps of: enabling the processing device to convert a hardware interrupt request (IRQ) number of a system control interrupt (SCI) into a predefined interrupt vector according to an operating mode of the interrupt controller; and enabling the processing device to modify a pointer in an interrupt descriptor table that corresponds to the predefined interrupt vector for directing to a corresponding interrupt handler of the application program. A computing apparatus, which includes the processing device that performs the interrupt hooking method, is also disclosed.
|