Addressing and Managing I/O
-
Addressing an I/O Device
-
Dedicated CPU I/O instructions.
-
Memory-mapped I/O
-
Portions of the address space are assigned for I/O devices.
-
Loads and stores to these addresses cause data to be transferred.
-
Managing an I/O Operation
-
Polling - periodically check status bits
-
Interrupt-driven I/O - interrupt generated after each I/O event
-
Direct memory access (DMA) - special controller that transfers
data between an I/O device and memory independent of the processor
|