keyboard through PCI&VirtIO

This commit is contained in:
2026-03-07 09:59:39 +01:00
parent 9b6aec28f5
commit 3947663b13
9 changed files with 325 additions and 153 deletions

View File

@@ -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!()
}