pub trait Ipi: Send + Sync {
// Required method
fn send_ipi(&self, hart_mask: HartMask) -> SbiRet;
}
Expand description
Inter-processor interrupt support
Required Methods§
sourcefn send_ipi(&self, hart_mask: HartMask) -> SbiRet
fn send_ipi(&self, hart_mask: HartMask) -> SbiRet
Send an inter-processor interrupt to all the harts defined in hart_mask
.
Inter-processor interrupts manifest at the receiving harts as the supervisor software interrupts.
Return value
Should return SbiRet::success()
if IPI was sent to all the targeted harts successfully.