Ch2 OS Structure
-
Upload
phichya-laemluang -
Category
Documents
-
view
223 -
download
0
Transcript of Ch2 OS Structure
-
8/14/2019 Ch2 OS Structure
1/24
Computer-System Structure 1
2
Computer-System
Structure
-
8/14/2019 Ch2 OS Structure
2/24
Structure
Computer-System Structure 2
Computer System Operation (
) I/O Structure ( I/O) Storage Structure () Storage Hierarchy ( ) Hardware Protection () General System Architecture ()
-
8/14/2019 Ch2 OS Structure
3/24
Computer-System Structure 3
Computer-SystemArchitecture
-
8/14/2019 Ch2 OS Structure
4/24
Computer-System Structure 4
Computer-System Operation -
local buffers local buffers
-
8/14/2019 Ch2 OS Structure
5/24
Computer-System Structure 5
Common Functions ofInterrupts Interrupt -
Disable
-
8/14/2019 Ch2 OS Structure
6/24
Computer-System Structure 6
Interrupt
program counter
Polling - vectoredinterrupt system -
-
8/14/2019 Ch2 OS Structure
7/24
Computer-System Structure 7
I/O Structure - wait
-1
-
System call
-
8/14/2019 Ch2 OS Structure
8/24
Computer-System Structure 8
Two I/O MethodsSynchronous Asynchronous
-
8/14/2019 Ch2 OS Structure
9/24
Computer-System Structure 9
Device-Status Table
-
8/14/2019 Ch2 OS Structure
10/24
Computer-System Structure 10
rect emory ccessStructure -
-
8/14/2019 Ch2 OS Structure
11/24
Computer-System Structure 11
Storage Structure
Main memory
Secondary storage
Magnetic disks
-
8/14/2019 Ch2 OS Structure
12/24
Computer-System Structure 12
ov ng- ea sMechanism
-
8/14/2019 Ch2 OS Structure
13/24
Computer-System Structure 13
Storage Hierarchy
Speed () Cost () Volatility ()
Caching
-
8/14/2019 Ch2 OS Structure
14/24
Computer-System Structure 14
Storage-Device Hierarchy
-
8/14/2019 Ch2 OS Structure
15/24
Computer-System Structure 15
Migration of A From Disk toRegister
-
8/14/2019 Ch2 OS Structure
16/24
Computer-System Structure 16
Hardware Protection Dual-Mode Operation () I/O Protection (-) Memory Protection ( ) CPU Protection ()
-
8/14/2019 Ch2 OS Structure
17/24
Computer-System Structure 17
Dual-Mode Operation
-
8/14/2019 Ch2 OS Structure
18/24
Computer-System Structure 18
Dual-Mode Operation ()Mode bit 1
0 1
monitor user
Interrupt/fault
set user mode
-
8/14/2019 Ch2 OS Structure
19/24
Computer-System Structure 19
I/O Protection -
monitor mode
-
8/14/2019 Ch2 OS Structure
20/24
Computer-System Structure 20
Use of A System Call to PerformI/O
-
8/14/2019 Ch2 OS Structure
21/24
Computer-System Structure 21
Memory Protection
interrupt vector interrupt service routine
2
Limit register
-
8/14/2019 Ch2 OS Structure
22/24
Computer-System Structure 22
Register
d dd
-
8/14/2019 Ch2 OS Structure
23/24
Computer-System Structure 23
Hardware AddressProtection
-
8/14/2019 Ch2 OS Structure
24/24
Computer-System Structure 24
Network Structure Local Area Networks (LAN) Wide Area Networks (WAN)