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:
Philipp Oppermann
2019-11-25 13:32:32 +01:00
parent 6d95caec31
commit bb2ac9c259

View File

@@ -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,