mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +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
@ -21,6 +21,7 @@ typeflags = { path = "../libs/typeflags" }
|
||||
typeflags-util = { path = "../libs/typeflags-util" }
|
||||
aster-rights-proc = { path = "../libs/aster-rights-proc" }
|
||||
aster-util = { path = "../libs/aster-util" }
|
||||
id-alloc = { path = "../../framework/libs/id-alloc" }
|
||||
int-to-c-enum = { path = "../libs/int-to-c-enum" }
|
||||
cpio-decoder = { path = "../libs/cpio-decoder" }
|
||||
ascii = { version = "1.1", default-features = false, features = ["alloc"] }
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
use core::time::Duration;
|
||||
|
||||
use aster_util::{id_allocator::IdAlloc, slot_vec::SlotVec};
|
||||
use aster_util::slot_vec::SlotVec;
|
||||
use id_alloc::IdAlloc;
|
||||
|
||||
use self::{ptmx::Ptmx, slave::PtySlaveInode};
|
||||
use crate::{
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use aster_util::id_allocator::IdAlloc;
|
||||
use id_alloc::IdAlloc;
|
||||
|
||||
use super::{
|
||||
block_ptr::Ext2Bid,
|
||||
|
Reference in New Issue
Block a user