Module 1.3
Module 1.3
Technology
OPERATING SYSTEMS
Text Book
Reference Book
• Operating system: William Stalling , Pearson Education
Course Learning Objectives:
Topics Covered
• Computer System Operation
• I/O Structure
• Storage Structure
• Storage Hierarchy
• Hardware Protection
• General System Architecture
Computer-System Architecture
Computer-System Operation
• Dual-Mode Operation
• I/O Protection
• Memory Protection
• CPU Protection
Dual-Mode Operation
• Sharing system resources requires
operating system to ensure that an
incorrect program cannot cause other
programs to execute incorrectly.
• Provide hardware support to differentiate
between at least two modes of
operations.
1. User mode – execution done on behalf of
a user.
2. Monitor mode (also kernel mode or system
mode) – execution done on behalf of
operating system.
Dual-Mode Operation (Cont.)
Mode bit added to computer hardware to indicate
the current mode: monitor (0) or user (1).
When an interrupt or fault occurs hardware switches
to monitor mode.
Interrupt/fault
monitor user
set user mode