Lines Matching defs:phys
325 * virt and phys pages, and creates mappings with a "map" request;
329 * to solve the "map" problem, we just reserve virt and phys pages and
345 physaddr_t phys, dst_phys;
369 * alloc virt and phys space with 512K alignment;
375 phys = 0;
376 err = cb_alloc(alsize, MMU_PAGESIZE512K, &sfile.buf, &phys);
378 " virt 0x%p, phys 0x%llx\n",
379 str, alsize, sfile.size, (void *)sfile.buf, phys));
387 * record low and high phys page numbers for sfile.buf
389 sfile.low_ppn = ADDR_TO_PN(phys);
393 * setup destination virt and phys addrs for reads;
398 dst_phys = phys;
443 * free up any unused phys pages trailing the statefile buffer;
448 prom_free_phys(len, phys + sfile.size);
449 CB_VPRINTF(("%s: freed %ld phys pages (0x%llx - 0x%llx)\n",
451 (unsigned long long)(phys + sfile.size),
452 (unsigned long long)(phys + alsize)));
555 * relocate cprboot phys pages