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