MCPcopy Create free account
hub / github.com/IBM/ACE-RISCV / new

Method new

security-monitor/src/core/interrupt_controller/mod.rs:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) } {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected