akern-gkgoat-fork/ableos/src/panic.rs
2021-11-16 00:09:27 -06:00

10 lines
195 B
Rust

use crate::{arch::sloop, println, serial_println};
use core::panic::PanicInfo;
#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
println!("{}", info);
serial_println!("{}", info);
sloop()
}