Home
last modified time | relevance | path

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

123456

/DragonOS/docs/kernel/configuration/
H A Dconfig.md19 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 Dtextui.md6 …打印文本信息,往窗口显示文本分成两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧缓冲区输出打印信息,不使用虚…
30 …tui_putchar()要处理两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧缓冲区输出打印信息,不使用虚…
/DragonOS/kernel/src/driver/net/
H A Ddma.rs1 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 Dept.rs1 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 Dvirtio_impl.rs1 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 Dmod.rs10 pub mod mm; module
23 pub use self::mm::RiscV64MMArch as MMArch;
H A Delf.rs1 use crate::{arch::MMArch, libs::elf::ElfArch, mm::MemoryManagementArch};
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs8 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 Dmod.rs9 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 Dbump.rs1 use crate::mm::{allocator::bump::BumpAllocator, MemoryManagementArch, PhysMemoryArea};
/DragonOS/kernel/src/arch/riscv64/pci/
H A Dmod.rs11 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 Dmod.rs14 pub mod mm; module
27 pub use self::mm::X86_64MMArch as MMArch;
H A Dfpu.rs18 mm: [u64; 16], field
36 mm: Default::default(), in default()
H A Delf.rs1 use crate::{arch::MMArch, libs::elf::ElfArch, mm::MemoryManagementArch};
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs20 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 Dfault.rs14 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 Dno_init.rs15 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 Dkernel_mapper.rs6 mm::{LockedFrameAllocator, PageMapper},
11 mm::{allocator::page_frame::PageFrameCount, MMArch, MemoryManagementArch},
/DragonOS/kernel/src/debug/klog/
H A Dmod.rs1 pub mod mm; module
/DragonOS/docs/community/code_contribution/
H A Dconventional-commit.md10 …river/net`中的特性追加,那么应当命名为`feat(driver/net):`,如果是发生在`kernel/src/mm/allocator`中,应当命名为`feat(mm)`,简而言之就…
/DragonOS/kernel/src/mm/allocator/
H A Dkernel_allocator.rs4 arch::mm::LockedFrameAllocator,
5 debug::klog::mm::mm_debug_log,
7 mm::{MMArch, MemoryManagementArch, VirtAddr},
/DragonOS/kernel/src/arch/
H A Dmod.rs3 mm::PhysAddr,
/DragonOS/kernel/src/syscall/
H A Dmisc.rs2 arch::{mm::LockedFrameAllocator, rand::rand},
4 mm::allocator::{page_frame::FrameAllocator, slab::slab_usage},
/DragonOS/kernel/src/arch/x86_64/syscall/
H A Dmod.rs10 mm::VirtAddr,
19 mm::barrier::mfence,
/DragonOS/kernel/src/
H A Dlib.rs58 mod mm; module
95 use crate::mm::allocator::kernel_allocator::KernelAllocator;

123456