xref: /DragonOS/kernel/src/arch/riscv64/mm/bump.rs (revision 5b59005f930266d0e9c0092373e894826150f862)
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