Memory Mapped Registers (MMREG)

A comprehensive resource for understanding and working with memory mapped registers in embedded systems and hardware design.

Why devmem2 is a Loaded Gun: Solving RCU Stalls with mmreg
Why devmem2 is a Loaded Gun: Solving RCU Stalls with mmreg
Programming 6 min read

Direct memory access with devmem2 can trigger unrecoverable hardware deadlocks on modern SoCs when accessing … Continue reading

Beyond the Blueprint: Why mmreg Needs a Hardware Pre-Flight
Beyond the Blueprint: Why mmreg Needs a Hardware Pre-Flight
Programming 5 min read

While mmreg prevents most system hangs by validating against the kernel's resource map, zombie hardware states—where the … Continue reading

Building Safe and Concurrent Memory-Mapped Register Access in Rust: The mmreg Journey
Building Safe and Concurrent Memory-Mapped Register Access in Rust: The mmreg Journey
Programming 8 min read

Memory-mapped I/O on embedded Linux traditionally requires unsafe pointer arithmetic, manual mmap calculations, and … Continue reading