feat: devices via caps (BootInfo, init assigns devices, drivers map MMIO/DMA themselves, IRQ-driven input); drop boot device wiring and info pages; headless display fallback
This commit is contained in:
@@ -51,4 +51,7 @@ pub enum InputEvent {
|
||||
pub trait InputDevice {
|
||||
fn poll(&mut self) -> Option<InputEvent>;
|
||||
fn has_event(&self) -> bool;
|
||||
/// Clears the device's own interrupt condition after an IRQ, before
|
||||
/// the line is re-armed. Devices that clear it by being read need not.
|
||||
fn acknowledge(&mut self) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user