Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dmmio.c57 … retval = mm_create_vma(&initial_mm, buddy_region->vaddr + i, PAGE_2M_SIZE, vm_flags, NULL, NULL); in mmio_create()
64 … retval = mm_create_vma(&initial_mm, buddy_region->vaddr + i, PAGE_4K_SIZE, vm_flags, NULL, NULL); in mmio_create()
86 mm_unmap(&initial_mm, vaddr, length, false); in mmio_release()
91 struct vm_area_struct *vma = vma_find(&initial_mm, vaddr + i); in mmio_release()
Dmm.c15 struct mm_struct initial_mm = {0}; variable
233 initial_mm.pgd = (pml4t_t *)get_CR3(); in mm_init()
235 initial_mm.code_addr_start = memory_management_struct.kernel_code_start; in mm_init()
236 initial_mm.code_addr_end = memory_management_struct.kernel_code_end; in mm_init()
238 initial_mm.data_addr_start = (ul)&_data; in mm_init()
239 initial_mm.data_addr_end = memory_management_struct.kernel_data_end; in mm_init()
241 initial_mm.rodata_addr_start = (ul)&_rodata; in mm_init()
242 initial_mm.rodata_addr_end = (ul)&_erodata; in mm_init()
243 initial_mm.bss_start = (uint64_t)&_bss; in mm_init()
244 initial_mm.bss_end = (uint64_t)&_ebss; in mm_init()
[all …]
/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.md28 4. 创建VMA,并将VMA标记为`VM_IO|VM_DONTCOPY`。MMIO的vma只绑定在`initial_mm`下,且不会被拷贝。
/DragonOS-0.1.2/kernel/src/process/
Dprocess.h184 extern struct mm_struct initial_mm;
Dprocess.c46 extern struct mm_struct initial_mm;
58 ….mm = &initial_mm, .thread = &initial_thread, .addr_limit = 0xffffffffffffffff, .pid = 0, .priorit…
/DragonOS-0.1.2/kernel/src/smp/
Dsmp.c161 current_pcb->mm = &initial_mm; in smp_ap_start()
/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()