registers

Dimensions

rs/reference/registers
Typed Registers (MMIO without Unsafe) Problem Every Rust OS kernel uses `unsafe` for hardware register access. A typical kernel has hundreds to thousands of `unsafe { write_volatile(...) }` blocks scattered across driver code. Each one is a potential source of memory corruption if the address,…
rs/reference/errors/registers
Register Errors (RS001–RS008) [Back to Error Catalog](/rs-reference-errors) | Spec: [registers.md](/rs-reference-registers) Enforcement: proc-macro (`#[register]` attribute). RS001: Read from write-only register Write-only registers (access = "wo") have no `read()` method. Attempting to read a…

Pages in this namespace

Local Graph