Trait rustsbi::Ipi

source ·
pub trait Ipi: Send + Sync {
    // Required method
    fn send_ipi(&self, hart_mask: HartMask) -> SbiRet;
}
Expand description

Inter-processor interrupt support

Required Methods§

source

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.

Implementations on Foreign Types§

source§

impl Ipi for Infallible

source§

impl<T: Ipi> Ipi for &T

source§

fn send_ipi(&self, hart_mask: HartMask) -> SbiRet

Implementors§