update ch4 with more comments
This commit is contained in:
parent
76056c8626
commit
5946903948
24 changed files with 205 additions and 20 deletions
|
@ -1,7 +1,10 @@
|
|||
//! The panic handler
|
||||
|
||||
use crate::sbi::shutdown;
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
#[panic_handler]
|
||||
/// panic handler
|
||||
fn panic(info: &PanicInfo) -> ! {
|
||||
if let Some(location) = info.location() {
|
||||
println!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue