Claims
- 1. A device driver comprising:a substrate on which a computer program is recorded, said computer program including a first code module that builds a stack of N descriptors, wherein N≧1 and each descriptor describes a data buffer; a second code module that writes N in a register wherein N is used to track descriptors location in the stack; a third code module that increments a pointer from a first position to a tail position in said stack; and a fourth code module that monitors a selected position of a status queue to detect a predetermined condition.
- 2. The device driver of claim 1 further including a fifth code module that processes data in said data buffer if the predetermined condition includes a non-zero integer.
- 3. The device driver of claim 2 wherein the fifth code module returns the data buffers, from which data as been processed, to a free buffer pool.
- 4. The device driver of claim 2 further including a sixth code module that resets the non-zero integer to zero after the data in said data buffer has been processed.
- 5. The device driver of claim 4 further including a seventh code module that increments a pointer associated with the status queue from a last process position to a current position whereat processing is to begin.
CROSS REFERENCES TO RELATED PATENT APPLICATION
This patent application is a Divisional of patent application Ser. No. 08/847,034, filed May 1, 1997, U.S. Pat. No. 6,049,842.
US Referenced Citations (5)
| Number |
Name |
Date |
Kind |
|
5488724 |
Firoozmand |
Jan 1996 |
A |
|
5511166 |
Travaglio et al. |
Apr 1996 |
A |
|
5781749 |
Quere |
Jul 1998 |
A |
|
5828901 |
O'Toole et al. |
Oct 1998 |
A |
|
5870627 |
O'Toole et al. |
Sep 1999 |
A |