Searched refs:KernelMapper (Results 1 – 11 of 11) sorted by relevance
21   当您需要映射页帧的时候,可使用`KernelMapper::lock()`函数,获得一个内核映射器对象,然后进行映射。由于KernelMapper是对PageMapper的封…24 **千万不要** 使用KernelMapper去映射用户地址空间的内存,这会使得这部分内存脱离用户地址空间的管理,从而导致内存错误。
10 - **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器…
31 pub struct KernelMapper { struct38 impl KernelMapper { implementation131 impl Drop for KernelMapper { implementation144 impl Deref for KernelMapper { implementation
3 use crate::mm::kernel_mapper::KernelMapper;544 let mut bindings = KernelMapper::lock(); in release_mmio()682 let mut kernel_mapper = KernelMapper::lock(); in map_phys()710 let mut kernel_mapper = KernelMapper::lock(); in map_phys_with_flags()
5 use crate::mm::kernel_mapper::KernelMapper;30 let mut kernel_mapper = KernelMapper::lock(); in dma_alloc()52 let mut kernel_mapper = KernelMapper::lock(); in dma_dealloc()
5 use crate::mm::kernel_mapper::KernelMapper;37 let mut kernel_mapper = KernelMapper::lock(); in dma_alloc()63 let mut kernel_mapper = KernelMapper::lock(); in dma_dealloc()
5 use crate::mm::{kernel_mapper::KernelMapper, page::EntryFlags, VirtAddr};149 let mut mapper = KernelMapper::lock(); in hva_to_pfn()
18 kernel_mapper::KernelMapper,202 let mut mapper = KernelMapper::lock(); in unmap_at_low_address()
14 kernel_mapper::KernelMapper,199 let current_ktable: KernelMapper = KernelMapper::lock(); in setup_new_usermapper()
28 use crate::mm::kernel_mapper::KernelMapper;240 let current_ktable: KernelMapper = KernelMapper::lock(); in setup_new_usermapper()
358 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…399 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…