/illumos-gate/usr/src/uts/sun4/os/ |
H A D | dtrace_subr.c | 124 uintptr_t npc = curthread->t_dtrace_npc; local 156 rp->r_pc = npc; 157 rp->r_npc = npc + 4; 163 * function pointer to set %pc and %npc. 170 rp->r_pc = npc; 171 rp->r_npc = npc + 4; 185 * trap, reset the pc and npc back to their original values and turn
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | fasttrap_isa.c | 94 * %pc to the instruction we copied out (as described above) and set %npc 357 * If the %npc is still within this function, then we 371 * observing that in this case %npc will be %pc + 4 and %npc 419 uintptr_t npc = rp->r_npc; local 528 npc = pc + 4; 554 * cleverly hidden (%npc should not be touched). 659 npc = pc + 4; 669 npc = pc + 4; 727 npc 1019 uintptr_t npc = curthread->t_dtrace_npc; local [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif.c | 562 * Note that "after" will be %npc in the simple case, but can be one of 567 * 8 and the branch target. For all other branches, %npc will be set correctly 569 * branch by putting a breakpoint at %npc. If %pc contains a non-branch 571 * described more below), we step over it by placing a breakpoint at %npc. 576 kreg_t pc, npc, brtgt, pstate, tt; local 583 (void) kmdb_dpi_get_register("npc", &npc); 608 (void) kmdb_dpi_set_register("pc", npc); 609 (void) kmdb_dpi_set_register("npc", npc [all...] |
H A D | kvm_isadep.c | 411 kreg_t pc, npc; local 415 (void) kmdb_dpi_get_register("npc", &npc); 421 if (npc < func.st_value || func.st_value + func.st_size <= npc) {
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | dtrace_subr.c | 200 uintptr_t npc = curthread->t_dtrace_npc; local 229 rp->r_pc = npc; 242 rp->r_pc = npc;
|
/illumos-gate/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 650 * pc and npc must be word aligned on sparc. 736 caddr_t npc; local 747 npc = (caddr_t)(uintptr_t)(caddr32_t)r->r_npc; 750 npc = (caddr_t)r->r_npc; 754 if (npc == (caddr_t)lwp->lwp_pcb.pcb_tracepc) 798 lwp->lwp_pcb.pcb_tracepc = (void *)npc; 824 caddr_t npc; local 835 npc = (caddr_t)(uintptr_t)(caddr32_t)r->r_npc; 838 npc = (caddr_t)r->r_npc; 845 if (npc [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_disasm.c | 372 mdb_tgt_addr_t npc; local 375 if ((npc = libdisasm_ins2str(dp, t, as, &c, 1, pc)) == pc) 382 if (mdb_tgt_aread(t, as, &c, 1, npc) != 1) 385 return (npc);
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | mdb_amd64util.c | 451 mdb_tgt_addr_t npc; local 484 if ((npc = mdb_dis_nextins(mdb.m_disasm, t, MDB_TGT_AS_VIRT, pc)) == pc) 487 *p = npc;
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | syscall_trap.s | 202 ldn [%l1 + nPC_OFF], %g2 ! get saved npc (new pc) 235 ldn [%l1 + nPC_OFF], %g2 ! get saved npc (new pc) 238 add %g2, 4, %g4 ! calc new npc 460 ldx [%l1 + nPC_OFF], %g2 ! get saved npc (new pc) 493 ldx [%l1 + nPC_OFF], %g2 ! get saved npc (new pc) 496 add %g2, 4, %g4 ! calc new npc
|
H A D | sparcv9_subr.s | 1660 add %l1, 4, %l2 ! %l2 = %npc (vpanic+4) 1748 add %l1, 4, %l2 ! %l2 = %npc (vpanic+4)
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kaif.c | 441 mdb_tgt_addr_t npc; local 448 if ((npc = mdb_dis_nextins(mdb.m_disasm, mdb.m_target, 550 (void) kmdb_dpi_set_register("pc", npc);
|
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/ |
H A D | proc_isadep.c | 94 { "npc", R_nPC, MDB_TGT_R_EXPORT }, 238 mdb_printf(" %%npc = 0x%0?p %A\n", GETREG2(R_nPC)); 721 uintptr_t npc; local 730 npc = psp->pr_reg[R_nPC]; 737 if (npc < func.st_value || func.st_value + func.st_size <= npc) {
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 228 struct node *npc; local 230 npc = namep->u.name.child; 231 if (npc != NULL) { 232 switch (npc->t) { 237 npc->u.ull; 241 tree_name(npc->u.name.s, 242 npc->u.name.it, file, line); 247 ptree_nodetype2str(npc->t));
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 1656 uintptr_t npc = curthread->t_dtrace_npc; local 1681 fasttrap_return_common(rp, pc, p->p_pid, npc);
|
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/powerpc/ |
H A D | p2041si.dtsi | 153 dcsr-npc { 154 compatible = "fsl,dcsr-npc";
|
H A D | p3041si.dtsi | 154 dcsr-npc { 155 compatible = "fsl,dcsr-npc";
|
H A D | p5020si.dtsi | 144 dcsr-npc { 145 compatible = "fsl,dcsr-npc";
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | trap_table.s | 1539 * was interrupted) and use the value of t->t_dtrace_npc as the %npc. 1626 * was interrupted) and use the value of t->t_dtrace_npc as the %npc. 1660 add %l6, 4, %l7 ! handler, %l6 == pc, %l7 == npc
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | trap_table.s | 1766 * was interrupted) and use the value of t->t_dtrace_npc as the %npc. 1853 * was interrupted) and use the value of t->t_dtrace_npc as the %npc. 1887 add %l6, 4, %l7 ! handler, %l6 == pc, %l7 == npc
|