Searched refs:addr_phys (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.7/kernel/src/mm/ |
D | mm.c | 173 p->addr_phys = addr_start + PAGE_2M_SIZE * j; in mm_init() 180 …*(memory_management_struct.bmp + ((p->addr_phys >> PAGE_2M_SHIFT) >> 6)) ^= (1UL << ((p->addr_phys… in mm_init() 188 memory_management_struct.pages_struct->addr_phys = 0UL; in mm_init() 219 page_num = tmp_page->addr_phys >> PAGE_2M_SHIFT; in mm_init() 358 …*(memory_management_struct.bmp + ((x->addr_phys >> PAGE_2M_SHIFT) >> 6)) |= (1UL << (x->addr_phys … in alloc_pages() 454 page_num = page->addr_phys >> PAGE_2M_SHIFT; in free_pages() 487 …p_proc_page_table((uint64_t)get_CR3(), true, (ul)phys_2_virt(p->addr_phys), p->addr_phys, PAGE_2M_… in page_table_init() 615 if (x->addr_phys == phys_addr) // 找到对应的页 in mm_find_page() 642 … mm_map(current_pcb->mm, i, PAGE_2M_SIZE, alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys); in mm_do_brk() 683 p->addr_phys = paddr; in __create_mmio_page_struct()
|
D | slab.c | 89 slab_pool->cache_pool_entry->vaddr = phys_2_virt(slab_pool->cache_pool_entry->page->addr_phys); in slab_create() 195 tmp_slab_obj->vaddr = phys_2_virt(tmp_slab_obj->page->addr_phys); in slab_malloc() 394 page_num = page->addr_phys >> PAGE_2M_SHIFT; in slab_init() 412 page_num = page->addr_phys >> PAGE_2M_SHIFT; in slab_init() 466 vaddr = phys_2_virt(page->addr_phys); in kmalloc_create_slab_obj() 518 slab_obj_ptr->vaddr = phys_2_virt(page->addr_phys); in kmalloc_create_slab_obj()
|
D | mm-types.h | 100 ul addr_phys; member
|
/DragonOS-0.1.7/kernel/src/driver/virtio/ |
D | virtio_impl.rs | 22 page.addr_phys as PhysAddr, in dma_alloc() 23 NonNull::new((page.addr_phys as PhysAddr + PAGE_OFFSET as usize) as _).unwrap(), in dma_alloc()
|
/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/ |
D | apic.h | 250 uint addr_phys; member
|
D | apic.c | 82 apic_ioapic_map.addr_phys = io_apic_ICS->IO_APIC_Address; in apic_io_apic_init() 89 … mm_map_phys_addr((ul)apic_ioapic_map.virtual_index_addr, apic_ioapic_map.addr_phys, PAGE_2M_SIZE, in apic_io_apic_init()
|
/DragonOS-0.1.7/kernel/src/libs/libUI/ |
D | screen_manager.c | 50 buf->vaddr = (uint64_t)phys_2_virt(p->addr_phys); in __create_buffer()
|
/DragonOS-0.1.7/kernel/src/process/ |
D | fork.c | 235 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_copy_mm()
|
D | process.c | 293 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_load_elf_file() 380 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_load_elf_file()
|