We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e50e8e0 commit 71fe5caCopy full SHA for 71fe5ca
modules/axhal/src/platform/dummy/mod.rs
@@ -87,6 +87,15 @@ pub mod irq {
87
pub fn fetch_irq() -> usize {
88
0
89
}
90
+
91
+ #[cfg(feature = "ipi")]
92
+ pub const IPI_IRQ_NUM: usize = 0;
93
94
95
+ pub fn send_sgi_one(dest_cpu: usize, irq_num: usize) {}
96
97
98
+ pub fn send_sgi_all(irq_num: usize) {}
99
100
101
/// Initializes the platform devices for the primary CPU.
modules/axipi/Cargo.toml
@@ -19,5 +19,5 @@ lazyinit = { version = "0.2" }
19
percpu = { version = "0.1.6" }
20
kspin = { version = "0.1" }
21
22
-axhal = { workspace = true }
+axhal = { workspace = true, features = ["ipi"] }
23
axconfig = { workspace = true }
0 commit comments