Patent ID: 7350066
Filing Date: 2008-03-25
Classification: G06F

Abstract:
1. A computer peripheral operating event responding method for use on a computer platform having a software layer and a firmware layer for providing the computer platform with a peripheral operating events responding function, the computer peripheral operating event responding method comprising: on the firmware layer, monitoring whether a peripheral operating event occurs on the computer platform, and if YES, capable of issuing a corresponding event message; on the firmware layer, responding to each event message by generating a corresponding event code; on the firmware layer, storing each event code from an event code generating module in a firmware-layer queuing buffer; on the firmware layer, providing a queue status indicating module for indicating whether the firmware-layer queuing buffer is currently in empty state or in occupied state, wherein the empty state means no event code is currently stored in the firmware-layer queuing buffer while the occupied state means at least one event code is currently stored in the firmware-layer queuing buffer; on the software layer, issuing a queue status check enabling message periodically at preset intervals; on the software layer, responding to each queue status check enabling message by checking whether the queue status indicating module in the firmware layer currently indicates an occupied state; and if YES, capable of issuing a queue transfer enabling message; on the software layer, responding to each queue transfer enabling message by transferring every event code in the firmware-layer queuing buffer in the firmware-layer unit to a software-layer queuing buffer; and on the software layer, processing each event code in the software-layer queuing buffer to thereby execute a corresponding event handling program.