350 likes | 503 Vues
This chapter delves into the fundamental types of operating systems: single-user, multiuser, and real-time systems. It provides insights on memory mapping in the Pep/7 system, the role of interrupts, and various service routines connected to specific instructions. The section also discusses semaphore operations and mutual exclusion mechanisms, including Peterson’s algorithm. With diagrams illustrating state transitions and resource allocation graphs, this content serves as a comprehensive guide for understanding the intricacies of operating systems and concurrent processes.
E N D
Three types of operating systems • Single-user • Multiuser • Real-time
The Pep/7 Loader • SP := Mem[7FFA] • PC := Mem[7FFC]
The Pep/7 Loader (Cont’d) • Please click on the following link Programs\c08l02.gif to view the appropriate program.
The interrupt service routine for the DECI instruction • Please click on the following link Programs\c08l04.gif to view the appropriate program.
The interrupt service routine for the DECO instruction • Please click on the following link Programs\c08l05.gif to view the appropriate program.
The interrupt service routine for the HEXO instruction • Please click on the following link Programs\c08l06.gif to view the appropriate program.
The addressing mode decoder for storing an operand to memory • Please click on the following link Programs\c08l07.gif to view the appropriate program.
The addressing mode decoder for loading from memory • Please click on the following link Programs\c08l08.gif to view the appropriate program.
Two common asynchronous interupts • Time outs • I/O completions
The state transition diagram for a job in an operating system
The increase in performance by adding processors in a multiprocessing system
The three operations on a semaphore • Init (s) • Wait (s) • Signal (s)
The state transition diagram for a job in an operating system that provides a semaphore
A resource allocation graph with a cycle but with no deadlock
A resource allocation graph with no cycle and, therefore, no deadlock