Searched refs:initial_mm (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.5/kernel/src/mm/ |
D | mm.c | 15 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 …]
|
D | mmio_buddy.rs | 5 initial_mm, mm_create_vma, mm_unmap, vm_area_del, vm_area_free, vm_area_struct, vm_flags_t, 488 &mut initial_mm, in create_mmio() 518 &mut initial_mm, in create_mmio() 560 mm_unmap(&mut initial_mm, vaddr, length, false); in release_mmio() 568 let vma: *mut vm_area_struct = unsafe { vma_find(&mut initial_mm, vaddr + loop_i) }; in release_mmio()
|
/DragonOS-0.1.5/kernel/src/driver/acpi/ |
D | acpi.c | 166 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.5/docs/kernel/memory_management/ |
D | mmio.md | 28 4. 创建VMA,并将VMA标记为`VM_IO|VM_DONTCOPY`。MMIO的vma只绑定在`initial_mm`下,且不会被拷贝。 188 | mmio_create(size,vm_flags,res_vaddr,res_length) | 创建一块根据size对齐后的大小的mmio区域,并将其vma绑定到initial_mm |
|
/DragonOS-0.1.5/kernel/src/process/ |
D | process.h | 184 extern struct mm_struct initial_mm;
|
D | process.c | 42 extern struct mm_struct initial_mm; 55 ….mm = &initial_mm, .thread = &initial_thread, .addr_limit = 0xffffffffffffffff, .pid = 0, .priorit…
|
/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.rs | 2 initial_mm, mm_map, mm_struct, pci_read_config, pci_write_config, VM_DONTCOPY, VM_IO, 393 let initial_mm_ptr = &mut initial_mm as *mut mm_struct; in pci_bar_init()
|
D | msi.c | 99 mm_map(&initial_mm, pci_dev->msix_mmio_vaddr, pci_dev->msix_mmio_size, bar); in __msix_map_table()
|
/DragonOS-0.1.5/kernel/src/smp/ |
D | smp.c | 167 current_pcb->mm = &initial_mm; in smp_ap_start()
|