Skip to content

Commit

Permalink
[fix] correct irq_fetch spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
hky1999 committed Nov 19, 2024
1 parent 730f870 commit 9a2ac8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion src/vcpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl<H: AxVCpuHal> Aarch64VCpu<H> {
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),
}
Expand Down

0 comments on commit 9a2ac8d

Please sign in to comment.