Lines Matching defs:kernel_pmap
153 pmap_t kernel_pmap; /* Pointer to kernel pmap and anchor for in-use pmaps */
255 colladr = mapping_make(kernel_pmap, (addr64_t)va, (ppnum_t)(spa >> 12),
289 colladdr = mapping_make(kernel_pmap, vaddr, (paddr >> 12),
322 colladdr = mapping_make(kernel_pmap, vaddr, (paddr >> 12),
364 kernel_pmap = &kernel_pmap_store;
368 kernel_pmap->pmap_link.next = (queue_t)kernel_pmap; /* Set up anchor forward */
369 kernel_pmap->pmap_link.prev = (queue_t)kernel_pmap; /* Set up anchor reverse */
370 kernel_pmap->ref_count = 1;
371 kernel_pmap->pmapFlags = pmapKeyDef; /* Set the default keys */
372 kernel_pmap->pmapFlags |= pmapNXdisabled;
373 kernel_pmap->pmapCCtl = pmapCCtlVal; /* Initialize cache control */
374 kernel_pmap->space = PPC_SID_KERNEL;
375 kernel_pmap->pmapvr = 0; /* Virtual = Real */
509 pmapTrans[PPC_SID_KERNEL].pmapPAddr = (addr64_t)((uintptr_t)kernel_pmap); /* Initialize the kernel pmap in the translate table */
510 pmapTrans[PPC_SID_KERNEL].pmapVAddr = CAST_DOWN(unsigned int, kernel_pmap); /* Initialize the kernel pmap in the translate table */
681 * the free list and the in use chain (anchored from kernel_pmap).
731 physpmap = ((addr64_t)pmap_find_phys(kernel_pmap, (addr64_t)((uintptr_t)pmap)) << 12) | (addr64_t)((unsigned int)pmap & 0xFFF); /* Get the physical address of the pmap */
1814 nlists = mapSetLists(kernel_pmap); /* Set number of lists this will be on */
1820 mp->mpSpace = kernel_pmap->space; /* Set the address space/pmap lookup ID */
1827 colladdr = hw_add_map(kernel_pmap, mp); /* Go add the mapping to the pmap */
1990 cpphys = pmap_find_phys(kernel_pmap, (addr64_t)cpg + cpoff);