Method and apparatus for writing and reading entries in an event status queue of a host memory
Abstract
A computer system that has a bus is provided with a host memory coupled to the bus, this host memory having an event status queue in which events are stored. A peripheral controller is coupled to the bus and writes a termination marker in a first block in the memory and events occurring in the computer system in blocks in the event status queue in a first direction beginning with a block adjacent to the first block. A host processor is also coupled to the bus. The host processor reads the written events in a second direction opposite to the first direction beginning with a last block in which an event was written by the peripheral controller. The host processor terminates the reading of events when the first block in which the termination marker is reached. The use of a termination marker allows both the hardware of the peripheral controller and the software run by the host processor to operate in the event status queue at the same time, with no danger of running over each other.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of writing and reading entries of events occurring in a computer system in an event status queue divided into blocks, the method comprising the steps of: identifying a block of the event status queue as a termination block; writing a first set of event entries in a first direction in the event status queue in blocks starting from a block that is adjacent to the termination block; reading the first set of event entries in the blocks of the event status queue in a second direction opposite to the first direction beginning with a previous location at which a termination block was wri
- Claim 2Depends on #1
The method of claim 1, further comprising writing a second set of event entries in the event status queue in the first direction, wherein a last one of t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗