summaryrefslogtreecommitdiff
path: root/src/kernel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel.rs')
-rw-r--r--src/kernel.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel.rs b/src/kernel.rs
index 8218691..2382345 100644
--- a/src/kernel.rs
+++ b/src/kernel.rs
@@ -13,7 +13,8 @@ use core::panic::PanicInfo;
/// This function is called on panic.
#[panic_handler]
-fn panic(_info: &PanicInfo) -> ! {
+fn panic(info: &PanicInfo) -> ! {
+ println!("{}", info);
loop {}
}
@@ -28,7 +29,6 @@ pub extern "C" fn _start() -> ! {
WRITER.write_string("Hello World!");
WRITER.write_string("\n\nHi\n");
println!("{}", 5);
- //print_something();
loop {}
}