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