diff options
author | Christian Cunningham <cc@localhost> | 2022-08-24 19:33:08 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-08-24 19:33:08 -0700 |
commit | bb56af20ed036bed8d9d2f8bf68376ce4d55e79a (patch) | |
tree | b801bea41975ee8a4697056c0b694b416343a66f /src/panic_wait.rs | |
parent | 6e293d029bd60f5565bb18629e3baf2d049e53cf (diff) |
Rename to serial print
Diffstat (limited to 'src/panic_wait.rs')
-rw-r--r-- | src/panic_wait.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panic_wait.rs b/src/panic_wait.rs index 53998a0..a8d0962 100644 --- a/src/panic_wait.rs +++ b/src/panic_wait.rs @@ -2,7 +2,7 @@ //! //! A panic handler that infinitely waits -use crate::{cpu, println}; +use crate::{cpu, serial_println}; use core::panic::PanicInfo; /// # Prevent Double Faulting @@ -34,7 +34,7 @@ fn panic(info: &PanicInfo) -> ! { _ => ("???", 0, 0), }; - println!( + serial_println!( "Kernel panic!\n\nPanic Location:\n\tFile: '{}', line {}, column {}\n\n{}", location, line, |