Simple filetest passed on qemu/k210.
This commit is contained in:
parent
b68278f22e
commit
b121689d08
11 changed files with 159 additions and 24 deletions
|
@ -46,17 +46,7 @@ pub fn rust_main() -> ! {
|
|||
trap::enable_timer_interrupt();
|
||||
timer::set_next_trigger();
|
||||
fs::list_apps();
|
||||
//println!("after listing apps");
|
||||
task::add_initproc();
|
||||
/*
|
||||
println!("after adding initproc!");
|
||||
println!("list apps again!");
|
||||
fs::list_apps();
|
||||
println!("test user_shell now!");
|
||||
let user_shell = fs::open_file("user_shell", fs::OpenFlags::RDONLY).unwrap();
|
||||
println!("user_shell size = {}", user_shell.read_all().len());
|
||||
println!("before running tasks!");
|
||||
*/
|
||||
task::run_tasks();
|
||||
panic!("Unreachable in rust_main!");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue