|
The Pedigree Project 0.1
|
#include <Ps2CaptureState.h>
Collaboration diagram for Ps2CaptureQueue:Public Member Functions | |
| bool | tryPush (const Ps2CapturedByte &record) |
| bool | hasCapacity () const |
| bool | pop (Ps2CapturedByte &record) |
| size_t | pending () const |
| void | reset () |
Static Public Attributes | |
| static constexpr size_t | Capacity = 256 |
Private Attributes | |
| Ps2CapturedByte | m_Records [Capacity] |
| size_t | m_WriteSequence |
| size_t | m_ReadSequence |
Fixed single-consumer queue for bytes captured by the bounded PS/2 hard stage. Producers are serialised by Ps2IoAdmissionGate before entering here.
Definition at line 56 of file Ps2CaptureState.h.
|
inline |
Definition at line 60 of file Ps2CaptureState.h.
|
inline |
Safe preflight while the caller still owns the single-producer gate.
Definition at line 75 of file Ps2CaptureState.h.
|
inline |
Definition at line 93 of file Ps2CaptureState.h.
|
inline |
Definition at line 81 of file Ps2CaptureState.h.
|
inline |
Only reset while IRQ admission and the consumer are stopped.
Definition at line 100 of file Ps2CaptureState.h.
|
inline |
Definition at line 62 of file Ps2CaptureState.h.
|
staticconstexpr |
Definition at line 58 of file Ps2CaptureState.h.
|
private |
Definition at line 108 of file Ps2CaptureState.h.
|
private |
Definition at line 106 of file Ps2CaptureState.h.
|
private |
Definition at line 107 of file Ps2CaptureState.h.