Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 25 of 34) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dmod.rs8 pub mod mm; module
18 pub use self::mm::X86_64MMArch as MMArch;
Dfpu.rs31 mm: [u64; 16], field
49 mm: Default::default(), in default()
Dsyscall.rs13 mm::{ucontext::AddressSpace, verify_area, VirtAddr},
21 use super::{asm::ptrace::user_mode, mm::barrier::mfence};
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs17 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount};
18 use crate::mm::mmio_buddy::mmio_init;
21 mm::allocator::{buddy::BuddyAllocator, bump::BumpAllocator},
24 use crate::mm::kernel_mapper::KernelMapper;
25 use crate::mm::page::{PageEntry, PageFlags};
26 use crate::mm::{MemoryManagementArch, PageTableKind, PhysAddr, PhysMemoryArea, VirtAddr};
38 crate::mm::page::PageMapper<crate::arch::x86_64::mm::X86_64MMArch, LockedFrameAllocator>;
126 unsafe fn init() -> &'static [crate::mm::PhysMemoryArea] { in init()
204 fn setup_new_usermapper() -> Result<crate::mm::ucontext::UserMapper, SystemError> { in setup_new_usermapper()
205 let new_umapper: crate::mm::page::PageMapper<X86_64MMArch, LockedFrameAllocator> = unsafe { in setup_new_usermapper()
[all …]
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio_impl.rs1 use crate::arch::mm::kernel_page_flags;
5 use crate::mm::kernel_mapper::KernelMapper;
6 use crate::mm::page::PageFlags;
7 use crate::mm::{
/DragonOS-0.1.8/kernel/src/mm/
Dkernel_mapper.rs4 mm::{LockedFrameAllocator, PageMapper},
9 mm::allocator::page_frame::PageFrameCount,
10 mm::{MMArch, MemoryManagementArch},
Dno_init.rs11 use crate::mm::{MMArch, MemoryManagementArch, PhysAddr};
63 let mut mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in pseudo_map_phys()
Dc_adapter.rs9 arch::mm::LowAddressRemapping,
13 mm::MMArch,
Dsyscall.rs9 mm::MemoryManagementArch,
Dmmio_buddy.rs2 use crate::mm::kernel_mapper::KernelMapper;
8 mm::{MMArch, MemoryManagementArch},
/DragonOS-0.1.8/kernel/src/smp/
Dmod.rs4 mm::INITIAL_PROCESS_ADDRESS_SPACE,
/DragonOS-0.1.8/kernel/src/
Dlib.rs34 mod mm; module
57 use crate::mm::allocator::kernel_allocator::KernelAllocator;
/DragonOS-0.1.8/kernel/src/process/
Dmod.rs9 mm::{
Dprocess.h161 asm volatile("movq %0, %%cr3 \n\t" ::"r"(next_pcb->mm->pgd) \
Dexec.rs12 mm::{
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dkernel_allocator.rs2 arch::mm::LockedFrameAllocator,
4 mm::{MMArch, MemoryManagementArch, VirtAddr},
Dbump.rs6 use crate::mm::{MemoryManagementArch, PhysAddr, PhysMemoryArea};
Dpage_frame.rs7 arch::{mm::LockedFrameAllocator, MMArch},
8 mm::{MemoryManagementArch, PhysAddr, VirtAddr},
Dbuddy.rs7 use crate::mm::allocator::bump::BumpAllocator;
8 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage};
9 use crate::mm::{MemoryManagementArch, PhysAddr, VirtAddr};
/DragonOS-0.1.8/docs/kernel/memory_management/
Dmmio.md21 &emsp;&emsp;这套机制本质上是使用了伙伴系统来对MMIO虚拟地址空间进行维护。在`mm/mm.h`中指定了MMIO的虚拟地址空间范围,这个范围是`0xffffa10000000000`开始…
/DragonOS-0.1.8/kernel/src/syscall/
Duser_access.rs6 use crate::mm::{verify_area, VirtAddr};
/DragonOS-0.1.8/kernel/src/libs/
Dalign.rs6 use crate::{arch::MMArch, mm::MemoryManagementArch, syscall::SystemError, KERNEL_ALLOCATOR};
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dmod.rs12 use crate::mm::virt_2_phys;
Dhba.rs6 use crate::mm::phys_2_virt;
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs8 use crate::mm::kernel_mapper::KernelMapper;
9 use crate::mm::mmio_buddy::mmio_pool;
10 use crate::mm::page::PageFlags;
11 use crate::mm::{PhysAddr, VirtAddr};

12