Operating Systems (cont)
Critical to OS development: execution modes
CPUs can typically run in two modes:
- privileged mode
- full access to all machine operations and memory regions
- non-privileged (user) mode
- a limited set of operations
- access to only part of the memory
System calls allow programs ...
- to cross the privileged/user boundary
- in a controlled manner, via well-defined requests
|