xref: /DragonOS/kernel/src/arch/riscv64/mm/bump.rs (revision 45626c859f95054b76d8b59afcbd24c6b235026f)
1 use crate::mm::{allocator::bump::BumpAllocator, MemoryManagementArch, PhysMemoryArea};
2 
3 impl<MMA: MemoryManagementArch> BumpAllocator<MMA> {
4     pub unsafe fn arch_remain_areas(_ret_areas: &mut [PhysMemoryArea], res_count: usize) -> usize {
5         // todo: riscv64
6         return res_count;
7     }
8 }
9