Home
last modified time | relevance | path

Searched refs:V2P (Results 1 – 4 of 4) sorted by relevance

/xv6-public/
H A Dvm.c52 *pde = V2P(pgtab) | PTE_P | PTE_W | PTE_U; in walkpgdir()
112 { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kern text+rodata
113 { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kern data+memory
152 lcr3(V2P(kpgdir)); // switch to the kernel page table in switchkvm()
176 lcr3(V2P(p->pgdir)); // switch to process's address space in switchuvm()
191 mappages(pgdir, 0, PGSIZE, V2P(mem), PTE_W|PTE_U); in inituvm()
241 if(mappages(pgdir, (char*)a, PGSIZE, V2P(mem), PTE_W|PTE_U) < 0){ in allocuvm()
335 if(mappages(d, (void*)i, PGSIZE, V2P(mem), flags) < 0) { in copyuvm()
H A Dmain.c87 *(int**)(code-12) = (void *) V2P(entrypgdir); in startothers()
89 lapicstartap(c->apicid, V2P(code)); in startothers()
H A Dmemlayout.h11 #define V2P(a) (((uint) (a)) - KERNBASE) macro
H A Dkalloc.c64 if((uint)v % PGSIZE || v < end || V2P(v) >= PHYSTOP) in kfree()