From 9e35b2f6bb8d80eeff134dc0f9e80a8085e261d8 Mon Sep 17 00:00:00 2001 From: aarkegz Date: Sun, 18 Jan 2026 21:39:27 +0800 Subject: [PATCH 1/5] update dependencies --- Cargo.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f0723ce..8660fa6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,16 +8,22 @@ edition = "2024" [dependencies] log = "0.4" cfg-if = "1.0" -spin = "0.9" +spin = "0.10" # System independent crates provided by ArceOS. -axerrno = "0.1.0" +axerrno = "0.2" memory_addr = "0.4" axvmconfig = { version = "0.1", default-features = false } -axaddrspace = "0.1" +axaddrspace = "0.2" axdevice_base = "0.1" range-alloc = { git = "https://github.com/arceos-hypervisor/range-alloc.git" } [target.'cfg(target_arch = "aarch64")'.dependencies] arm_vgic = { version = "0.1", features = ["vgicv3"] } + +[patch.crates-io] +axvmconfig = { git = "https://github.com/arceos-hypervisor/axvmconfig.git", branch = "aar-master" } +axaddrspace = { git = "https://github.com/arceos-hypervisor/axaddrspace", branch = "aar-master" } +axdevice_base = { git = "https://github.com/arceos-hypervisor/axdevice_crates", branch = "aar-master"} +arm_vgic = { git = "https://github.com/arceos-hypervisor/arm_vgic", branch = "aar-master"} From b7f2a26aa6e1fcbdadf3cdebc5810fd0e014027f Mon Sep 17 00:00:00 2001 From: aarkegz Date: Thu, 5 Mar 2026 18:36:52 +0800 Subject: [PATCH 2/5] update range-alloc dep --- Cargo.toml | 2 +- src/device.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8660fa6..15bae37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ memory_addr = "0.4" axvmconfig = { version = "0.1", default-features = false } axaddrspace = "0.2" axdevice_base = "0.1" -range-alloc = { git = "https://github.com/arceos-hypervisor/range-alloc.git" } +range-alloc-arceos = { git = "https://github.com/arceos-hypervisor/range-alloc-arceos.git" } [target.'cfg(target_arch = "aarch64")'.dependencies] arm_vgic = { version = "0.1", features = ["vgicv3"] } diff --git a/src/device.rs b/src/device.rs index 035acce..842a274 100644 --- a/src/device.rs +++ b/src/device.rs @@ -2,7 +2,7 @@ use alloc::sync::Arc; use alloc::vec::Vec; use core::ops::Range; -use range_alloc::RangeAllocator; +use range_alloc_arceos::RangeAllocator; use spin::Mutex; use axaddrspace::{ From 4b15dfa4aa1293bf8841f2424cbe8f9ddce16d8c Mon Sep 17 00:00:00 2001 From: aarkegz Date: Fri, 6 Mar 2026 11:34:56 +0800 Subject: [PATCH 3/5] update dependencies, remove patches --- Cargo.toml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d70a139..9c8fd37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,20 +23,13 @@ spin = "0.10" axerrno = "0.2" memory_addr = "0.4" -axvmconfig = { version = "0.1", default-features = false } -axaddrspace = "0.2" -axdevice_base = "0.1" +axvmconfig = { version = "0.2.2", default-features = false } +axaddrspace = "0.3" +axdevice_base = "0.2.2" range-alloc-arceos = { git = "https://github.com/arceos-hypervisor/range-alloc-arceos.git" } [target.'cfg(target_arch = "aarch64")'.dependencies] -arm_vgic = { version = "0.1", features = ["vgicv3"] } +arm_vgic = { version = "0.2.2", features = ["vgicv3"] } [target.'cfg(target_arch = "riscv64")'.dependencies] -riscv_vplic = { git = "https://github.com/arceos-hypervisor/riscv_vplic.git", rev = "8bc5213" } - -[patch.crates-io] -# axvmconfig = { git = "https://github.com/arceos-hypervisor/axvmconfig.git", branch = "aar-master" } -axvmconfig = { path = "../axvmconfig" } -axaddrspace = { git = "https://github.com/arceos-hypervisor/axaddrspace", branch = "aar-master" } -axdevice_base = { git = "https://github.com/arceos-hypervisor/axdevice_crates", branch = "aar-master"} -arm_vgic = { git = "https://github.com/arceos-hypervisor/arm_vgic", branch = "aar-master"} +riscv_vplic = "0.2.2" From 8bffbbd52f30b20487073adb8c05cc2e149f21c7 Mon Sep 17 00:00:00 2001 From: aarkegz Date: Fri, 6 Mar 2026 11:42:36 +0800 Subject: [PATCH 4/5] bump to version v0.2.2 --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dea76ef..e81e569 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "axdevice" -version = "0.2.1" +version = "0.2.2" description = "A reusable, OS-agnostic device abstraction layer designed for virtual machines." homepage = "https://github.com/arceos-hypervisor/axdevice" repository = "https://github.com/arceos-hypervisor/axdevice" keywords = ["hypervisor"] license = "Apache-2.0" -authors = ["aarkegz "] +authors = ["Su Mingxian "] documentation = "https://docs.rs/axdevice" categories = ["virtualization"] edition = "2024" From 1ce004601123ac76e2fea365021af3a3ab468374 Mon Sep 17 00:00:00 2001 From: aarkegz Date: Fri, 6 Mar 2026 13:56:47 +0800 Subject: [PATCH 5/5] update `range-alloc-arceos` to stable release --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e81e569..998e85c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ memory_addr = "0.4" axvmconfig = { version = "0.2.2", default-features = false } axaddrspace = "0.3" axdevice_base = "0.2.2" -range-alloc-arceos = { git = "https://github.com/arceos-hypervisor/range-alloc-arceos.git" } +range-alloc-arceos = "0.1.4" [target.'cfg(target_arch = "aarch64")'.dependencies] arm_vgic = { version = "0.2.2", features = ["vgicv3"] }