mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix release date
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
title = "Hardware Interrupts"
|
title = "Hardware Interrupts"
|
||||||
order = 8
|
order = 8
|
||||||
path = "hardware-interrupts"
|
path = "hardware-interrupts"
|
||||||
date = 2018-10-20
|
date = 2018-10-22
|
||||||
template = "second-edition/page.html"
|
template = "second-edition/page.html"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
@@ -268,7 +268,7 @@ Timestep | _start | interrupt_handler
|
|||||||
4 | | `print` tries to lock `WRITER` (already locked)
|
4 | | `print` tries to lock `WRITER` (already locked)
|
||||||
5 | | `print` tries to lock `WRITER` (already locked)
|
5 | | `print` tries to lock `WRITER` (already locked)
|
||||||
… | | …
|
… | | …
|
||||||
_never_ | _unlock `WRITER`_ |
|
_never_ | _unlock `WRITER`_ |
|
||||||
|
|
||||||
The `WRITER` is locked, so the interrupt handler waits until it becomes free. But this never happens, because the `_start` function only continues to run after the interrupt handler returns. Thus the complete system hangs.
|
The `WRITER` is locked, so the interrupt handler waits until it becomes free. But this never happens, because the `_start` function only continues to run after the interrupt handler returns. Thus the complete system hangs.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user