mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Remove duplicated import
This commit is contained in:
@@ -61,7 +61,6 @@ extern "x86-interrupt" fn page_fault_handler(
|
|||||||
stack_frame: &mut InterruptStackFrame,
|
stack_frame: &mut InterruptStackFrame,
|
||||||
_error_code: PageFaultErrorCode,
|
_error_code: PageFaultErrorCode,
|
||||||
) {
|
) {
|
||||||
use crate::hlt_loop;
|
|
||||||
use x86_64::registers::control::Cr2;
|
use x86_64::registers::control::Cr2;
|
||||||
|
|
||||||
println!("EXCEPTION: PAGE FAULT");
|
println!("EXCEPTION: PAGE FAULT");
|
||||||
|
|||||||
Reference in New Issue
Block a user