Skip to content

Commit 2338c6f

Browse files
aarkegzZR233
andauthored
Update dependencies, remove hal, add max_guest_page_table_levels api, bump to v0.3.0 (#46)
* feat: add gpt level api * update dependencies * remove hal * update axaddrspace and axvisor_api dependencies to version 0.3 --------- Co-authored-by: 周睿 <zrufo747@outlook.com>
1 parent 0f532c3 commit 2338c6f

3 files changed

Lines changed: 4 additions & 52 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "axvcpu"
33
authors = ["aarkegz <aarkegz@gmail.com>"]
4-
version = "0.2.1"
4+
version = "0.3.0"
55
edition = "2024"
66
categories = ["virtualization", "no-std"]
77
description = "Virtual CPU abstraction for ArceOS hypervisor"
@@ -10,8 +10,8 @@ keywords = ["vcpu", "hypervisor", "arceos"]
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
axerrno = "0.1.0"
13+
axerrno = "0.2"
1414
memory_addr = "0.4"
1515
percpu = "0.2.0"
16-
axaddrspace = "0.1.4"
17-
axvisor_api = "0.1"
16+
axaddrspace = "0.3"
17+
axvisor_api = "0.3"

src/hal.rs

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,12 @@ extern crate alloc;
3535
// Core modules
3636
mod arch_vcpu; // Architecture-specific VCpu trait definition
3737
mod exit; // VM exit reason enumeration and handling
38-
mod hal; // Hardware abstraction layer interfaces
3938
mod percpu; // Per-CPU virtualization state management
4039
mod test; // Unit tests for VCpu functionality
4140
mod vcpu; // Main VCpu implementation and state management
4241

4342
// Public API exports
4443
pub use arch_vcpu::AxArchVCpu; // Architecture-specific VCpu trait
4544
pub use exit::AxVCpuExitReason;
46-
pub use hal::AxVCpuHal; // Hardware abstraction layer trait
4745
pub use percpu::*; // Per-CPU state management types
4846
pub use vcpu::*; // Main VCpu types and functions // VM exit reasons

0 commit comments

Comments
 (0)