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
- The default memory map and v8-M memory types
- PMSAv8 regions: MPU_RBAR, MPU_RLAR, MPU_MAIRn
- MPU control, overlap faults and the banked Secure/Non-secure MPUs
- DMB, DSB, ISB: semantics and where they are needed
- Exclusives: LDREX/STREX, CLREX and the monitors
- L1 caches, cache maintenance and DMA coherency