pub trait Ipi: Send {
fn send_ipi_many(&self, hart_mask: HartMask) -> SbiRet;
}
Expand description
Inter-processor interrupt support
Required methods
fn send_ipi_many(&self, hart_mask: HartMask) -> SbiRet
fn send_ipi_many(&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 error code SBI_SUCCESS
if IPI was sent to all the targeted harts successfully.