Make ID allocator a separate crate and use it in the frame

This commit is contained in:
Zhang Junyang
2024-05-02 17:44:10 +08:00
committed by Tate, Hongliang Tian
parent 8f3b1f8ddf
commit d1990869ae
19 changed files with 93 additions and 129 deletions

View File

@ -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;