mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix old 2015 edition import path
This commit is contained in:
@@ -396,7 +396,7 @@ We can also use `hlt_loop` in our double fault exception handler as well:
|
|||||||
```rust
|
```rust
|
||||||
// in src/interrupts.rs
|
// in src/interrupts.rs
|
||||||
|
|
||||||
use hlt_loop; // new
|
use crate::hlt_loop; // new
|
||||||
|
|
||||||
extern "x86-interrupt" fn double_fault_handler(
|
extern "x86-interrupt" fn double_fault_handler(
|
||||||
stack_frame: &mut ExceptionStackFrame,
|
stack_frame: &mut ExceptionStackFrame,
|
||||||
|
|||||||
Reference in New Issue
Block a user