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

/illumos-gate/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 */
/illumos-gate/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
282 wrpr %g4, %cwp
/illumos-gate/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
437 ! save fault addr & fix %cwp
441 wrpr %g0, %g1, %cwp
[all...]
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
538 rdpr %cwp,
[all...]
H A Dmach_proc_init.s79 wrpr %g0, 0, %cwp
H A Dtrap_table.s635 * will cause cwp + 2 to be spilled but will not clean cwp + 1. That
1557 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
[all...]
/illumos-gate/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
372 ! save fault addr & fix %cwp
376 wrpr %g0, %g1, %cwp
[all...]
H A Dmach_locore.s407 ! force tl=1, update %cwp, branch to correct handler
414 wrpr %g0, %g6, %cwp
516 rdpr %cwp, %l0
733 ! set %tstate to the correct %cwp
738 rdpr %cwp, %g1
868 ! set %tstate to the correct %cwp
871 rdpr %cwp, %g1
1326 rdpr %cwp, %g1
1341 wrpr %g1, %cwp
1348 wrpr %g1, %cwp !
[all...]
H A Dtrap_table.s755 * will cause cwp + 2 to be spilled but will not clean cwp + 1. That
1784 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
[all...]
/illumos-gate/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
285 rdpr %cwp, %g1
288 wrpr %g3, %cwp
296 wrpr %g3, %cwp
301 wrpr %g1, %cwp
571 * %g4 saved %cwp (so we can get back to the original window)
594 rdpr %cwp,
[all...]
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy1.c71 int cwp; variable
1031 cwp = 0;
1033 wsets[cwp].pitem = p->pitem;
1034 wsets[cwp].flag = 1; /* this item must get closed */
1036 wsets[cwp].ws.lset[k] = p->look->lset[k];
1037 WSBUMP(cwp);
1048 for (idx1 = 0; idx1 < cwp; idx1++) {
1110 if (cwp + 1 >= wsetsz)
1113 wsets[cwp].pitem = *s;
1114 wsets[cwp]
[all...]
H A Ddextern.h152 #define WSLOOP(s, j) for (j = s; j < &wsets[cwp]; ++j)
H A Dy3.c43 extern int cwp;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_trap.c169 uint32_t gl, ccr, asi, cwp, pstate; local
171 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK;
180 printf(" %%gl: %02x %%ccr: %02x %%asi: %02x %%cwp: %x "
181 "%%pstate: %b\n", gl, ccr, asi, cwp, pstate, PSTATE_BITS);
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_trap.c195 uint32_t ccr, asi, cwp, pstate; local
197 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK;
205 printf(" %%ccr: %02x %%asi: %02x %%cwp: %x "
206 "%%pstate: %b\n", ccr, asi, cwp, pstate, PSTATE_BITS);
/illumos-gate/usr/src/uts/common/pcmcia/sys/
H A Dcs_priv.h280 #define WINDOW_AVAILABLE_FOR_MEM(cwp) (!(cwp->state & CW_WIN_IN_USE))
281 #define WINDOW_AVAILABLE_FOR_IO(cwp) \
282 (!(cwp->state & (CW_CIS | CW_MEM | CW_ALLOCATED)))
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dtraptrace.h282 rdpr %cwp, scr2; \
310 rdpr %cwp, scr2; \
374 rdpr %cwp, scr2; \
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dtraptrace.h339 rdpr %cwp, scr2; \
366 rdpr %cwp, scr2; \
428 rdpr %cwp, scr2; \
/illumos-gate/usr/src/uts/sparc/v9/ml/
H A Dsparcv9_subr.s1469 * %g5 saved %cwp (so we can get back to the original window)
1501 rdpr %cwp, %g5 ! remember the register window state
1517 wrpr %g0, %g5, %cwp ! jump back to the original window
1643 ! to store the %ccr, %asi, %pstate, and %cwp as they would appear
1655 rdpr %cwp, %l1 ! %l1 = %cwp
1731 ! to store the %ccr, %asi, %pstate, and %cwp as they would appear
1743 rdpr %cwp, %l1 ! %l1 = %cwp
/illumos-gate/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
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c2475 prwatch_t *cwp = (prwatch_t *)&ctl[1]; local
2484 cwp->pr_vaddr = wp->pr_vaddr;
2485 cwp->pr_size = wp->pr_size;
2486 cwp->pr_wflags = wp->pr_wflags;
2501 prwatch_t *cwp = (prwatch_t *)&ctl[1]; local
2510 cwp->pr_vaddr = wp->pr_vaddr;
2511 cwp->pr_size = wp->pr_size;
2512 cwp->pr_wflags = 0;
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs.c8477 cs_window_t *cwp = cs_globals.cw; local
8483 while (cwp) {
8484 cwpp = cwp;
8485 cwp = cwp->next;

Completed in 109 milliseconds