OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CWP
(Results
1 - 4
of
4
) sorted by relevancy
/src/sys/arch/sparc/include/
psl.h
53
* | impl | ver | icc | reserved |E|E| pil |S|P|E|
CWP
|
154
* | CCR | ASI | - | PSTATE | - |
CWP
|
227
#define
CWP
0x01f
/src/sys/arch/sparc64/include/
psl.h
53
* | impl | ver | icc | reserved |E|E| pil |S|P|E|
CWP
|
171
* | CCR | ASI | - | PSTATE | - |
CWP
|
266
#define
CWP
0x01f
385
SPARC64_RDPR_DEF(
cwp
, %
cwp
, int) /* getcwp() */
386
SPARC64_WRPR_DEF(
cwp
, %
cwp
, int) /* setcwp() */
/src/sys/arch/sparc/sparc/
locore.s
1389
* cpcb->pcb_uw = (cpcb->pcb_wim - 1 -
CWP
) % nwindows
1391
* (where pcb_wim = log2(current %wim) and
CWP
= low 5 bits of %psr).
1392
* We compute this expression by table lookup in uwtab[
CWP
- pcb_wim],
1405
* wmask[
CWP
] tells whether a `rett' would return into the invalid window.
1451
* cpcb->pcb_uw = (cpcb->pcb_wim - 1 -
CWP
) % nwindows
1453
* (where pcb_wim = log2(current %wim) and
CWP
is the low 5 bits of %psr),
1454
* and this is computed as `uwtab[
CWP
- pcb_wim]'.
2347
/* now safe to set the new psr (changes
CWP
, leaves traps disabled) */
2374
and %l0, 31, %l0 !
CWP
= %psr & 31;
2375
st %l0, [%l1 + PCB_WIM] ! cpcb->pcb_wim =
CWP
;
[
all
...]
/src/sys/arch/sparc64/sparc64/
locore.s
121
and \reg,
CWP
, \reg
1216
!! So restore %
cwp
1217
rdpr %
cwp
, %l0
1219
wrpr %l0, %g0, %
cwp
1954
* %g4 = %
cwp
- local
1975
rdpr %tstate, %g4 ! Try to restore prev %
cwp
if we were executing a restore
2013
and %g4,
CWP
, %g5 ! %g4 = %
cwp
of trap
2016
wrpr %g5, %
cwp
! Restore
cwp
from before fill trap -- regs should now be consisten
[
all
...]
Completed in 17 milliseconds
Indexes created Wed Oct 15 16:09:53 GMT 2025