Searched defs:npc (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/sun4/os/
H A Ddtrace_subr.c124 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/cmd/mdb/intel/mdb/
H A Dmdb_amd64util.c456 mdb_tgt_addr_t npc; local
489 if ((npc = mdb_dis_nextins(mdb.m_disasm, t, MDB_TGT_AS_VIRT, pc)) == pc)
492 *p = npc;
/illumos-gate/usr/src/uts/i86pc/os/
H A Ddtrace_subr.c201 uintptr_t npc = curthread->t_dtrace_npc; local
230 rp->r_pc = npc;
243 rp->r_pc = npc;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_disasm.c372 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/sparc/kmdb/
H A Dkvm_isadep.c404 kreg_t pc, npc; local
408 (void) kmdb_dpi_get_register("npc", &npc);
414 if (npc < func.st_value || func.st_value + func.st_size <= npc) {
H A Dkaif.c562 * 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...]
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c94 { "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/uts/sparc/fs/proc/
H A Dprmachdep.c650 * 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/uts/common/fs/zfs/lua/
H A Dlvm.c74 int npc = pcRel(ci->u.l.savedpc, p); local
75 int newline = getfuncline(p, npc);
76 if (npc == 0 || /* call linehook when enter a new function, */
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkaif.c476 mdb_tgt_addr_t npc; local
488 if ((npc = mdb_dis_nextins(mdb.m_disasm, mdb.m_target,
590 (void) kmdb_dpi_set_register("pc", npc);
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c1656 uintptr_t npc = curthread->t_dtrace_npc; local
1681 fasttrap_return_common(rp, pc, p->p_pid, npc);
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfasttrap_isa.c94 * %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/fm/modules/common/eversholt/
H A Ditree.c228 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));

Completed in 256 milliseconds