/DragonOS/docs/kernel/configuration/ |
H A D | config.md | 19 name = "mm" 20 path = "src/mm/" 35 **src/mm/d.config** 39 name = "mm" 44 path = "src/mm/allocator/" 69 **src/mm/allocator/d.config**
|
/DragonOS/docs/kernel/libs/lib_ui/ |
H A D | textui.md | 6 …打印文本信息,往窗口显示文本分成两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧缓冲区输出打印信息,不使用虚… 30 …tui_putchar()要处理两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧缓冲区输出打印信息,不使用虚…
|
/DragonOS/kernel/src/driver/net/ |
H A D | dma.rs | 1 use crate::arch::mm::kernel_page_flags; 5 use crate::mm::kernel_mapper::KernelMapper; 6 use crate::mm::page::{page_manager_lock_irqsave, EntryFlags}; 7 use crate::mm::{
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | ept.rs | 1 use crate::arch::mm::LockedFrameAllocator; 2 use crate::arch::mm::PageMapper; 4 use crate::mm::page::EntryFlags; 5 use crate::mm::{PageTableKind, PhysAddr, VirtAddr};
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio_impl.rs | 1 use crate::arch::mm::kernel_page_flags; 5 use crate::mm::kernel_mapper::KernelMapper; 6 use crate::mm::page::{page_manager_lock_irqsave, EntryFlags}; 7 use crate::mm::{
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | mod.rs | 10 pub mod mm; module 23 pub use self::mm::RiscV64MMArch as MMArch;
|
H A D | elf.rs | 1 use crate::{arch::MMArch, libs::elf::ElfArch, mm::MemoryManagementArch};
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | init.rs | 8 mm::{ 16 mm::{ 83 let mut mapper: crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>> = in riscv_mm_init() 84 crate::mm::page::PageMapper::<MMArch, _>::create( in riscv_mm_init() 147 let mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in riscv_mm_init() 181 mapper: &mut crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>>, in remap_at_low_address()
|
H A D | mod.rs | 9 mm::{ 27 pub type PageMapper = crate::mm::page::PageMapper<RiscV64MMArch, LockedFrameAllocator>; 132 const USER_END_VADDR: crate::mm::VirtAddr = VirtAddr::new(0x0000_003f_ffff_ffff); 134 const USER_BRK_START: crate::mm::VirtAddr = VirtAddr::new(0x0000_001f_ffff_ffff); 136 const USER_STACK_START: crate::mm::VirtAddr = VirtAddr::new(0x0000_001f_ffa0_0000); 194 let new_umapper: crate::mm::page::PageMapper<MMArch, LockedFrameAllocator> = unsafe { in setup_new_usermapper() 213 return Ok(crate::mm::ucontext::UserMapper::new(new_umapper)); in setup_new_usermapper() 252 _vma: alloc::sync::Arc<crate::mm::ucontext::LockedVMA>, in vma_access_permitted() 358 unsafe fn free(&mut self, address: crate::mm::PhysAddr, count: PageFrameCount) { in free()
|
H A D | bump.rs | 1 use crate::mm::{allocator::bump::BumpAllocator, MemoryManagementArch, PhysMemoryArea};
|
/DragonOS/kernel/src/arch/riscv64/pci/ |
H A D | mod.rs | 11 mm::PhysAddr, 28 fn address_pci_to_physical(pci_address: PciAddr) -> crate::mm::PhysAddr { in address_pci_to_physical()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | mod.rs | 14 pub mod mm; module 27 pub use self::mm::X86_64MMArch as MMArch;
|
H A D | fpu.rs | 18 mm: [u64; 16], field 36 mm: Default::default(), in default()
|
H A D | elf.rs | 1 use crate::{arch::MMArch, libs::elf::ElfArch, mm::MemoryManagementArch};
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 20 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage}; 21 use crate::mm::memblock::mem_block_manager; 22 use crate::mm::ucontext::LockedVMA; 25 mm::allocator::{buddy::BuddyAllocator, bump::BumpAllocator}, 28 use crate::mm::kernel_mapper::KernelMapper; 29 use crate::mm::page::{EntryFlags, PageEntry, PAGE_1G_SHIFT}; 30 use crate::mm::{MemoryManagementArch, PageTableKind, PhysAddr, VirtAddr, VmFlags}; 43 crate::mm::page::PageMapper<crate::arch::x86_64::mm::X86_64MMArch, LockedFrameAllocator>; 234 fn setup_new_usermapper() -> Result<crate::mm::ucontext::UserMapper, SystemError> { in setup_new_usermapper() 235 let new_umapper: crate::mm::page::PageMapper<X86_64MMArch, LockedFrameAllocator> = unsafe { in setup_new_usermapper() [all …]
|
H A D | fault.rs | 14 mm::{MemoryManagementArch, X86_64MMArch}, 19 mm::{ 30 crate::mm::page::PageMapper<crate::arch::x86_64::mm::X86_64MMArch, LockedFrameAllocator>; 76 unsafe { PageMapper::current(crate::mm::PageTableKind::User, LockedFrameAllocator) }; in show_fault_oops()
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 15 mm::{MMArch, MemoryManagementArch, PhysAddr}, 170 let mut mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in pseudo_map_phys_with_flags() 179 let flusher: crate::mm::page::PageFlush<MMArch> = in pseudo_map_phys_with_flags() 198 let mut mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in pseudo_unmap_phys()
|
H A D | kernel_mapper.rs | 6 mm::{LockedFrameAllocator, PageMapper}, 11 mm::{allocator::page_frame::PageFrameCount, MMArch, MemoryManagementArch},
|
/DragonOS/kernel/src/debug/klog/ |
H A D | mod.rs | 1 pub mod mm; module
|
/DragonOS/docs/community/code_contribution/ |
H A D | conventional-commit.md | 10 …river/net`中的特性追加,那么应当命名为`feat(driver/net):`,如果是发生在`kernel/src/mm/allocator`中,应当命名为`feat(mm)`,简而言之就…
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | kernel_allocator.rs | 4 arch::mm::LockedFrameAllocator, 5 debug::klog::mm::mm_debug_log, 7 mm::{MMArch, MemoryManagementArch, VirtAddr},
|
/DragonOS/kernel/src/arch/ |
H A D | mod.rs | 3 mm::PhysAddr,
|
/DragonOS/kernel/src/syscall/ |
H A D | misc.rs | 2 arch::{mm::LockedFrameAllocator, rand::rand}, 4 mm::allocator::{page_frame::FrameAllocator, slab::slab_usage},
|
/DragonOS/kernel/src/arch/x86_64/syscall/ |
H A D | mod.rs | 10 mm::VirtAddr, 19 mm::barrier::mfence,
|
/DragonOS/kernel/src/ |
H A D | lib.rs | 58 mod mm; module 95 use crate::mm::allocator::kernel_allocator::KernelAllocator;
|