Lines Matching defs:vaddr
276 addr64_t paddr, vaddr, colladdr;
283 vaddr = paddr + lowGlo.lgPMWvaddr; /* Get starting virtual address */
289 colladdr = mapping_make(kernel_pmap, vaddr, (paddr >> 12),
294 vaddr, (paddr >> 12), (msize >> 12), colladdr);
297 vaddr = vaddr + (uint64_t)msize; /* Point to the next virtual addr */
314 addr64_t vaddr, colladdr, msize;
316 vaddr = paddr + lowGlo.lgPMWvaddr; /* Get starting virtual address */
322 colladdr = mapping_make(kernel_pmap, vaddr, (paddr >> 12),
327 vaddr, (paddr >> 12), (msize >> 12), colladdr);
330 vaddr = vaddr + (uint64_t)msize; /* Point to the next virtual addr */
739 pmap->pmapVmmExt = NULL; /* Clear VMM extension block vaddr */
1681 mp->mpNestReloc = nstart - vstart; /* Set grand to nested vaddr relocation value */
1695 * kern_return_t pmap_unnest(grand, vaddr, size)
1698 * vaddr = start of range in pmap to be unnested
1706 kern_return_t pmap_unnest(pmap_t grand, addr64_t vaddr, uint64_t size) {
1714 (vaddr & (pmap_nesting_size_min-1))) {
1715 panic("pmap_unnest(vaddr=0x%016llx, size=0x016%llx): "
1717 vaddr, size);
1722 mp = mapping_find(grand, vaddr, &nextva, 0); /* Find the nested map */
1725 panic("pmap_unnest: Attempt to unnest an unnested segment - va = %016llX\n", vaddr);
1729 panic("pmap_unnest: Attempt to unnest something that is not a nest - va = %016llX\n", vaddr);
1732 if(mp->mpVAddr != vaddr) { /* Make sure the address is the same */
1733 panic("pmap_unnest: Attempt to unnest something that is not at start of nest - va = %016llX\n", vaddr);
1742 (void)mapping_remove(grand, vaddr); /* Toss the nested pmap mapping */
1967 return (vm_last_addr + 1); /* Return the vaddr we just allocated */