mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add missing hlt_loop import in code listing
The hlt_loop import was missing when creating a page fault handler.
This commit is contained in:
@@ -275,6 +275,7 @@ lazy_static! {
|
||||
}
|
||||
|
||||
use x86_64::structures::idt::PageFaultErrorCode;
|
||||
use crate::hlt_loop;
|
||||
|
||||
extern "x86-interrupt" fn page_fault_handler(
|
||||
stack_frame: &mut InterruptStackFrame,
|
||||
|
||||
Reference in New Issue
Block a user