/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | mod.rs | 8 pub mod mm; module 18 pub use self::mm::X86_64MMArch as MMArch;
|
D | fpu.rs | 31 mm: [u64; 16], field 49 mm: Default::default(), in default()
|
D | syscall.rs | 13 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/ |
D | mod.rs | 17 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/ |
D | virtio_impl.rs | 1 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/ |
D | kernel_mapper.rs | 4 mm::{LockedFrameAllocator, PageMapper}, 9 mm::allocator::page_frame::PageFrameCount, 10 mm::{MMArch, MemoryManagementArch},
|
D | no_init.rs | 11 use crate::mm::{MMArch, MemoryManagementArch, PhysAddr}; 63 let mut mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in pseudo_map_phys()
|
D | c_adapter.rs | 9 arch::mm::LowAddressRemapping, 13 mm::MMArch,
|
D | syscall.rs | 9 mm::MemoryManagementArch,
|
D | mmio_buddy.rs | 2 use crate::mm::kernel_mapper::KernelMapper; 8 mm::{MMArch, MemoryManagementArch},
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | mod.rs | 4 mm::INITIAL_PROCESS_ADDRESS_SPACE,
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 34 mod mm; module 57 use crate::mm::allocator::kernel_allocator::KernelAllocator;
|
/DragonOS-0.1.8/kernel/src/process/ |
D | mod.rs | 9 mm::{
|
D | process.h | 161 asm volatile("movq %0, %%cr3 \n\t" ::"r"(next_pcb->mm->pgd) \
|
D | exec.rs | 12 mm::{
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | kernel_allocator.rs | 2 arch::mm::LockedFrameAllocator, 4 mm::{MMArch, MemoryManagementArch, VirtAddr},
|
D | bump.rs | 6 use crate::mm::{MemoryManagementArch, PhysAddr, PhysMemoryArea};
|
D | page_frame.rs | 7 arch::{mm::LockedFrameAllocator, MMArch}, 8 mm::{MemoryManagementArch, PhysAddr, VirtAddr},
|
D | buddy.rs | 7 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/ |
D | mmio.md | 21   这套机制本质上是使用了伙伴系统来对MMIO虚拟地址空间进行维护。在`mm/mm.h`中指定了MMIO的虚拟地址空间范围,这个范围是`0xffffa10000000000`开始…
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | user_access.rs | 6 use crate::mm::{verify_area, VirtAddr};
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | align.rs | 6 use crate::{arch::MMArch, mm::MemoryManagementArch, syscall::SystemError, KERNEL_ALLOCATOR};
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | mod.rs | 12 use crate::mm::virt_2_phys;
|
D | hba.rs | 6 use crate::mm::phys_2_virt;
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 8 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};
|