V2P 64 kalloc.c if((uint)v % PGSIZE || v < end || V2P(v) >= PHYSTOP) V2P 87 main.c *(int**)(code-12) = (void *) V2P(entrypgdir); V2P 89 main.c lapicstartap(c->apicid, V2P(code)); V2P 52 vm.c *pde = V2P(pgtab) | PTE_P | PTE_W | PTE_U; V2P 112 vm.c { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kern text+rodata V2P 113 vm.c { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kern data+memory V2P 152 vm.c lcr3(V2P(kpgdir)); // switch to the kernel page table V2P 176 vm.c lcr3(V2P(p->pgdir)); // switch to process's address space V2P 191 vm.c mappages(pgdir, 0, PGSIZE, V2P(mem), PTE_W|PTE_U); V2P 241 vm.c if(mappages(pgdir, (char*)a, PGSIZE, V2P(mem), PTE_W|PTE_U) < 0){ V2P 335 vm.c if(mappages(d, (void*)i, PGSIZE, V2P(mem), flags) < 0) {