Home
last modified time | relevance | path

Searched refs:mm_map (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/acpi/
Dacpi.c182 mm_map(&initial_mm, acpi_rsdt_virt_addr_base, PAGE_2M_SIZE, paddr); in acpi_init()
204 mm_map(&initial_mm, acpi_description_header_base, PAGE_2M_SIZE, paddr); in acpi_init()
220 mm_map(&initial_mm, acpi_rsdt_virt_addr_base, PAGE_2M_SIZE, paddr); in acpi_init()
243 mm_map(&initial_mm, acpi_description_header_base, PAGE_2M_SIZE, paddr); in acpi_init()
/DragonOS-0.1.7/docs/kernel/memory_management/
Dmmio.md35   在得到了虚拟地址空间之后,当我们尝试往这块地址空间内映射内存时,我们可以调用`mm_map`函数,对这块区域进行映射。
/DragonOS-0.1.7/kernel/src/mm/
Dmm.h478 int mm_map(struct mm_struct *mm, uint64_t vaddr, uint64_t length, uint64_t paddr);
Dmmap.c473 int mm_map(struct mm_struct *mm, uint64_t vaddr, uint64_t length, uint64_t paddr) in mm_map() function
Dmm.c642mm_map(current_pcb->mm, i, PAGE_2M_SIZE, alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys); in mm_do_brk()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.c302 mm_map(current_pcb->mm, virt_base, PAGE_2M_SIZE, pa); in process_load_elf_file()
324 mm_map(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, paddr); in process_load_elf_file()
/DragonOS-0.1.7/kernel/src/driver/pci/
Dmsi.c99 mm_map(&initial_mm, pci_dev->msix_mmio_vaddr, pci_dev->msix_mmio_size, bar); in __msix_map_table()
Dpci.rs6 initial_mm, mm_map, mm_struct, PAGE_2M_SIZE, VM_DONTCOPY, VM_IO,
562 mm_map( in map()
1341 mm_map(initial_mm_ptr, virtaddress, size as u64, address); in pci_bar_init()