Run hello_world/power one by one in batch mode.

This commit is contained in:
Yifan Wu 2020-11-20 01:18:25 +08:00
parent e9949e5bd4
commit 3b920ac8f5
10 changed files with 74 additions and 26 deletions

View file

@ -28,8 +28,8 @@ fn clear_bss() {
#[no_mangle]
pub fn rust_main() -> ! {
clear_bss();
println!("Hello, world!");
println!("[kernel] Hello, world!");
trap::init();
batch::init();
batch::run_next_app();
panic!("Shutdown machine!");
}