/DragonOS-0.1.9/kernel/src/mm/ |
D | kernel_mapper.rs | 6 mm::{LockedFrameAllocator, PageMapper}, 33 mapper: PageMapper, 39 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu() 68 let mapper = unsafe { PageMapper::current(PageTableKind::Kernel, LockedFrameAllocator) }; in lock() 74 pub fn as_mut(&mut self) -> Option<&mut PageMapper> { in as_mut() argument 84 pub fn as_ref(&self) -> &PageMapper { in as_ref() argument 145 type Target = PageMapper;
|
D | no_init.rs | 170 let mut mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in pseudo_map_phys_with_flags() 198 let mut mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in pseudo_unmap_phys()
|
D | ucontext.rs | 20 arch::{mm::PageMapper, CurrentIrqArch, MMArch}, 319 &mut PageMapper, in mmap() argument 647 pub utable: PageMapper, 651 pub fn new(utable: PageMapper) -> Self { in new() 914 mapper: &mut PageMapper, in remap() argument 933 pub fn unmap(&self, mapper: &mut PageMapper, mut flusher: impl Flusher<MMArch>) { in unmap() argument 1120 mapper: &mut PageMapper, in remap() argument 1174 mapper: &mut PageMapper, in physmap() argument 1226 mapper: &mut PageMapper, in zeroed() argument
|
D | page.rs | 505 pub struct PageMapper<Arch, F> { struct 515 impl<Arch: MemoryManagementArch, F: FrameAllocator> PageMapper<Arch, F> { argument 832 impl<Arch, F: Debug> Debug for PageMapper<Arch, F> { implementation
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/ |
D | ept.rs | 2 use crate::arch::mm::PageMapper; 38 mapper: PageMapper, 46 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu() 75 let mapper = unsafe { PageMapper::current(PageTableKind::EPT, LockedFrameAllocator) }; in lock()
|
D | vcpu.rs | 9 use crate::arch::mm::{LockedFrameAllocator, PageMapper}; 393 let mapper: crate::mm::page::PageMapper<X86_64MMArch, LockedFrameAllocator> = unsafe { in kvm_mmu_load() 394 PageMapper::create(PageTableKind::EPT, LockedFrameAllocator) in kvm_mmu_load()
|
/DragonOS-0.1.9/docs/kernel/memory_management/ |
D | allocate-memory.md | 21 …apper::lock()`函数,获得一个内核映射器对象,然后进行映射。由于KernelMapper是对PageMapper的封装,因此您在获取KernelMapper之后,可以使用PageMap…
|
D | intro.md | 10 - **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器…
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/mm/ |
D | init.rs | 81 let mut mapper: crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>> = in riscv_mm_init() 82 crate::mm::page::PageMapper::<MMArch, _>::create( in riscv_mm_init() 145 let mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in riscv_mm_init() 179 mapper: &mut crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>>, in remap_at_low_address()
|
D | mod.rs | 22 pub type PageMapper = crate::mm::page::PageMapper<RiscV64MMArch, LockedFrameAllocator>; typedef
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 42 pub type PageMapper = typedef 43 crate::mm::page::PageMapper<crate::arch::x86_64::mm::X86_64MMArch, LockedFrameAllocator>; 223 let new_umapper: crate::mm::page::PageMapper<X86_64MMArch, LockedFrameAllocator> = unsafe { in setup_new_usermapper() 224 PageMapper::create(PageTableKind::User, LockedFrameAllocator) in setup_new_usermapper() 427 let mut mapper: crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>> = in allocator_init() 428 crate::mm::page::PageMapper::<MMArch, _>::create( in allocator_init() 491 let mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in allocator_init() 663 mapper: &mut crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>>, in remap_at_low_address()
|
/DragonOS-0.1.9/kernel/src/mm/allocator/ |
D | bump.rs | 11 page::PageMapper, 114 PageMapper::<MMA, _>::current(PageTableKind::Kernel, BumpAllocator::<MMA>::new(0)); in ensure_early_mapping()
|
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.8.md | 358 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射… 399 …- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射…
|