Introduction Flashcards
OS Software that talks with controller and gives commands
Device driver
Three types of communication used
Device Driver
Manufacturer supplies one for each controller
Device driver
Driver issues command to controller and polls device till ready.
I/O Polling
Generate hardware interrupt when I/O finished
I/O by Interrupts
Special controller which avoids using CPU for transferring to/from memory
I/O by DMA
Program in execution with unique address space
Process
Text, data, and stack
Process
Organized as tree structure, path proceeds from root
File directory
I/O devices that OS treats as file
Special files
Pseudofile to connect two processes reading/writing
Pipe
Small number of processes, mechanism in kernel and policy outside kernel
Microkernel
Schedules processes by priority scheduling algorithm
Mechanism
Assign process priorities in user space
Policy