set correct virtio-blk irq num --> 8, now exec syscall can read file correctly, and shell can work again
This commit is contained in:
parent
c348cbdbfa
commit
45c2caf564
2 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ mod task;
|
|||
mod timer;
|
||||
mod trap;
|
||||
|
||||
use syscall::create_desktop;
|
||||
// use syscall::create_desktop; //for test
|
||||
|
||||
core::arch::global_asm!(include_str!("entry.asm"));
|
||||
|
||||
|
@ -71,7 +71,7 @@ pub fn rust_main() -> ! {
|
|||
timer::set_next_trigger();
|
||||
board::device_init();
|
||||
fs::list_apps();
|
||||
syscall::create_desktop();
|
||||
//syscall::create_desktop(); //for test
|
||||
task::add_initproc();
|
||||
*DEV_NON_BLOCKING_ACCESS.exclusive_access() = true;
|
||||
task::run_tasks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue