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

4. TrustZone for Armv8-M & TF-M

How the Armv8-M Security Extension splits one PE into Secure and Non-secure states using address attribution, and the hardware transitions, banked state and exception rules that build on that split. It finishes with the CMSE toolchain contract, stack sealing, and how TF-M maps onto what you know from OP-TEE and TF-A.

Sections

  1. The Security Extension model: state follows the address
  2. Attribution: SAU, IDAU and the TT instructions
  3. Crossing the boundary: SG, BXNS, BLXNS and FNC_RETURN
  4. Banked state and exceptions across Security states
  5. CMSE toolchain contract and stack sealing
  6. TF-M: the Secure side, compared with OP-TEE + TF-A