Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c225 int vcolor, vcolor_pa; in hat_kpm_page2va() local
231 vcolor_pa = addr_to_vcolor(paddr); in hat_kpm_page2va()
234 vcolor = (PP_ISNC(pp)) ? vcolor_pa : PP_GET_VCOLOR(pp); in hat_kpm_page2va()
240 if (vcolor_pa != vcolor) { in hat_kpm_page2va()
241 vaddr += ((uintptr_t)(vcolor - vcolor_pa) << MMU_PAGESHIFT); in hat_kpm_page2va()
242 vaddr += (vcolor_pa > vcolor) ? in hat_kpm_page2va()
243 ((uintptr_t)vcolor_pa << kpm_size_shift) : in hat_kpm_page2va()
244 ((uintptr_t)(vcolor - vcolor_pa) << kpm_size_shift); in hat_kpm_page2va()
1112 int vcolor, vcolor_pa; in sfmmu_kpm_getvaddr() local
1120 vcolor_pa = addr_to_vcolor(paddr); in sfmmu_kpm_getvaddr()
[all …]