Patent ID: 6766519
Filing Date: 2004-07-20
Classification: G06F

Abstract:
A generic interface layer which executes in a hardware environment, the hardware environment including a plurality of devices and producing a plurality of interrupts and the generic interface layer being used by an executing program to control and respond to the hardware environment, the generic interface layer comprising:executable code including software interrupt-driven driver code for the devices and interrupt handler code for the interrupts, the interrupt handler code executing in response to the interrupts to perform callbacks to callback code in the program; and a generic interface of software interrupts that the program uses to execute the driver code and wherein the interrupts include a system clock interrupt; the interrupt handler code includes system clock interrupt handler code that is executed in response to the system clock interrupt; and code executing in the generic interface layer may register itself or other code with the system clock interrupt handler, the registered code being executed when the system clock interrupt handler code is executed.