Trait rustsbi::Ipi[][src]

pub trait Ipi: Send {
    fn max_hart_id(&self) -> usize;
fn send_ipi_many(&mut self, hart_mask: HartMask) -> SbiRet; }
Expand description

Inter-processor interrupt support

Required methods

fn max_hart_id(&self) -> usize[src]

Get the maximum hart id available by this IPI support module

fn send_ipi_many(&mut self, hart_mask: HartMask) -> SbiRet[src]

Send an inter-processor interrupt to all the harts defined in hart_mask.

Interprocessor 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.

Implementors