/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | pte.h | 111 #define TTE_CSZ(ttep) ((ttep)->tte_size) argument 128 #define TTE_TO_TTEPFN(ttep) \ argument 129 ((((ttep)->tte_pahi << TTE_PASHIFT) | (ttep)->tte_palo) & \ 130 TTE_PFNMASK(TTE_CSZ(ttep))) 134 #define TTE_TO_PFN(vaddr, ttep) \ argument 135 (sfmmu_ttetopfn(ttep, vaddr)) 222 #define MAKE_TTE_MASK(ttep) \ argument 224 (ttep)->tte_bit.v = 1; \ 225 (ttep)->tte_bit.nfo = 1; \ 226 (ttep)->tte_bit.pahi = 0xffffff; \ [all …]
|
/titanic_41/usr/src/uts/sun4u/sys/ |
H A D | pte.h | 132 #define TTE_CSZ(ttep) (((ttep)->tte_size2 << 2) | ((ttep)->tte_size)) argument 159 #define TTE_TO_TTEPFN(ttep) \ argument 160 (((((pfn_t)((ttep)->tte_pahi)) << TTE_PASHIFT) | \ 161 (ttep)->tte_palo) & TTE_PFNMASK(TTE_CSZ(ttep))) 165 #define TTE_TO_PFN(vaddr, ttep) \ argument 166 (sfmmu_ttetopfn(ttep, vaddr)) 264 #define MAKE_TTE_MASK(ttep) \ argument 266 (ttep)->tte_bit.v = 1; \ 267 (ttep)->tte_bit.sz = 3; \ 268 (ttep)->tte_bit.nfo = 1; \ [all …]
|
H A D | zulu_hat.h | 66 #define ZULU_HAT_ADJ_PFN(ttep, vaddr) \ argument 67 ((ttep->zulu_tte_pfn & ~ZULU_HAT_PFN_MASK(ttep->zulu_tte_size)) | \ 69 ZULU_HAT_PFN_MASK(ttep->zulu_tte_size)))
|
/titanic_41/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 254 tte_t tte, oldtte, *ttep; in sfmmu_map_prom_mappings() local 264 ttep = &tte; in sfmmu_map_prom_mappings() 277 ttep->tte_inthi = promt->tte_hi; in sfmmu_map_prom_mappings() 278 ttep->tte_intlo = promt->tte_lo; in sfmmu_map_prom_mappings() 281 if (TTE_IS_GLOBAL(ttep)) { in sfmmu_map_prom_mappings() 289 TTE_SET_LOFLAGS(ttep, TTE_GLB_INT, 0); in sfmmu_map_prom_mappings() 292 if (TTE_IS_LOCKED(ttep)) { in sfmmu_map_prom_mappings() 294 TTE_CLR_LOCKED(ttep); in sfmmu_map_prom_mappings() 296 attr |= (TTE_IS_VCACHEABLE(ttep)) ? 0 : SFMMU_UNCACHEVTTE; in sfmmu_map_prom_mappings() 297 attr |= (TTE_IS_PCACHEABLE(ttep)) ? 0 : SFMMU_UNCACHEPTTE; in sfmmu_map_prom_mappings() [all …]
|
/titanic_41/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 2674 sfmmu_memtte(tte_t *ttep, pfn_t pfn, uint_t attr, int tte_sz) in sfmmu_memtte() argument 2678 ttep->tte_inthi = MAKE_TTE_INTHI(pfn, attr, tte_sz, 0 /* hmenum */); in sfmmu_memtte() 2679 ttep->tte_intlo = MAKE_TTE_INTLO(pfn, attr, tte_sz, 0 /* hmenum */); in sfmmu_memtte() 2681 if (TTE_IS_NOSYNC(ttep)) { in sfmmu_memtte() 2682 TTE_SET_REF(ttep); in sfmmu_memtte() 2683 if (TTE_IS_WRITABLE(ttep)) { in sfmmu_memtte() 2684 TTE_SET_MOD(ttep); in sfmmu_memtte() 2687 if (TTE_IS_NFO(ttep) && TTE_IS_EXECUTABLE(ttep)) { in sfmmu_memtte() 2703 sfmmu_tteload(struct hat *sfmmup, tte_t *ttep, caddr_t vaddr, page_t *pp, in sfmmu_tteload() argument 2707 (void) sfmmu_tteload_array(sfmmup, ttep, vaddr, &pp, flags, in sfmmu_tteload() [all …]
|
H A D | hat_sfmmu.h | 1440 #define tte_to_evaddr(hmeblkp, ttep) ((caddr_t)(get_hblk_base(hmeblkp) \ argument 1441 + (TTEBYTES(TTE_CSZ(ttep)) * ((ttep)->tte_hmenum + 1))))
|
/titanic_41/usr/src/uts/sun4u/os/ |
H A D | cpr_impl.c | 329 i_cpr_lnb(int index, tte_t *ttep, uint64_t va_tag, void *ctrans) in i_cpr_lnb() argument 339 if (TTE_IS_LOCKED(ttep) && (va_tag == (uint64_t)textva || in i_cpr_lnb() 346 ctip->dst->tte.ll = ttep->ll; in i_cpr_lnb() 360 i_cpr_ufw(int index, tte_t *ttep, uint64_t va_tag, void *ctrans) in i_cpr_ufw() argument 365 if (!TTE_IS_LOCKED(ttep) && WITHIN_OFW(va_tag)) { in i_cpr_ufw()
|
/titanic_41/usr/src/uts/sfmmu/ml/ |
H A D | sfmmu_kdi.s | 256 kdi_vatotte(uintptr_t va, int cnum, tte_t *ttep)
|
H A D | sfmmu_asm.s | 963 sfmmu_load_tsbe(struct tsbe *tsbep, uint64_t vaddr, tte_t *ttep, int phys) 975 sfmmu_kpm_load_tsb(caddr_t addr, tte_t *ttep, int vpshift) 3883 sfmmu_vatopfn(caddr_t vaddr, sfmmu_t *sfmmup, tte_t *ttep)
|