Skip to content

Commit

Permalink
interrupt
Browse files Browse the repository at this point in the history
- interrupt mechanism
  • Loading branch information
xy-241 committed Jan 30, 2025
1 parent 2cb51e2 commit 12cfef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/OS/Interrupt/Interrupts (中断).md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author Profile:
tags:
- OS
Creation Date: 2023-11-29T19:10:00
Last Date: 2024-04-20T22:25:15+08:00
Last Date: 2025-01-30T23:28:13+08:00
References:
sr-due: 2024-03-01
sr-interval: 8
Expand All @@ -22,7 +22,7 @@ aliases:
**Mechanism**
1. Causes [[Process (进程)]] to temporarily suspend
2. Save the state info of the process into the corresponding [[Process Control Block (PCB)]]
3. Executes the [[Interrupt Handler]]
3. Obtain the [[Interrupt Handler|interrupt handler]] from the [[Interrupt Vector Table]] and execute it
4. When Interrupt Handler is done, the running [[Process (进程)]] is restarted and the state is restored from the PCB

>[!success] Free the CPU, no more Polling
Expand Down

0 comments on commit 12cfef0

Please sign in to comment.