forked from AbleOS/ableos
12 lines
216 B
Rust
12 lines
216 B
Rust
use core::panic::PanicInfo;
|
|
use log::error;
|
|
|
|
use crate::arch::interrupts::{bsod, BSODSource};
|
|
|
|
#[panic_handler]
|
|
fn panic_handler(info: &PanicInfo) -> ! {
|
|
error!("{}", info);
|
|
|
|
bsod(BSODSource::Panic(info));
|
|
}
|