Provoke a print! deadlock

This commit is contained in:
Philipp Oppermann
2019-01-25 14:12:14 +01:00
parent 1ea8cf6ed1
commit 1a39774ead

View File

@@ -18,7 +18,10 @@ pub extern "C" fn _start() -> ! {
x86_64::instructions::interrupts::enable();
println!("It did not crash!");
loop {}
loop {
use blog_os::print;
print!("-");
}
}
/// This function is called on panic.