IO_Interrupts_Flashcards
What are the primary I/O requirements?
Addressing devices, device-initiated communication, data transfer efficiency, handling varying device speeds, and control requirement management.
What are I/O interfaces needed for?
To handle different data formats, device speed mismatches, and complex device control requirements.
What is programmed I/O?
A simple CPU-controlled I/O method where each I/O device requires individual instruction cycles.
What are interrupts?
Signals that alter CPU instruction flow, freeing the CPU from waiting for external events.
What is the function of interrupt lines?
Special control lines that allow devices to signal the CPU to handle interrupts.
What is an interrupt handler?
A program that services the interrupt, also known as an interrupt routine or device driver.
What is the purpose of saving context during an interrupt?
To allow the program to resume where it left off after the interrupt is handled.
What is a vectored interrupt?
An interrupt with the address of the interrupting device included, requiring additional hardware.
What is a polled interrupt?
A method where the CPU checks each device to identify which one triggered the interrupt.
What is Direct Memory Access (DMA)?
A technique for transferring data directly between memory and an I/O device without CPU involvement.
When is DMA used?
For large data transfers between memory and I/O devices to reduce CPU load.
What are the requirements for DMA to function?
Connection of I/O and memory, device controller with memory access, and conflict management.
What are the main functions of an I/O controller?
Device recognition, data buffering, memory transfer, physical device control, and CPU communication.
What are the benefits of having separate I/O controllers?
Specialized control, simultaneous device management, and CPU workload reduction.
What is a bus?
The physical connection that transfers data across computer components.