Searched refs:pstate (Results 1 - 25 of 107) sorted by relevance

12345

/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/
H A Dclient_handler.s51 rdpr %pstate, %l4 ! Get the present pstate value
53 wrpr %l6, 0, %pstate ! Set PSTATE_AM = 0
56 wrpr %l4, 0, %pstate ! Just restore
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/
H A Dserengeti_asm.s75 rdpr %pstate, %o4
77 wrpr %o5, 0, %pstate ! clear IE, AM bits
80 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
88 rdpr %pstate, %o4
90 wrpr %o5, 0, %pstate ! clear IE, AM bits
93 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
H A Dsbdp.il.cpp75 rdpr %pstate, %o4 variable
77 wrpr %g0, %g3, %pstate
99 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
114 rdpr %pstate, %o3
116 wrpr %g0, %o4, %pstate ! clear AM to access 64 bit physaddr
130 wrpr %g0, %o3, %pstate ! restore earlier pstate
158 rdpr %pstate, %o2 /* read PSTATE reg */ variable
160 wrpr %g0, %o3, %pstate
172 rdpr %pstate, %o2 /* read PSTATE reg */ variable
186 rdpr %pstate, %o4 variable
200 rdpr %pstate, %o4 variable
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/ml/
H A Dlw8_platmod_asm.s75 rdpr %pstate, %o4
77 wrpr %o5, 0, %pstate ! clear IE, AM bits
80 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
88 rdpr %pstate, %o4
90 wrpr %o5, 0, %pstate ! clear IE, AM bits
93 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
/illumos-gate/usr/src/uts/sun4/ml/
H A Dsubr_asm.s136 rdpr %pstate, %o4
138 wrpr %o5, 0, %pstate
141 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
153 rdpr %pstate, %o4
155 wrpr %o5, 0, %pstate ! clear IE, AM bits
158 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
168 rdpr %pstate, %o4
170 wrpr %o5, 0, %pstate
[all...]
H A Dlocore.s132 rdpr %pstate, %l0 ! save %pstate
150 1: wrpr %g0, %l0, %pstate ! restore %pstate
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dlocore.S18 #include <machine/pstate.h>
33 wrpr %g0, PSTATE_PRIV | PSTATE_IE | PSTATE_PEF, %pstate
H A Dmain.c374 u_long data, pstate; local
381 pstate = rdpr(pstate);
382 wrpr(pstate, pstate & ~PSTATE_IE, 0);
385 wrpr(pstate, pstate, 0);
392 u_long data, pstate; local
399 pstate = rdpr(pstate);
410 u_long pstate, reg; local
435 u_long pstate, reg; local
480 u_long data, pstate, tag; local
967 u_long pstate; local
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/ml/
H A Ddrmach.il.cpp72 rdpr %pstate, %o4 variable
74 wrpr %g0, %g3, %pstate
93 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
110 rdpr %pstate, %o3
112 wrpr %g0, %o4, %pstate ! clear AM to access 64 bit physaddr
123 wrpr %g0, %o3, %pstate ! restore earlier pstate
143 rdpr %pstate, %o2 /* read PSTATE reg */ variable
145 wrpr %g0, %o3, %pstate
157 rdpr %pstate, %o2 /* read PSTATE reg */ variable
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_asmutil.s80 rdpr %pstate, %o0
83 wrpr %o0, %pstate
96 rdpr %pstate, %o0
99 wrpr %o0, %pstate
/illumos-gate/usr/src/uts/sun4u/starcat/ml/
H A Dstarcat_asm.s69 rdpr %pstate, %o4
71 wrpr %o5, 0, %pstate ! clear IE, AM bits
74 wrpr %g0, %o4, %pstate ! restore pstate value
/illumos-gate/usr/src/uts/sun4u/cherrystone/ml/
H A Dcherrystone_asm.s86 rdpr %pstate, %o4
88 wrpr %o5, 0, %pstate ! clear IE, AM bits
97 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
110 rdpr %pstate, %o4
112 wrpr %o5, 0, %pstate ! clear IE, AM bits
121 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
/illumos-gate/usr/src/uts/sun4u/daktari/ml/
H A Ddaktari_asm.s80 rdpr %pstate, %o4
82 wrpr %o5, 0, %pstate ! clear IE, AM bits
91 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
104 rdpr %pstate, %o4
106 wrpr %o5, 0, %pstate ! clear IE, AM bits
115 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
/illumos-gate/usr/src/cmd/mdb/sun4u/v9/kmdb/
H A Dmach_asmutil.h48 mov %g4, %o4 /* set %o4 = return %pstate value */;\
49 wrpr %g0, PTSTATE_KERN_COMMON, %pstate /* AG = 0 */
52 wrpr %o4, %pstate /* use TL1 globals, set %pstate from %o4 */;\
67 wrpr reg1, %pstate
/illumos-gate/usr/src/uts/sun4u/opl/ml/
H A Ddrmach.il.cpp75 rdpr %pstate, %g0 variable
108 rdpr %pstate, %o3
110 wrpr %g0, %o4, %pstate
115 wrpr %g0, %o3, %pstate ! restore earlier pstate
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProcessState.java74 ProcessState pstate = (ProcessState)oldInstance;
76 "new", new Object[] { pstate.getProcessID(),
77 pstate.getState().name(),
78 pstate.getTerminationSignal(),
79 pstate.getTerminationSignalName(),
80 pstate.getExitStatus(),
81 pstate.getMessage() });
/illumos-gate/usr/src/uts/common/io/
H A Dsignalfd.c187 signalfd_wake_list_add(sigfd_proc_state_t *pstate, signalfd_state_t *state) argument
189 list_t *lst = &pstate->sigfd_list;
210 signalfd_wake_list_rm(sigfd_proc_state_t *pstate, signalfd_state_t *state) argument
212 list_t *lst = &pstate->sigfd_list;
233 sigfd_proc_state_t *pstate = p->p_sigfd; local
238 ASSERT(pstate != NULL);
240 lst = &pstate->sigfd_list;
254 kmem_free(pstate, sizeof (*pstate));
302 sigfd_proc_state_t *pstate local
585 sigfd_proc_state_t *pstate; local
666 sigfd_proc_state_t *pstate = p->p_sigfd; local
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_trap.c157 ptl1_showtrap(ptl1_state_t *pstate) argument
159 ptl1_regs_t *rp = &pstate->ptl1_regs;
169 uint32_t gl, ccr, asi, cwp, pstate; local
172 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK;
181 "%%pstate: %b\n", gl, ccr, asi, cwp, pstate, PSTATE_BITS);
249 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
254 if (pstate->ptl1_entry_count) {
255 ptl1_showtrap(pstate);
264 ptl1_savetrap(panic_data_t *pdp, ptl1_state_t *pstate) argument
293 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_trap.c184 ptl1_showtrap(ptl1_state_t *pstate) argument
186 ptl1_regs_t *rp = &pstate->ptl1_regs;
195 uint32_t ccr, asi, cwp, pstate; local
198 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK;
206 "%%pstate: %b\n", ccr, asi, cwp, pstate, PSTATE_BITS);
263 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
268 if (pstate->ptl1_entry_count) {
269 ptl1_showtrap(pstate);
278 ptl1_savetrap(panic_data_t *pdp, ptl1_state_t *pstate) argument
307 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
[all...]
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy1.c78 ITEM **pstate; /* ptr to descriptions of the states */ variable
211 pstate = (ITEM **)malloc(sizeof (ITEM *)*(nstatesz+2));
219 (pfirst == NULL) || (pempty == NULL) || (pstate == NULL) ||
749 p1 = pstate[nstate];
750 p2 = pstate[nstate+1];
772 q1 = pstate[i];
773 q2 = pstate[i+1];
786 pstate[nstate+1] = pstate[nstate]; /* delete last state */
812 pstate[nstat
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachthread.h69 rdpr %pstate, scr; \
71 wrpr r, 0, %pstate; \
76 wrpr scr, 0, %pstate
173 * pstate.ag = 1
254 rdpr %pstate, scr1; \
255 wrpr scr1, PSTATE_AG, %pstate; \
262 rdpr %pstate, %g5; \
263 wrpr %g5, PSTATE_AG, %pstate; \
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_child.c227 prb_proc_state_t pstate; local
298 prbstat = prb_proc_state(proc_p, &pstate);
302 if (pstate.ps_issysexit && (pstate.ps_syscallnum == SYS_execve)) {
/illumos-gate/usr/src/cmd/saf/
H A Dextern.h71 extern char *pstate(uchar_t);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dpanther_asm.s145 rdpr %pstate, %o2
147 wrpr %g0, %g1, %pstate ! disable interrupts
181 wrpr %g0, %o2, %pstate !restore pstate
217 rdpr %pstate, %o2
219 wrpr %g0, %g1, %pstate ! disable interrupts
254 wrpr %g0, %o2, %pstate !restore pstate
274 rdpr %pstate, %o2
276 wrpr %g0, %g1, %pstate ! disabl
[all...]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcb_srt0.s90 ! Set pstate to a known state:
93 wrpr %g0, PSTATE_PEF|PSTATE_PRIV|PSTATE_IE, %pstate
155 ! set pstate and wstate from saved values
158 wrpr %g0, %l4, %pstate
354 wrpr %g0, PSTATE_PEF|PSTATE_PRIV|PSTATE_IE, %pstate

Completed in 64 milliseconds

12345