Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/acpi/
Dacpi.c178 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_rsdt_virt_addr_base, &size); in acpi_init()
196 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_description_header_base, &size); in acpi_init()
215 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_rsdt_virt_addr_base, &size); in acpi_init()
235 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_description_header_base, &size); in acpi_init()
/DragonOS-0.1.7/docs/kernel/memory_management/
Dmmio.md28 4. 创建VMA,并将VMA标记为`VM_IO|VM_DONTCOPY`。MMIO的vma只绑定在`initial_mm`下,且不会被拷贝。
/DragonOS-0.1.7/kernel/src/mm/
Dmmap.c369 if (vma->vm_flags & VM_IO) // 对于mmio的内存,创建新的page结构体 in mm_map_vma()
454 if (vma->vm_flags & VM_IO) in mm_map_vma()
Dmmio_buddy.rs8 PAGE_4K_SIZE, VM_DONTCOPY, VM_IO,
477 let flags: u64 = vm_flags | (VM_IO | VM_DONTCOPY) as u64; in create_mmio()
Dmm.h307 #define VM_IO (1 << 4) // MMIO的内存区域 macro
/DragonOS-0.1.7/kernel/src/driver/pci/
Dmsi.c92 …mmio_create(pci_dev->msix_mmio_size, VM_IO | VM_DONTCOPY, &pci_dev->msix_mmio_vaddr, &pci_dev->msi… in __msix_map_table()
Dpci.rs6 initial_mm, mm_map, mm_struct, PAGE_2M_SIZE, VM_DONTCOPY, VM_IO,
556 MMIO_POOL.create_mmio(size, (VM_IO | VM_DONTCOPY) as u64, vaddr_ptr, virtsize_ptr) in map()
1333 (VM_IO | VM_DONTCOPY) as u64, in pci_bar_init()