/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 93 ASSERT(USERMODE(rp->r_tstate)); 175 asi = (uint_t)(rp->r_tstate >> TSTATE_ASI_SHIFT) & 573 usermode = USERMODE(rp->r_tstate); 586 if (USERMODE(rp->r_tstate)) 593 asi = (uint_t)(rp->r_tstate >> TSTATE_ASI_SHIFT) & 797 s1 = ((rp->r_tstate & TSTATE_IN) >> (TSTATE_CCR_SHIFT + 3)) ^ 798 ((rp->r_tstate & TSTATE_IV) >> (TSTATE_CCR_SHIFT + 1)); 813 rp->r_tstate &= ~TSTATE_ICC; 814 rp->r_tstate |= (uint64_t)((c >> 31) & 1) << (TSTATE_CCR_SHIFT + 0); 815 rp->r_tstate | [all...] |
H A D | xregs.c | 178 xregs->pr_un.pr_v8p.pr_tstate = rp->r_tstate; 298 rp->r_tstate &= ~((uint64_t)CCR_XCC << TSTATE_CCR_SHIFT); 299 rp->r_tstate |= xregs->pr_un.pr_v8p.pr_tstate & 301 rp->r_tstate &= ~((uint64_t)TSTATE_ASI_MASK << TSTATE_ASI_SHIFT); 302 rp->r_tstate |= xregs->pr_un.pr_v8p.pr_tstate &
|
H A D | v9dep.c | 340 rp->r_tstate &= ~(((uint64_t)TSTATE_CCR_MASK << TSTATE_CCR_SHIFT) | 342 rp->r_tstate |= tbits; 404 grp[REG_CCR] = (rp->r_tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; 423 grp[REG_ASI] = (rp->r_tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK; 441 grp[REG_PSR] = mkpsr(rp->r_tstate, fprs); 810 rp->r_tstate = TSTATE_USER32 | weakest_mem_model; 812 rp->r_tstate = TSTATE_USER64 | weakest_mem_model; 814 rp->r_tstate &= ~TSTATE_PEF; 1165 rp->r_tstate &= ~((uint64_t)TSTATE_ASI_MASK << TSTATE_ASI_SHIFT); 1166 rp->r_tstate | [all...] |
/illumos-gate/usr/src/uts/sparc/v9/fpu/ |
H A D | fpu.c | 224 if (USERMODE(rp->r_tstate)) { 438 if (USERMODE(rp->r_tstate)) { 513 if (USERMODE(rp->r_tstate)) {
|
H A D | uword.c | 210 } else if (USERMODE(pregs->r_tstate)) { /* locals and ins */ 270 } else if (USERMODE(pregs->r_tstate)) { /* locals and ins */
|
H A D | v9instr.c | 67 asi = (uint32_t)((pregs->r_tstate >> TSTATE_ASI_SHIFT) & 284 tstate = pregs->r_tstate;
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | generic.c | 235 if (!USERMODE(rp->r_tstate)) 244 asi = (uint32_t)((rp->r_tstate >> TSTATE_ASI_SHIFT) &
|
H A D | niagara.c | 276 if (!USERMODE(rp->r_tstate)) 285 asi = (uint32_t)((rp->r_tstate >> TSTATE_ASI_SHIFT) &
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_trap.c | 140 rp->r_tstate, sfmmu_getctx_sec()); 141 if (USERMODE(rp->r_tstate)) {
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | mach_trap.c | 155 rp->r_tstate, sfmmu_getctx_sec()); 156 if (USERMODE(rp->r_tstate)) {
|
/illumos-gate/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 209 lwptoregs(lwp)->r_tstate = TSTATE_USER64|TSTATE_MM_TSO; 211 lwptoregs(lwp)->r_tstate = TSTATE_USER32|TSTATE_MM_TSO; 213 lwptoregs(lwp)->r_tstate &= ~TSTATE_PEF; 293 dest[R_CCR] = ((r->r_tstate >> TSTATE_CCR_SHIFT) & CCR_XCC) | 300 dest[R_ASI] = (r->r_tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK; 380 if (r->r_tstate & TSTATE_IC)
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | trap.c | 178 if (USERMODE(rp->r_tstate) || (type & T_USER)) { 1377 if (USERMODE(rp->r_tstate)) { 1622 if (USERMODE(rp->r_tstate)) 1636 asi = (uint_t)((rp->r_tstate >> TSTATE_ASI_SHIFT) & 1642 as = USERMODE(rp->r_tstate) ? ttoproc(curthread)->p_as : &kas; 1907 if (USERMODE(rp->r_tstate))
|
H A D | visinstr.c | 95 ASSERT(USERMODE(pregs->r_tstate)); 397 if ((pregs->r_tstate & TSTATE_AM) != 0) { 534 pregs->r_tstate &= ~((uint64_t)TSTATE_CCR_MASK 537 pregs->r_tstate |= ((uint64_t)ccr << TSTATE_CCR_SHIFT); 1382 ASSERT(USERMODE(pregs->r_tstate));
|
H A D | startup.c | 710 (void *)&sync_reg_buf.r_tstate, (void *)&sync_reg_buf.r_g1,
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | dtrace_isa.c | 762 return ((rp->r_tstate >> TSTATE_CCR_SHIFT) & 771 return ((rp->r_tstate >> TSTATE_ASI_SHIFT) &
|
H A D | fasttrap_isa.c | 675 uint_t ccr = rp->r_tstate >> TSTATE_CCR_SHIFT;
|
/illumos-gate/usr/src/uts/sparc/v9/sys/ |
H A D | privregs.h | 48 long long r_tstate; member in struct:regs 72 #define r_ps r_tstate
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | syscall.c | 609 rp->r_tstate &= ~TSTATE_IC; 632 rp->r_tstate |= TSTATE_IC;
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif.c | 904 regs.r_tstate = kaif_cb_save.krs_tstate;
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | sparcv9_subr.s | 1642 ! The v9 struct regs has a 64-bit r_tstate field, which we use here 1730 ! The v9 struct regs has a 64-bit r_tstate field, which we use here
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus.c | 1945 aflt->flt_priv = (uchar_t)(tl == 1 ? 1 : ((rp->r_tstate & 2125 aflt->flt_priv = (uchar_t)(tl == 1 ? 1 : ((rp->r_tstate & TSTATE_PRIV) ?
|
H A D | us3_cheetahplus.c | 1024 aflt->flt_priv = (rp->r_tstate & TSTATE_PRIV) ? 1 : 0;
|
H A D | us3_common.c | 1330 (rp->r_tstate & TSTATE_PRIV) ? 1 : 0, 0, ceen, nceen, clop); 1681 aflt->flt_priv = (rp->r_tstate & TSTATE_PRIV) ? 1 : 0; 1821 aflt->flt_priv = (rp->r_tstate & TSTATE_PRIV) ? 1 : 0; 2114 aflt->flt_priv = (tl || (rp->r_tstate & TSTATE_PRIV)) ? 1 : 0;
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | mach_locore.s | 60 ! REGOFF must add up to allow double word access to r_tstate.
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | mach_locore.s | 60 ! REGOFF must add up to allow double word access to r_tstate.
|