summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.kernel.rs.swpbin12288 -> 0 bytes
-rw-r--r--src/kernel.rs4
2 files changed, 2 insertions, 2 deletions
diff --git a/src/.kernel.rs.swp b/src/.kernel.rs.swp
deleted file mode 100644
index ed00d5b..0000000
--- a/src/.kernel.rs.swp
+++ /dev/null
Binary files differ
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 {}
}