Chapter 10

OS Support Features


This chapter covers the features on the ARM® Cortex®-M3 and Cortex-M4 processors which are designed to make Operating Systems more efficient. This include the banked stack pointer, SVC and PendSV exceptions, exclusive accesses. Simple context switching operations are also demonstrated.


OS; Stack Pointer; MSP; PSP; SVC; PendSV; Context switching; exclusive access; task; unprivileged

Chapter Outline

10.1 Overview of OS support features

The Cortex®-M processors are designed with OS support in mind. Currently there are over ...

Get The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.