Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions services/ocp-recovery/api/src/regs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,25 @@
//! whose values the spec lists holds its enum, so the field holds only the
//! listed values.
//!
//! The spec marks the activation field of `RECOVERY_CTRL` and the reset
//! control field of `DEVICE_RESET` "Write 1, Device Clears". The Recovery
//! Agent writes the command value and the device zeroes the field once it
//! has acted, so each of these registers has an `apply_agent_write` that
//! takes the write and a `clear_*` the device calls afterwards.
//! The spec marks the activation field of `RECOVERY_CTRL`, the reset control
//! field of `DEVICE_RESET` and the reset field of `INDIRECT_FIFO_CTRL`
//! "Write 1, Device Clears". The Recovery Agent writes the command value and
//! the device zeroes the field once it has acted, so each of these registers
//! has an `apply_agent_write` that takes the write and a `clear_*` the device
//! calls afterwards.

mod device_reset;
mod device_status;
mod fifo;
mod hw_status;
mod prot_cap;
mod recovery_ctrl;
mod recovery_status;

pub use device_reset::*;
pub use device_status::*;
pub use fifo::*;
pub use hw_status::*;
pub use prot_cap::*;
pub use recovery_ctrl::*;
pub use recovery_status::*;
Expand Down
Loading