Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

3. Memory model, MPU & barriers

Covers the Armv8-M default memory map and memory types, the PMSAv8 MPU (RBAR/RLAR/MAIR, overlap faults, PRIVDEFENA/HFNMIENA, banked Secure/Non-secure MPUs), DMB/DSB/ISB semantics and where they are needed, LDREX/STREX monitor behaviour across exceptions, and L1 cache maintenance for DMA coherency.

Sections

  1. The default memory map and v8-M memory types
  2. PMSAv8 regions: MPU_RBAR, MPU_RLAR, MPU_MAIRn
  3. MPU control, overlap faults and the banked Secure/Non-secure MPUs
  4. DMB, DSB, ISB: semantics and where they are needed
  5. Exclusives: LDREX/STREX, CLREX and the monitors
  6. L1 caches, cache maintenance and DMA coherency