Professional Documents
Culture Documents
2/19/2014
Computer System
Fundamental features of computer systems that are
important to an OS
1)
The Central Processing Unit (CPU)
2)
Memory hierarchy
3)
I/O organization
4)
Interrupt structure
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
1)
1)
Control registers
Contain information that controls or influences operation of the CPU
Set of control registers is called the program status word (PSW)
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
1)
2)
User mode
2/19/2014
of the CPU
2/19/2014
2)Memory hierarchy
MMU
O.S.@ K.I.T.
2/19/2014
MMU
O.S.@ K.I.T.
2/19/2014
MMU
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
3)Input/Output Subsystem
Programmed I/O
Interrupt I/O
Direct memory access (DMA)
O.S.@ K.I.T.
2/19/2014
4)Interrupts
2/19/2014
Classes of Interrupts
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
2)Interrupt Processing
2/19/2014
1.
2.
O.S.@ K.I.T.
2/19/2014
3)System Calls
Programs
interrupts
The method to cause a software interrupt is known as a system
call
2/19/2014
1)
2)
2/19/2014
1)Nature of computation in an OS
O.S.@ K.I.T.
2/19/2014
User
of use
a resource
convenience
Measurable
Turnaround time
Response time
measured as throughput
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
2/19/2014
O.S.@ K.I.T.
Multiprogramming Systems
O.S.@ K.I.T.
2/19/2014
O.S.@ KIT
2/19/2014
O.S.@ K.I.T.
2/19/2014
Priority of Programs
O.S.@ KIT
2/19/2014
O.S.@ K.I.T.
2/19/2014
Time-Sharing Systems
Kernel
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
Swapping of Programs
2/19/2014
O.S.@ K.I.T.
2/19/2014
E.g.,
multimedia applications
O.S.@ K.I.T.
2/19/2014
O.S.@ K.I.T.
2/19/2014
Summary
Batch
processing systems
Multiprogramming operating system
Priority-based scheduling
Time-sharing
operating systems
O.S.@ K.I.T.
2/19/2014
Summary (continued)
Evolution (continued)
Real-time
operating systems
Distributed
operating system
O.S.@ K.I.T.
2/19/2014