Searched refs:KernelMapper (Results 1 – 9 of 9) sorted by relevance
21   当您需要映射页帧的时候,可使用`KernelMapper::lock()`函数,获得一个内核映射器对象,然后进行映射。由于KernelMapper是对PageMapper的封…24 **千万不要** 使用KernelMapper去映射用户地址空间的内存,这会使得这部分内存脱离用户地址空间的管理,从而导致内存错误。
10 - **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器…
27 pub struct KernelMapper { struct34 impl KernelMapper { argument127 impl Drop for KernelMapper { implementation140 impl Deref for KernelMapper { implementation
18 allocator::page_frame::PageFrameCount, kernel_mapper::KernelMapper, no_init::pseudo_map_phys,49 let mut kernel_mapper = KernelMapper::lock(); in rs_map_phys()
2 use crate::mm::kernel_mapper::KernelMapper;544 let mut bindings = KernelMapper::lock(); in release_mmio()
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()
24 use crate::mm::kernel_mapper::KernelMapper;210 let current_ktable: KernelMapper = KernelMapper::lock(); in setup_new_usermapper()609 let mut mapper = KernelMapper::lock(); in unmap_at_low_address()
358 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…399 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…
8 use crate::mm::kernel_mapper::KernelMapper;652 let mut kernel_mapper = KernelMapper::lock(); in map()1443 let mut kernel_mapper = KernelMapper::lock(); in pci_bar_init()