Skip to main content

Module _13_general_protection_fault

Module _13_general_protection_fault 

Source
Expand description

General Protection Fault exception handler (vector 13, #GP).

Authors: MarioS271

Re-exportsยง

use crate::lib::panic_codes::PanicCode; ๐Ÿ”’
use crate::lib::types::fmt_buffer::FmtBuffer; ๐Ÿ”’
use crate::lib::panic::kernel_panic; ๐Ÿ”’
use core::fmt::Write; ๐Ÿ”’
use x86_64::structures::idt::InterruptStackFrame; ๐Ÿ”’

Functionsยง

handler
Panic with the error code (selector index or 0) and the interrupt stack frame.