keyboard through PCI&VirtIO
This commit is contained in:
@@ -215,7 +215,7 @@ unsafe extern "C" fn supervisor_trap_handler(
|
||||
|
||||
// 2. Écrire l'IRQ (Complete) <--- INDISPENSABLE
|
||||
core::ptr::write_volatile(S_MODE_CLAIM_COMPLETE, irq);
|
||||
KBD_DRIVER.handle_interrupt();
|
||||
KBD_DRIVER.as_mut().unwrap().handle_interrupt();
|
||||
} else {
|
||||
panic!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user