Trait Ipi

Source
pub trait Ipi {
    // 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<T: Ipi> Ipi for Option<T>

Source§

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

Source§

impl<T: Ipi> Ipi for &T

Source§

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

Implementors§