Searched refs:PhysMemoryArea (Results 1 – 6 of 6) sorted by relevance
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | bump.rs | 1 use crate::mm::{allocator::bump::BumpAllocator, MemoryManagementArch, PhysMemoryArea}; 4 pub unsafe fn arch_remain_areas(_ret_areas: &mut [PhysMemoryArea], res_count: usize) -> usize { in arch_remain_areas() argument
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | bump.rs | 6 MemoryManagementArch, PhysAddr, PhysMemoryArea, VirtAddr, 14 ret_areas: &mut [PhysMemoryArea], in arch_remain_areas() argument 45 ret_areas[res_count] = PhysMemoryArea::new( in arch_remain_areas()
|
/DragonOS/kernel/src/mm/ |
H A D | memblock.rs | 11 use super::{PhysAddr, PhysMemoryArea}; 34 initial_memory_regions: [PhysMemoryArea; INITIAL_MEMORY_REGIONS_NUM], 46 initial_memory_regions: [PhysMemoryArea::DEFAULT; INITIAL_MEMORY_REGIONS_NUM], in new() 78 let block = PhysMemoryArea::new(base, size, MemoryAreaAttr::empty()); in add_range() 106 block: PhysMemoryArea, in do_add_block() argument 182 inner.initial_memory_regions[index] = PhysMemoryArea::new(base, size, flags); in do_insert_area() 463 pub fn get_initial_memory_region(&self, index: usize) -> Option<PhysMemoryArea> { in get_initial_memory_region() argument 483 pub fn get_area(&self, index: usize) -> &PhysMemoryArea { in get_area() argument 494 type Item = PhysMemoryArea;
|
H A D | mod.rs | 401 pub struct PhysMemoryArea { struct 410 impl PhysMemoryArea { argument 434 impl Default for PhysMemoryArea { implementation
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | bump.rs | 12 MemoryManagementArch, PageTableKind, PhysAddr, PhysMemoryArea, 48 pub fn remain_areas(&self, result_area: &mut [PhysMemoryArea]) -> Option<usize> { in remain_areas()
|
H A D | buddy.rs | 11 use crate::mm::{MemoryManagementArch, PhysAddr, PhysMemoryArea, VirtAddr}; 108 let mut res_areas = [PhysMemoryArea::default(); 128]; in new()
|