mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 12:06:43 +00:00
Make ID allocator a separate crate and use it in the frame
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
8f3b1f8ddf
commit
d1990869ae
@ -17,6 +17,7 @@ aster-console = { path = "../console" }
|
||||
aster-frame = { path = "../../../framework/aster-frame" }
|
||||
aster-util = { path = "../../libs/aster-util" }
|
||||
aster-rights = { path = "../../libs/aster-rights" }
|
||||
id-alloc = { path = "../../../framework/libs/id-alloc" }
|
||||
typeflags-util = { path = "../../libs/typeflags-util" }
|
||||
pod = { git = "https://github.com/asterinas/pod", rev = "d7dba56" }
|
||||
component = { path = "../../libs/comp-sys/component" }
|
||||
|
@ -13,7 +13,8 @@ use aster_frame::{
|
||||
trap::TrapFrame,
|
||||
vm::{DmaDirection, DmaStream, DmaStreamSlice, VmAllocOptions, VmIo},
|
||||
};
|
||||
use aster_util::{id_allocator::IdAlloc, safe_ptr::SafePtr};
|
||||
use aster_util::safe_ptr::SafePtr;
|
||||
use id_alloc::IdAlloc;
|
||||
use log::info;
|
||||
use pod::Pod;
|
||||
|
||||
|
Reference in New Issue
Block a user