1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/ableos/src/panic.rs

10 lines
195 B
Rust
Raw Normal View History

2021-11-16 00:09:27 -06:00
use crate::{arch::sloop, println, serial_println};
use core::panic::PanicInfo;
#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
println!("{}", info);
serial_println!("{}", info);
sloop()
}