Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « User mode, kernel mode » ?

Aussi appelé : user mode · kernel mode

Definition 13.1 University Computer Science — Year 2 · Chapitre 13 — Processes and System Calls

A processor runs in user mode or in kernel mode. In user mode, the instructions that drive devices, change the memory map or stop the machine are refused, and only the memory the process was given is reachable. In kernel mode everything is allowed. The kernel of the operating system runs in kernel mode; every other program runs in user mode.

The path of a write. The program calls an ordinary library function, which executes the system-call instruction; the processor switches to kernel mode at a fixed entry point, where the kernel checks the descriptor and the buffer before doing the work. The result returns in a register, in user mode.
The path of a write. The program calls an ordinary library function, which executes the system-call instruction; the processor switches to kernel mode at a fixed entry point, where the kernel checks the descriptor and the buffer before doing the work. The result returns in a register, in user mode.
Lire dans le chapitre →