Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dmm.c173 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()
Dslab.c89 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()
Dmm-types.h100 ul addr_phys; member
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic.h250 uint addr_phys; member
Dapic.c80 apic_ioapic_map.addr_phys = io_apic_ICS->IO_APIC_Address; in apic_io_apic_init()
87 …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.2/kernel/src/libs/libUI/
Dscreen_manager.c50 buf->vaddr = (uint64_t)phys_2_virt(p->addr_phys); in __create_buffer()
/DragonOS-0.1.2/kernel/src/process/
Dprocess.c263 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_load_elf_file()
324 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_load_elf_file()
Dfork.c260 uint64_t pa = alloc_pages(ZONE_NORMAL, 1, PAGE_PGT_MAPPED)->addr_phys; in process_copy_mm()