PRIMASK and FAULTMASK
Two single-bit Cortex-M registers that switch off nearly every interrupt at once — the blunt instrument next to BASEPRI's scalpel.
PRIMASK is set with CPSID i (or CMSIS's __disable_irq()) and blocks every exception with configurable priority. Only NMI and HardFault get through. It's the standard way to build a critical section on a Cortex-M0, which has no BASEPRI at all.
FAULTMASK (CPSID f) goes one step further and masks HardFault too, leaving only NMI. It clears itself on exception return and is used almost exclusively by fault handlers that want to do something drastic undisturbed. The classic PRIMASK bug is re-enabling interrupts unconditionally instead of restoring the previous value, so a nested critical section quietly wrecks the outer one.