diff --git a/Cargo.toml b/Cargo.toml index 4c14fe9..b5c6e12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,4 +14,4 @@ axerrno = "0.1.0" percpu = "0.1.4" axaddrspace = { git = "https://github.com/arceos-hypervisor/axaddrspace.git" } -axvcpu = { git = "https://github.com/arceos-hypervisor/axvcpu.git", branch = "axvcpuhal" } +axvcpu = { git = "https://github.com/arceos-hypervisor/axvcpu.git" } diff --git a/src/vcpu.rs b/src/vcpu.rs index 330a59a..b60cbcd 100644 --- a/src/vcpu.rs +++ b/src/vcpu.rs @@ -277,7 +277,7 @@ impl Aarch64VCpu { match exit_reason { TrapKind::Synchronous => handle_exception_sync(&mut self.ctx), TrapKind::Irq => Ok(AxVCpuExitReason::ExternalInterrupt { - vector: H::irq_fecth() as _, + vector: H::irq_fetch() as _, }), _ => panic!("Unhandled exception {:?}", exit_reason), }