Boot loader: Program in ROM (example of firmware)
Run by the CPU when power is turned on
Transfers operating system from mass storage to main memory
Executes jump to operating system
Boot Sequence
|
|
Process (Application) Management
Process: The activity of executing a program
Process State: Current status of the activity
Scheduler: Adds new processes to the process table and removes completed processes from the process table
Dispatcher: Controls the allocation of time slices to the processes in the process table
The end of a time slice is signaled by an interrupt.
Efficient Allocation Of Resources
The operating system ensures that
Multiple tasks of the computer can be underway at one time
Processor is constantly busy
Keeps a queue of programs that are ready to run
Whenever processor is idle, picks a job from the queue and assigns it to the processor
Semaphore: A “control flag”
Critical Region: A group of instructions that should be executed by only one process at a time
Mutual exclusion: Requirement for proper implementation of a critical region
The Safe Use Of Resources
Deadlock
The operating system must handle deadlocks
Deadlock prevention
Deadlock recovery
DeadLock
|
|
System Security And Protection
The operating system must prevent
Non-authorized people from using the computer
Legitimate users from accessing data or programs they are not authorized to access
Share with your friends: |