P3L5 I/O Management Flashcards
When comparing I/O to a toy shop shipping dept., what is the example for “Have protocols”?
interfaces for device I/O
When comparing I/O to a toy shop shipping dept., what is the example for “Have dedicated handlers”?
device drivers, interrupt handlers
When comparing I/O to a toy shop shipping dept., what is the example for “Decouple I/O details for core processing”?
abstract I/O device detail from applications
What are some examples of I/O devices?
Keyboard, microphone, speakers, display, mice, network interface cards…
I/O Devices Quiz:
For each device, indicate whether it’s typically used for input (I), output (O) or both (B).
- keyboard
- speaker
- display
- hard disk drive
- microphone
- network interface cards (NIC)
- flash card
I - keyboard O - speaker O - display B - hard disk drive I - microphone B - network interface cards (NIC) B - flash card
Name basic I/O Device features
- Control registers
- Micro controller
- On device memory
- Other logic
What is the purpose of control registers in I/O?
control registers can be accessed by the CPU and permit the CPU/device interactions
How are control registers divided? Explain each part.
- command registers, CPU uses to control what exactly the device will be doing
- data transfer registers, control the data that transfers in and out of the device
- status registers, used by the CPU to find out exactly what’s happening on the device
Describe the microcontroller on an I/O device.
A microcontroller is like a device’s CPU. It is what controls all of the operations that actually take place on the device. It may be influenced by the CPU, but the microcontroller will make sure what things happen vs. not.
What is PCI?
Peripheral Component Interconnect. It’s one of the standard methods for connecting devices to the CPU
What do today’s platforms typically support in terms of PCI versions? Give some reasons why.
PCI Express Interconnect (PCIe) which are technologically more advanced than PCI or PCI-X. - More bandwidth - faster - has lower access latency - supports more devices
Name types of CPU - Device interconnects other than PCI bus
- SCSI bus
- peripheral bus
- bridges
What determines what type of interconnect a device can directly attach to?
the controllers that are part of the device hardware
What are bridge controllers?
They can handle differences between different types of interconnects
T or F?
The operating system has to include a device driver for every type of different hardware device that is incorporated in the system.
True