Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/acpi/
Dacpi.c166 mm_map(&initial_mm, acpi_rsdt_virt_addr_base, PAGE_2M_SIZE, paddr); in acpi_init()
188 mm_map(&initial_mm, acpi_description_header_base, PAGE_2M_SIZE, paddr); in acpi_init()
204 mm_map(&initial_mm, acpi_rsdt_virt_addr_base, PAGE_2M_SIZE, paddr); in acpi_init()
227 mm_map(&initial_mm, acpi_description_header_base, PAGE_2M_SIZE, paddr); in acpi_init()
/DragonOS-0.1.2/docs/kernel/memory_management/
Dmmio.md35   在得到了虚拟地址空间之后,当我们尝试往这块地址空间内映射内存时,我们可以调用`mm_map`函数,对这块区域进行映射。
/DragonOS-0.1.2/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.2/kernel/src/process/
Dprocess.c272 mm_map(current_pcb->mm, virt_base, PAGE_2M_SIZE, pa); in process_load_elf_file()
294 mm_map(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, paddr); in process_load_elf_file()
/DragonOS-0.1.2/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()