Kernel API

Kernel Interface

Kernel API calls are made using the SVC [1] instruction. When the Cortex-M CPU executes the SVC instruction, it takes the SVC interrupt and enters Kernel Mode. Kernel code runs inside the SVC interrupt handler, and thus cannot be interrupted by other interrupts (except by hardware or memory faults).