Avoid panicking when inputting error app name; List all apps when initializing.
This commit is contained in:
parent
3642f9c56d
commit
3a2f89fc67
4 changed files with 19 additions and 6 deletions
|
@ -46,6 +46,7 @@ pub fn rust_main() -> ! {
|
|||
trap::init();
|
||||
trap::enable_timer_interrupt();
|
||||
timer::set_next_trigger();
|
||||
loader::list_apps();
|
||||
task::run_tasks();
|
||||
panic!("Unreachable in rust_main!");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue