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