Searched refs:pr_reg (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c134 rs[REG_RBX] = status.pr_reg[REG_RBX];
135 rs[REG_R12] = status.pr_reg[REG_R12];
136 rs[REG_R13] = status.pr_reg[REG_R13];
137 rs[REG_R14] = status.pr_reg[REG_R14];
138 rs[REG_R15] = status.pr_reg[REG_R15];
139 rs[REG_RBP] = status.pr_reg[REG_RBP];
140 rs[REG_RSP] = status.pr_reg[REG_RSP];
141 rs[REG_RIP] = status.pr_reg[REG_RIP];
160 status.pr_reg[REG_RBX] = rs[REG_RBX];
161 status.pr_reg[REG_R1
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/amd64/
H A Dregs.c41 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1],
44 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2],
48 EC_WORD(prst->pr_lwp.pr_reg[ind1]), str1, r2,
49 EC_WORD(prst->pr_lwp.pr_reg[ind2]), str2);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/i386/
H A Dregs.c40 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1],
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2],
46 prst->pr_lwp.pr_reg[ind1], str1, r2, prst->pr_lwp.pr_reg[ind2],
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c307 ps->pr_lwp.pr_reg[R_PSR] = cp->user.u_reg[REG_PSR];
308 ps->pr_lwp.pr_reg[R_PC] = cp->user.u_reg[REG_PC];
309 ps->pr_lwp.pr_reg[R_nPC] = cp->user.u_reg[REG_nPC];
310 ps->pr_lwp.pr_reg[R_Y] = cp->user.u_reg[REG_Y];
311 ps->pr_lwp.pr_reg[R_G1] = cp->user.u_reg[REG_G1];
312 ps->pr_lwp.pr_reg[R_G2] = cp->user.u_reg[REG_G2];
313 ps->pr_lwp.pr_reg[R_G3] = cp->user.u_reg[REG_G3];
314 ps->pr_lwp.pr_reg[R_G4] = cp->user.u_reg[REG_G4];
315 ps->pr_lwp.pr_reg[R_G5] = cp->user.u_reg[REG_G5];
316 ps->pr_lwp.pr_reg[R_G
[all...]
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c301 ps->pr_lwp.pr_reg[GS] = cp->user.u_reg[GS];
302 ps->pr_lwp.pr_reg[FS] = cp->user.u_reg[FS];
303 ps->pr_lwp.pr_reg[ES] = cp->user.u_reg[ES];
304 ps->pr_lwp.pr_reg[DS] = cp->user.u_reg[DS];
305 ps->pr_lwp.pr_reg[EDI] = cp->user.u_reg[EDI];
306 ps->pr_lwp.pr_reg[ESI] = cp->user.u_reg[ESI];
307 ps->pr_lwp.pr_reg[EBP] = cp->user.u_reg[EBP];
308 ps->pr_lwp.pr_reg[ESP] = cp->user.u_reg[ESP];
309 ps->pr_lwp.pr_reg[EBX] = cp->user.u_reg[EBX];
310 ps->pr_lwp.pr_reg[ED
[all...]
/illumos-gate/usr/src/lib/libc/sparc/threads/
H A Dmachdep.c145 rs[REG_PC] = status.pr_reg[R_PC];
146 rs[REG_O6] = status.pr_reg[R_O6];
147 rs[REG_O7] = status.pr_reg[R_O7];
148 rs[REG_G1] = status.pr_reg[R_G1];
149 rs[REG_G2] = status.pr_reg[R_G2];
150 rs[REG_G3] = status.pr_reg[R_G3];
151 rs[REG_G4] = status.pr_reg[R_G4];
169 status.pr_reg[R_PC] = rs[REG_PC];
170 status.pr_reg[R_O6] = rs[REG_O6];
171 status.pr_reg[R_O
[all...]
/illumos-gate/usr/src/lib/libc/i386/threads/
H A Dmachdep.c179 rs[EIP] = status.pr_reg[EIP];
180 rs[EDI] = status.pr_reg[EDI];
181 rs[ESI] = status.pr_reg[ESI];
182 rs[EBP] = status.pr_reg[EBP];
183 rs[EBX] = status.pr_reg[EBX];
184 rs[UESP] = status.pr_reg[UESP];
201 status.pr_reg[EIP] = rs[EIP];
202 status.pr_reg[EDI] = rs[EDI];
203 status.pr_reg[ESI] = rs[ESI];
204 status.pr_reg[EB
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcore.c538 lwp->lwp_status.pr_reg[REG_R15] = prs64->pr_reg.lxr_r15;
539 lwp->lwp_status.pr_reg[REG_R14] = prs64->pr_reg.lxr_r14;
540 lwp->lwp_status.pr_reg[REG_R13] = prs64->pr_reg.lxr_r13;
541 lwp->lwp_status.pr_reg[REG_R12] = prs64->pr_reg.lxr_r12;
542 lwp->lwp_status.pr_reg[REG_R11] = prs64->pr_reg
[all...]
H A DPsyscall.c117 (void) memcpy(&cmd.regs, &P->status.pr_lwp.pr_reg[0],
118 sizeof (P->status.pr_lwp.pr_reg));
361 sp = P->status.pr_lwp.pr_reg[R_SP] + STACK_BIAS;
375 sp = (uint32_t)P->status.pr_lwp.pr_reg[R_SP];
431 (!Pissyscall(P, P->status.pr_lwp.pr_reg[R_PC]) &&
432 !Pissyscall_prev(P, P->status.pr_lwp.pr_reg[R_PC], NULL)))
486 if (!Pissyscall_prev(P, P->status.pr_lwp.pr_reg[R_PC], NULL)) {
H A DPcore_linux.h144 lx_ia32_regs_t pr_reg; /* CPU registers */ member in struct:lx_prstatus32
161 lx_amd64_regs_t pr_reg; /* CPU registers */ member in struct:lx_prstatus64
H A DPscantext.c74 syspri = Pissyscall_prev(P, P->status.pr_lwp.pr_reg[R_PC],
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparcv9/
H A Dregs.c39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1],
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2],
54 prst->pr_lwp.pr_reg[ind1], str1);
56 prst->pr_lwp.pr_reg[ind2], str2);
59 prst->pr_lwp.pr_reg[ind1], str1, r2,
60 prst->pr_lwp.pr_reg[ind2], str2);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dcallstack.c92 symstr = print_address_ps(ph, (ulong_t)pstatus.pr_lwp.pr_reg[R_PC],
94 (void) printf(" 0x%08x:%-17s\n", EC_WORD(pstatus.pr_lwp.pr_reg[R_PC]),
97 fp = pstatus.pr_lwp.pr_reg[R_FP];
H A Dbpt.c352 if ((bpt = find_bp(ph, pstatus.pr_lwp.pr_reg[R_PC])) ==
357 EC_WORD(pstatus.pr_lwp.pr_reg[R_PC]));
373 EC_WORD(pstatus.pr_lwp.pr_reg[R_PC]));
430 pc = pstatus.pr_lwp.pr_reg[R_PC];
459 pc = pstatus.pr_lwp.pr_reg[R_PC];
519 caddr = pstat.pr_lwp.pr_reg[R_PC];
525 caddr = pstat.pr_lwp.pr_reg[R_PC];
H A Ddis.c181 (void) disasm_addr(ph, (ulong_t)pstat.pr_lwp.pr_reg[R_PC], num_inst);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparc/
H A Dregs.c39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1],
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2],
46 prst->pr_lwp.pr_reg[ind1], str1, r2, prst->pr_lwp.pr_reg[ind2],
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c571 P->status.pr_lwp.pr_reg[REG_RAX] = sysindex;
572 P->status.pr_lwp.pr_reg[REG_RSP] = sp;
573 P->status.pr_lwp.pr_reg[REG_RIP] = P->sysaddr;
579 P->status.pr_lwp.pr_reg[REG_RAX] = sysindex;
580 P->status.pr_lwp.pr_reg[REG_RSP] = sp;
581 P->status.pr_lwp.pr_reg[REG_RIP] = P->sysaddr;
599 arglist[0] = P->status.pr_lwp.pr_reg[REG_RIP];
635 arglist[0] = P->status.pr_lwp.pr_reg[REG_RIP];
676 P->status.pr_lwp.pr_reg[REG_RDI];
680 P->status.pr_lwp.pr_reg[REG_RS
[all...]
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c284 P->status.pr_lwp.pr_reg[EAX] = sysindex;
285 P->status.pr_lwp.pr_reg[R_SP] = sp;
286 P->status.pr_lwp.pr_reg[R_PC] = P->sysaddr;
302 arglist[0] = P->status.pr_lwp.pr_reg[R_PC];
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c633 uintptr_t sp = Lsp->pr_reg[R_SP];
818 prgreg_t tref = Lsp->pr_reg[R_G7];
820 prgreg_t tref = Lsp->pr_reg[REG_FS];
822 prgreg_t tref = Lsp->pr_reg[GS];
930 prgreg_t tref = Lsp->pr_reg[R_G7];
933 Lsp->pr_reg[REG_FS] : Lsp->pr_reg[REG_GS];
935 prgreg_t tref = Lsp->pr_reg[GS];
1248 uintptr_t pc = Lsp->pr_reg[R_PC];
1249 uintptr_t sp = Lsp->pr_reg[R_S
[all...]
/illumos-gate/usr/src/lib/libproc/sparc/
H A DPisadep.c332 P->status.pr_lwp.pr_reg[R_G1] = sysindex;
333 P->status.pr_lwp.pr_reg[R_SP] = sp;
334 P->status.pr_lwp.pr_reg[R_PC] = P->sysaddr;
335 P->status.pr_lwp.pr_reg[R_nPC] = P->sysaddr + sizeof (instr_t);
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c121 (void) mdb_tgt_vread(t, &ret, sizeof (ret), psp->pr_reg[R_PC]);
687 uintptr_t pc = psp->pr_reg[R_PC];
700 *p = psp->pr_reg[R_O7] + 2 * sizeof (instr_t);
703 *p = psp->pr_reg[R_O7] + 2 * sizeof (instr_t);
705 *p = psp->pr_reg[R_I7] + 2 * sizeof (instr_t);
729 pc = psp->pr_reg[R_PC];
730 npc = psp->pr_reg[R_nPC];
764 *p = psp->pr_reg[reg] + 2 * sizeof (instr_t);
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c448 P->status.pr_lwp.pr_reg[R_G1] = sysindex;
450 P->status.pr_lwp.pr_reg[R_SP] = sp - STACK_BIAS;
452 P->status.pr_lwp.pr_reg[R_SP] = sp;
453 P->status.pr_lwp.pr_reg[R_PC] = P->sysaddr;
454 P->status.pr_lwp.pr_reg[R_nPC] = P->sysaddr + sizeof (instr_t);
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dproc_ia32dep.c101 (void) mdb_tgt_vread(t, &ret, sizeof (ret), psp->pr_reg[EIP]);
581 return (mdb_ia32_step_out(t, p, psp->pr_reg[EIP], psp->pr_reg[EBP],
582 psp->pr_reg[UESP], pt_read_instr(t)));
597 return (mdb_ia32_next(t, p, psp->pr_reg[EIP], pt_read_instr(t)));
H A Dproc_amd64dep.c146 (void) mdb_tgt_vread(t, &ret, sizeof (ret), psp->pr_reg[REG_RIP]);
624 return (mdb_amd64_step_out(t, p, psp->pr_reg[EIP], psp->pr_reg[EBP],
625 psp->pr_reg[UESP], psp->pr_instr));
640 return (mdb_amd64_next(t, p, psp->pr_reg[REG_RIP], pt_read_instr(t)));
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_proc.c334 tnf_opaque, pc, prstat.pr_reg[R_PC],
449 tnf_opaque, pc, prstat.pr_reg[R_PC],
999 *r0 = prstatus.pr_reg[R_R0];
1000 *r1 = prstatus.pr_reg[R_R1];

Completed in 83 milliseconds

12