/src/sys/arch/mips/mips/ |
cpu_subr.c | 1087 cpuwatch_free(cpu_watchpoint_t *cwp) 1092 KASSERT(cwp >= &ci->ci_cpuwatch_tab[0] && 1093 cwp <= &ci->ci_cpuwatch_tab[ci->ci_cpuwatch_count-1]); 1095 cwp->cw_mode = 0; 1096 cwp->cw_asid = 0; 1097 cwp->cw_addr = 0; 1098 cpuwatch_clr(cwp); 1110 cpu_watchpoint_t *cwp; local in function:cpuwatch_alloc 1113 cwp = &ci->ci_cpuwatch_tab[i]; 1114 if ((cwp->cw_mode & CPUWATCH_RWX) == 0 1125 cpu_watchpoint_t *cwp; local in function:cpuwatch_set_all 1139 cpu_watchpoint_t *cwp; local in function:cpuwatch_clr_all [all...] |
db_interface.c | 638 cpu_watchpoint_t *cwp; local in function:db_watch_cmd 649 cwp = &ci->ci_cpuwatch_tab[i]; 650 mode = cwp->cw_mode; 661 i, str, cwp->cw_addr, cwp->cw_mask, cwp->cw_asid); 667 cwp = cpuwatch_alloc(); 668 if (cwp == NULL) { 740 cwp->cw_addr = (register_t)address; 741 cwp->cw_mask = (register_t)mask 761 cpu_watchpoint_t * const cwp = &ci->ci_cpuwatch_tab[i]; local in function:db_unwatch_cmd [all...] |
/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/amiga/dev/ |
grf_cl.c | 854 volatile unsigned char *cwp; local in function:cl_writesprpos 857 cwp = ba + 0x3c4; 858 wp = (volatile unsigned short *)cwp; 864 cwp[0] = 0x10 | ((x << 5) & 0xff); 865 cwp[1] = (x >> 3) & 0xff;
|
/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...] |
/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...] |