diff --git a/Cargo.toml b/Cargo.toml index c238e4d..bf25874 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ memory_addr = "0.4" axaddrspace = "0.2" axdevice_base = "0.1" axvmconfig = {version = "0.1", default-features = false} -range-alloc = {git = "https://github.com/arceos-hypervisor/range-alloc.git"} +range-alloc-arceos = "0.1.4-pre.1" [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::{