Init serial before the rest
So we could see output from all modules.
This commit is contained in:
parent
1fedc95d42
commit
c378250aba
|
@ -111,15 +111,16 @@ fn init_uart_serial() {
|
|||
/// `arch` crate is responsible for calling it.
|
||||
#[inline]
|
||||
pub fn kmain() -> ! {
|
||||
#[cfg(not(feature = "noserial"))]
|
||||
init_uart_serial();
|
||||
|
||||
init_exception_traps();
|
||||
init_mmu();
|
||||
|
||||
#[cfg(test)]
|
||||
test_main();
|
||||
|
||||
#[cfg(not(feature = "noserial"))]
|
||||
init_uart_serial();
|
||||
|
||||
println!("Bye, hanging forever...");
|
||||
endless_sleep()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue