A prior commit didn't have rustfmt run on it, so this commit is a
catchup on the whitespace nits left behind.
use core::arch::asm;
use core::arch::global_asm;
use core::panic::PanicInfo;
+
global_asm!(include_str!("trap.S"));
// cfg not test is set here because the analyzer and the test system
trap_frame = in(reg)(&raw mut trap::TRAP_FRAME as usize)
);
}
+
println!("Kernel init complete");
println!("Going idle!");
- unsafe { asm!("1:","wfi", "j 1b") } // Hopefully wfi will make this less busy (1b is
+ unsafe { asm!("1:", "wfi", "j 1b") } // Hopefully wfi will make this less busy (1b is
// 'backwards to 1:'
loop {} // Definitely not gonna happen
}