What are the processor execution modes in operating systems and list the difference between them
Question:
List the processor (CPU) execution modes that are necessary for an OS that protects memory and hardware. What is the difference between them?
Answer:
At least two
processor (CPU) execution modes are necessary for an operating system that
protects memory and hardware.
- User/program mode and
- Kernel/supervisor/protected/privileged/system mode
Kernel mode
provides access to all processor instructions. User mode cannot perform
privileged instructions. If a privileged instruction is executed in user mode
it causes an exception.
***********************
Related Questions:
No comments:
Post a Comment