(
stack_frame: InterruptStackFrame,
error_code: PageFaultErrorCode,
)
| 259 | use x86_64::structures::idt::PageFaultErrorCode; |
| 260 | |
| 261 | extern "x86-interrupt" fn page_fault_handler( |
| 262 | stack_frame: InterruptStackFrame, |
| 263 | error_code: PageFaultErrorCode, |
| 264 | ) { |
| 265 | use x86_64::registers::control::Cr2; |
| 266 | |
| 267 | log::error!("EXCEPTION: PAGE FAULT"); |
| 268 | log::error!("Accessed Address: {:?}", Cr2::read()); |
| 269 | log::error!("Error Code: {:?}", error_code); |
| 270 | // log::error!("{:#?}", stack_frame); |
| 271 | |
| 272 | panic!("EXCEPTION: PAGE FAULT\n{:#?}", stack_frame); |
| 273 | } |
| 274 | |
| 275 | extern "x86-interrupt" fn ioapic_handler_0(stack_frame: InterruptStackFrame) { |
| 276 | log::info!("______ioapic_handler_0_____"); |
nothing calls this directly
no outgoing calls
no test coverage detected