Skip to main content

rdif_intc/
lib.rs

1#![no_std]
2
3extern crate alloc;
4
5pub use rdif_base::_rdif_prelude::*;
6use rdif_base::def_driver;
7
8pub trait Interface: DriverGeneric {
9    fn setup_irq_by_fdt(&mut self, _irq_prop: &[u32]) -> IrqId {
10        unimplemented!();
11    }
12
13    fn supports_acpi_gsi(&self, _route: &AcpiGsiRoute) -> bool {
14        false
15    }
16
17    fn setup_irq_by_acpi(&mut self, _route: &AcpiGsiRoute) -> IrqId {
18        unimplemented!();
19    }
20}
21
22def_driver!(Intc, Interface);