IT lexicon › Hardware › SVC (Supervisor Call)

SVC (Supervisor Call)

Hardware På svenska → Updated: 2026-11-03

The ARM instruction that deliberately raises an exception, so unprivileged code can ask the kernel for a service.

It was called SWI (software interrupt) until ARM's unified assembler syntax renamed it SVC. The instruction carries a small immediate number in its own encoding. On Cortex-M the processor jumps to the SVCall exception, and the handler digs the stacked program counter out of the exception frame and reads the number back out of the instruction to work out which service was requested.

An RTOS uses SVC for two things. It often launches the very first task, and it lets tasks running unprivileged behind an MPU call into the kernel without touching kernel memory directly. SVC runs synchronously, right then; its sibling PendSV waits until no other exception is active and handles the actual context switch.

← Back to the lexicon