We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077e76b commit e5edb7cCopy full SHA for e5edb7c
Cargo.toml
@@ -19,13 +19,12 @@ version = "0.1.1"
19
log = "0.4"
20
spin = "0.10"
21
22
-aarch64-cpu = "10.0"
+aarch64-cpu = "11.0"
23
numeric-enum-macro = "0.2"
24
25
axerrno = "0.1.0"
26
percpu = {version = "0.2.0", features = ["arm-el2"]}
27
28
axaddrspace = "0.2"
29
-axdevice_base = "0.1.0"
30
axvcpu = "0.1.0"
31
axvisor_api = "0.1.0"
src/lib.rs
@@ -30,3 +30,7 @@ pub fn has_hardware_support() -> bool {
// Current just return true by default.
true
32
}
33
+
34
+pub trait CpuHal {
35
+ fn inject_interrupt(irq: usize);
36
+}
0 commit comments