Interrupt-driven I/O cycle
Animated cycle from I/O request to ISR to resumed process.
Module 1
Session 1.4
Lesson 2 of 4
Interrupt-Driven I/O Cycle
An Interactive Step-by-Step Breakdown with Dynamic SVG Signal Routing
CPU
I/O Controller
1
device driver initiates I/O
2
initiates I/O
CPU executing checks for interrupts between instructions
3
input ready, output complete, or error generates interrupt signal
4
CPU receiving interrupt, transfers control to interrupt handler
5
interrupt handler processes data, returns from interrupt
6 & 7
CPU resumes processing of interrupted task
Simulation Controls
Step Deep-Dive Explainer
Step 1: Driver Initiates I/O
Component: CPU (Device Driver)
The operating system's device driver writes commands to the device controller's memory-mapped registers to begin an asynchronous transfer.
Initializing Interrupt-Driven I/O tracer...