P3L5 - I/O Management Flashcards
T/F: The execution of applications doesn’t rely ONLY On CPU and Memory
True! It relies on other hardware components as well
List some examples of I/O devices
Keyboards Microphones Displays Speakers Mice NIC Cards (Network Interface)
T/F: The device space is extremely diverse?
True
List the types of registers traditionally found within a device
- Command Registers
- Data Registers
- Status Registers
What is the purpose of command registers within a device?
CPU uses these to control the device
What is the purpose of the data registers in a device?
These are used by the CPU to transfer data in and out of the device
What is the purpose of the status registers in a device?
These are used by the CPU to understand what is happening on the device
_____ is basically the device’s CPU
microcontroller
How do devices interface with the rest of a system?
Via a controller that is typically integrated as part of the device packaging that is used to connect the device with the rest of the CPU complex via some CPU/device interconnect
What does PCI stand for
Peripheral Component Interconnect
What is the purpose of PCI?
To connect all controllers of devices to the rest of the system
T/F: The PCI bus is the only possible interconnect that can be present in a system
False!
Operating systems support devices via ___ ___
device drivers
Device drivers are ___ ___ software components
device specific
Who is responsible for making drivers available for all the operating systems where a device will be used?
The device manufacturer!
List the high level groups of devices
- Block Devices
- Character Devices
- Network Devices
What types of devices are encompassed within block devices?
Disks – which operate at the granularity of blocks of data that are delivered to and from the device via the CPU
What types of devices are encompassed in character devices?
Keyboards – devices which work with a serial sequence of characters and support a get/put character interface
What types of devices are encompassed in network devices?
Devices which work with more of a stream of data chunks as opposed to blocks over network
On Unix-like systems, where do all devices appear as files?
/dev directory
Device registers appear to the CPU as ____ ____
Memory Locations