Skip to content

Commit df6618d

Browse files
committed
fix: 移除未使用的导入以清理代码
1 parent e7a6327 commit df6618d

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/exit.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use axvm_types::{
22
addr::GuestPhysAddr,
33
device::{AccessWidth, SysRegAddr},
4-
mem::MappingFlags,
54
};
65

76
/// Reasons for VM-Exits returned by [AxArchVCpu::run].

src/pcpu.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ use core::cell::OnceCell;
33
use aarch64_cpu::registers::*;
44
use axerrno::AxResult;
55

6-
use crate::CpuHal;
7-
86
/// Per-CPU data. A pointer to this struct is loaded into TP when a CPU starts. This structure
97
#[repr(C)]
108
#[repr(align(4096))]

src/vcpu.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use core::marker::PhantomData;
2-
31
use aarch64_cpu::registers::*;
42
use axerrno::AxResult;
53
use axvm_types::{

0 commit comments

Comments
 (0)