Skip to content

Commit

Permalink
add stubs for riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkegz committed Dec 18, 2024
1 parent 71fe5ca commit 2d5c35b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/axhal/src/platform/riscv64_qemu_virt/irq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,19 @@ pub(super) fn init_percpu() {
sie::set_sext();
}
}

#[cfg(feature = "ipi")]
mod ipi {
pub const IPI_IRQ_NUM: usize = 0;

pub fn send_sgi_one(_dest_cpu: usize, _irq_num: usize) {
unimplemented!()
}

pub fn send_sgi_all(_irq_num: usize) {
unimplemented!()
}
}

#[cfg(feature = "ipi")]
pub use ipi::*;

0 comments on commit 2d5c35b

Please sign in to comment.