Try batch but kernel panicked.

This commit is contained in:
Yifan Wu 2020-11-19 18:01:16 +08:00
parent 220397e5a5
commit bae5383602
11 changed files with 385 additions and 17 deletions

View file

@ -11,8 +11,8 @@ mod lang_items;
#[no_mangle]
#[link_section = ".text.entry"]
pub extern "C" fn _start() -> ! {
main();
loop {}
syscall::sys_exit(main());
panic!("unreachable after sys_exit!");
}
#[linkage = "weak"]