Home
last modified time | relevance | path

Searched refs:PhysMemoryArea (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/mm/
H A Dbump.rs1 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 Dbump.rs6 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 Dmemblock.rs11 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 Dmod.rs401 pub struct PhysMemoryArea { struct
410 impl PhysMemoryArea { impl
434 impl Default for PhysMemoryArea { implementation
/DragonOS/kernel/src/mm/allocator/
H A Dbump.rs12 MemoryManagementArch, PageTableKind, PhysAddr, PhysMemoryArea,
48 pub fn remain_areas(&self, result_area: &mut [PhysMemoryArea]) -> Option<usize> { in remain_areas()
H A Dbuddy.rs11 use crate::mm::{MemoryManagementArch, PhysAddr, PhysMemoryArea, VirtAddr};
108 let mut res_areas = [PhysMemoryArea::default(); 128]; in new()