From bb2ac9c2599470fd327bf052d8cf69e1ab572b59 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 25 Nov 2019 13:32:32 +0100 Subject: [PATCH] Add missing hlt_loop import in code listing The hlt_loop import was missing when creating a page fault handler. --- .../content/second-edition/posts/08-paging-introduction/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/blog/content/second-edition/posts/08-paging-introduction/index.md b/blog/content/second-edition/posts/08-paging-introduction/index.md index aa2ad0d2..4ed55aff 100644 --- a/blog/content/second-edition/posts/08-paging-introduction/index.md +++ b/blog/content/second-edition/posts/08-paging-introduction/index.md @@ -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,