Explain how protection is provided for the hardware resources by the operating system.
Dual mode operation
- Sharing system resources needs operating system to make sure that an incorrect program cannot cause other programs to implement incorrectly.
- Give hardware support to differentiate among at least two modes of operations.
1. User mode - Implementation done on behalf of a user.
2. Monitor mode (also kernel mode or system mode) - Implementation done on behalf of operating system.