Introduction Flashcards
Operating System
Intermediary between user and computer
Goal of OS
Make hardware easy & efficient to use
2 OS Features
Resource allocate, control program
Resource allocator
decides between conflicting requests for efficient and fair resource use
control program
controls execution of programs to prevent errors and improper use of computer
Kernel
running the whole time
Bootstrap program
Loaded at power up (Firmware) handles kernel startup
I/O and CPU
Concurrently execute
How do device controllers end opperation
Cause an interrupt
Trap
software generated interrupt caused by error or user request
Interrupt vector
Contains addresses of all service routines
How does OS determine interrupt type?
Polling or vectored interrupt system
System Call
Request to the operating system to allow user to wait for I/O completion
Device status table
contains entry for each I/O device indicating its type, address, and state
◦ OS indexes into the I/O device table to determine device status and to modify the table entry to include
interrupt
Job Scheduling
When OS has to wait (ex: for I/O), switches to another job