Home
last modified time | relevance | path

Searched refs:KernelMapper (Results 1 – 11 of 11) sorted by relevance

/DragonOS/docs/kernel/memory_management/
H A Dallocate-memory.md21   当您需要映射页帧的时候,可使用`KernelMapper::lock()`函数,获得一个内核映射器对象,然后进行映射。由于KernelMapper是对PageMapper的封…
24 **千万不要** 使用KernelMapper去映射用户地址空间的内存,这会使得这部分内存脱离用户地址空间的管理,从而导致内存错误。
H A Dintro.md10 - **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器…
/DragonOS/kernel/src/mm/
H A Dkernel_mapper.rs31 pub struct KernelMapper { struct
38 impl KernelMapper { implementation
131 impl Drop for KernelMapper { implementation
144 impl Deref for KernelMapper { implementation
H A Dmmio_buddy.rs3 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()
/DragonOS/kernel/src/driver/net/
H A Ddma.rs5 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()
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio_impl.rs5 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()
/DragonOS/kernel/src/virt/kvm/
H A Dhost_mem.rs5 use crate::mm::{kernel_mapper::KernelMapper, page::EntryFlags, VirtAddr};
149 let mut mapper = KernelMapper::lock(); in hva_to_pfn()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs18 kernel_mapper::KernelMapper,
202 let mut mapper = KernelMapper::lock(); in unmap_at_low_address()
H A Dmod.rs14 kernel_mapper::KernelMapper,
199 let current_ktable: KernelMapper = KernelMapper::lock(); in setup_new_usermapper()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs28 use crate::mm::kernel_mapper::KernelMapper;
240 let current_ktable: KernelMapper = KernelMapper::lock(); in setup_new_usermapper()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.8.md358 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…
399 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…