()
| 29 | } |
| 30 | |
| 31 | fn new() -> Result<Self, Error> { |
| 32 | // In future when we do not rely on OpenSBI, this function should parse the flatten device tree, detect type of the hardware |
| 33 | // interrupt controller and take control over it. |
| 34 | Ok(Self {}) |
| 35 | } |
| 36 | |
| 37 | pub fn send_ipis(&self, hart_mask: usize, hart_mask_base: usize) -> Result<(), Error> { |
| 38 | match unsafe { sbi_ipi_send_smode(hart_mask, hart_mask_base) } { |
nothing calls this directly
no outgoing calls
no test coverage detected