Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mdb/sun4v/v9/kmdb/
H A Dmach_asmutil.h39 rdpr %cwp, scr1; /* save current %cwp */ \
40 wrpr %g0, 0x1f, %cwp; \
41 rdpr %cwp, reg1; \
42 wrpr %g0, scr1, %cwp /* restore current %cwp */
/titanic_50/usr/src/uts/sun4v/ml/
H A Dwbuf.s88 ! spill traps increment %cwp by 2,
89 ! but user_trap wants the trap %cwp
94 wrpr %g0, %g5, %cwp
224 ! spill traps increment %cwp by 2,
225 ! but user_trap wants the trap %cwp
230 wrpr %g0, %g5, %cwp
413 ! sys_trap wants %cwp to be the same as when the trap occured,
419 wrpr %g0, %g5, %cwp
H A Dmach_locore.s257 ! Write 0x1f (MAX_REG_WINDOWS) to %cwp and read back to get
259 rdpr %cwp, %g2 ! save current %cwp
260 wrpr %g0, 0x1f, %cwp
261 rdpr %cwp, %g1 ! %g1 = nwin - 1
262 wrpr %g0, %g2, %cwp ! restore current %cwp
423 ! force tl=1, update %cwp, branch to correct handler
431 wrpr %g0, %g6, %cwp
1033 rdpr %cwp, %g1
1040 ! set %tstate to the correct %cwp
1043 rdpr %cwp, %g1
H A Dmach_proc_init.s79 wrpr %g0, 0, %cwp
H A Dtrap_table.s1557 rdpr %tstate, %g1 ! cwp for trap handler
1558 rdpr %cwp, %g4
1642 rdpr %tstate, %g2 ! cwp for trap handler
1643 rdpr %cwp, %g4
1901 rdpr %cwp, %g6 ! %g6 = %cwp
1904 wrpr %g6, %cwp
1916 retry ! restores correct %cwp
/titanic_50/usr/src/uts/sun4u/ml/
H A Dwbuf.s87 ! spill traps increment %cwp by 2,
88 ! but user_trap wants the trap %cwp
93 wrpr %g0, %g5, %cwp
221 ! spill traps increment %cwp by 2,
222 ! but user_trap wants the trap %cwp
227 wrpr %g0, %g5, %cwp
351 ! sys_trap wants %cwp to be the same as when the trap occured,
357 wrpr %g0, %g5, %cwp
H A Dmach_locore.s407 ! force tl=1, update %cwp, branch to correct handler
414 wrpr %g0, %g6, %cwp
868 ! set %tstate to the correct %cwp
871 rdpr %cwp, %g1
H A Dtrap_table.s1784 rdpr %tstate, %g1 ! cwp for trap handler
1785 rdpr %cwp, %g4
1869 rdpr %tstate, %g2 ! cwp for trap handler
1870 rdpr %cwp, %g4
2133 rdpr %cwp, %g6 ! %g6 = %cwp
2136 wrpr %g6, %cwp
2148 retry ! restores correct %cwp
/titanic_50/usr/src/cmd/sgs/yacc/common/
H A Dy1.c71 int cwp; variable
1031 cwp = 0; in closure()
1033 wsets[cwp].pitem = p->pitem; in closure()
1034 wsets[cwp].flag = 1; /* this item must get closed */ in closure()
1036 wsets[cwp].ws.lset[k] = p->look->lset[k]; in closure()
1037 WSBUMP(cwp); in closure()
1048 for (idx1 = 0; idx1 < cwp; idx1++) { in closure()
1110 if (cwp + 1 >= wsetsz) in closure()
1113 wsets[cwp].pitem = *s; in closure()
1114 wsets[cwp].flag = 1; in closure()
[all …]
H A Ddextern.h152 #define WSLOOP(s, j) for (j = s; j < &wsets[cwp]; ++j)
H A Dy3.c43 extern int cwp;
/titanic_50/usr/src/cmd/mdb/sparc/v9/kmdb/
H A Dkaif_resume.s102 wrpr %g0, %cwp
113 wrpr %g2, %cwp
117 wrpr %g4, %cwp
H A Dkaif_startup.s229 rdpr %cwp, %g4
250 wrpr %g0, %cwp
259 wrpr %g2, %cwp
/titanic_50/usr/src/uts/sparc/dtrace/
H A Ddtrace_asm.s208 rdpr %cwp, %g1
211 wrpr %g3, %cwp
219 wrpr %g3, %cwp
222 wrpr %g1, %cwp
605 ! the %cwp by one (mod nwindows) because we're in the user's windows
/titanic_50/usr/src/uts/common/pcmcia/sys/
H A Dcs_priv.h280 #define WINDOW_AVAILABLE_FOR_MEM(cwp) (!(cwp->state & CW_WIN_IN_USE)) argument
281 #define WINDOW_AVAILABLE_FOR_IO(cwp) \ argument
282 (!(cwp->state & (CW_CIS | CW_MEM | CW_ALLOCATED)))
/titanic_50/usr/src/uts/sun4v/os/
H A Dmach_trap.c169 uint32_t gl, ccr, asi, cwp, pstate; in ptl1_showtrap() local
171 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK; in ptl1_showtrap()
181 "%%pstate: %b\n", gl, ccr, asi, cwp, pstate, PSTATE_BITS); in ptl1_showtrap()
/titanic_50/usr/src/uts/sun4u/os/
H A Dmach_trap.c195 uint32_t ccr, asi, cwp, pstate; in ptl1_showtrap() local
197 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK; in ptl1_showtrap()
206 "%%pstate: %b\n", ccr, asi, cwp, pstate, PSTATE_BITS); in ptl1_showtrap()
/titanic_50/usr/src/uts/sparc/v9/ml/
H A Dsparcv9_subr.s1501 rdpr %cwp, %g5 ! remember the register window state
1731 ! to store the %ccr, %asi, %pstate, and %cwp as they would appear
1743 rdpr %cwp, %l1 ! %l1 = %cwp
/titanic_50/usr/src/uts/sun4u/sys/
H A Dtraptrace.h282 rdpr %cwp, scr2; \
310 rdpr %cwp, scr2; \
374 rdpr %cwp, scr2; \
/titanic_50/usr/src/uts/sun4v/sys/
H A Dtraptrace.h339 rdpr %cwp, scr2; \
366 rdpr %cwp, scr2; \
428 rdpr %cwp, scr2; \
/titanic_50/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.s958 wrpr %g0, tmp, %cwp ;\
1122 rdpr %cwp, tmp1 ;\
1699 rdpr %cwp, %g5
1703 rdpr %cwp, %g6
1704 wrpr %g5, %cwp
1706 wrpr %g6, %cwp
1717 rdpr %cwp, %g5
1721 rdpr %cwp, %g6
1722 wrpr %g5, %cwp
1724 wrpr %g6, %cwp
/titanic_50/usr/src/lib/libproc/common/
H A DPcontrol.c2436 prwatch_t *cwp = (prwatch_t *)&ctl[1]; in Psetwapt() local
2445 cwp->pr_vaddr = wp->pr_vaddr; in Psetwapt()
2446 cwp->pr_size = wp->pr_size; in Psetwapt()
2447 cwp->pr_wflags = wp->pr_wflags; in Psetwapt()
2462 prwatch_t *cwp = (prwatch_t *)&ctl[1]; in Pdelwapt() local
2471 cwp->pr_vaddr = wp->pr_vaddr; in Pdelwapt()
2472 cwp->pr_size = wp->pr_size; in Pdelwapt()
2473 cwp->pr_wflags = 0; in Pdelwapt()
/titanic_50/usr/src/uts/common/pcmcia/cs/
H A Dcs.c8477 cs_window_t *cwp = cs_globals.cw;
8483 while (cwp) {
8484 cwpp = cwp;
8485 cwp = cwp->next;