IRQ-based VirtIOBlk Access. Plz wait for the virtio-drivers crate to be updated.
This commit is contained in:
parent
017758bf2b
commit
c6db34e2c7
13 changed files with 258 additions and 22 deletions
|
@ -78,6 +78,9 @@ pub fn trap_handler() -> ! {
|
|||
check_timer();
|
||||
suspend_current_and_run_next();
|
||||
}
|
||||
Trap::Interrupt(Interrupt::SupervisorExternal) => {
|
||||
crate::board::irq_handler();
|
||||
}
|
||||
_ => {
|
||||
panic!(
|
||||
"Unsupported trap {:?}, stval = {:#x}!",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue