kernel mode

The privileged processor mode the kernel runs in, where code can touch hardware and all memory directly.

In more detail

Ordinary programs run in a restricted user mode and cannot reach devices or other programs' memory on their own. When a program needs privileged work it makes a system call, the processor switches into kernel mode, the kernel does the work, and control returns to the program. This hardware-enforced boundary is what makes the kernel the mediator for every process.

Related terms

Taught in

References