/osnet-11/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 101 fs = uc.uc_mcontext.gregs[FS]; 102 es = uc.uc_mcontext.gregs[ES]; 103 ds = uc.uc_mcontext.gregs[DS]; 104 cs = uc.uc_mcontext.gregs[CS]; 105 ss = uc.uc_mcontext.gregs[SS]; 110 ucp->uc_mcontext.gregs[FS] = fs; 111 ucp->uc_mcontext.gregs[ES] = es; 112 ucp->uc_mcontext.gregs[DS] = ds; 113 ucp->uc_mcontext.gregs[CS] = cs; 114 ucp->uc_mcontext.gregs[S [all...] |
/osnet-11/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 62 ucp->uc_mcontext.gregs[REG_PC] = (greg_t)func; 86 ucp->uc_mcontext.gregs[REG_RDI] = tmp; 89 ucp->uc_mcontext.gregs[REG_RSI] = tmp; 92 ucp->uc_mcontext.gregs[REG_RDX] = tmp; 95 ucp->uc_mcontext.gregs[REG_RCX] = tmp; 98 ucp->uc_mcontext.gregs[REG_R8] = tmp; 101 ucp->uc_mcontext.gregs[REG_R9] = tmp; 113 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)sp;
|
H A D | siglongjmp.c | 44 ucp->uc_mcontext.gregs[REG_R0] = val; 46 ucp->uc_mcontext.gregs[REG_R0] = 1;
|
/osnet-11/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 227 const greg_t *gregs = &src->uc_mcontext.gregs[0]; local 229 dst[R_PSR] = gregs[REG_PSR]; 230 dst[R_PC] = gregs[REG_PC]; 231 dst[R_nPC] = gregs[REG_nPC]; 232 dst[R_Y] = gregs[REG_Y]; 234 dst[R_G1] = gregs[REG_G1]; 235 dst[R_G2] = gregs[REG_G2]; 236 dst[R_G3] = gregs[REG_G3]; 237 dst[R_G4] = gregs[REG_G 259 prgregset_t gregs; local [all...] |
/osnet-11/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 275 const greg_t *gregs = &src->uc_mcontext.gregs[0]; local 277 dst[R_CCR] = gregs[REG_CCR]; 278 dst[R_ASI] = gregs[REG_ASI]; 279 dst[R_FPRS] = gregs[REG_FPRS]; 280 dst[R_PC] = gregs[REG_PC]; 281 dst[R_nPC] = gregs[REG_nPC]; 282 dst[R_Y] = gregs[REG_Y]; 284 dst[R_G1] = gregs[REG_G1]; 285 dst[R_G2] = gregs[REG_G 309 const greg32_t *gregs = &src->uc_mcontext.gregs[0]; local 341 prgregset_t gregs; local [all...] |
/osnet-11/usr/src/lib/libc/i386/gen/ |
H A D | siglongjmp.c | 47 ucp->uc_mcontext.gregs[EAX] = val; 49 ucp->uc_mcontext.gregs[EAX] = 1;
|
H A D | makectxt.c | 59 ucp->uc_mcontext.gregs[EIP] = (greg_t)func; 78 ucp->uc_mcontext.gregs[UESP] = (greg_t)sp;
|
/osnet-11/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 169 (void) memcpy(dst, src->uc_mcontext.gregs, sizeof (gregset_t)); 186 prgregset_t gregs; local 210 (void) memcpy(gregs, regs, sizeof (gregs)); 256 gregs[R_FP] = fp; 257 gregs[R_PC] = pc; 259 if ((rv = func(arg, gregs, argc, frame.args, frame_flags, 267 if (gregs[R_FP] != fp || gregs[R_PC] != pc) { 271 * iterator to change the contents of gregs [all...] |
/osnet-11/usr/src/lib/libc/sparc/gen/ |
H A D | getctxt.c | 55 reg = ucp->uc_mcontext.gregs;
|
H A D | swapctxt.c | 54 reg = oucp->uc_mcontext.gregs;
|
H A D | makectxt.c | 64 reg = ucp->uc_mcontext.gregs; 117 reg = ucp->uc_mcontext.gregs;
|
H A D | siglongjmp.c | 49 greg_t *reg = uc.uc_mcontext.gregs;
|
/osnet-11/usr/src/lib/libc/sparcv9/gen/ |
H A D | getctxt.c | 55 reg = ucp->uc_mcontext.gregs;
|
H A D | swapctxt.c | 54 reg = oucp->uc_mcontext.gregs;
|
H A D | makectxt.c | 64 reg = ucp->uc_mcontext.gregs; 117 reg = ucp->uc_mcontext.gregs;
|
H A D | siglongjmp.c | 46 greg_t *reg = uc.uc_mcontext.gregs;
|
/osnet-11/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 210 const greg32_t *src = &uc->uc_mcontext.gregs[0]; 247 prgregset_t gregs; local 272 (void) memcpy(gregs, regs, sizeof (gregs)); 317 gregs[R_FP] = fp; 318 gregs[R_PC] = pc; 323 if ((rv = func(arg, gregs, argc, args, frame_flags, sig)) != 0) 330 if (gregs[R_FP] != fp || gregs[R_PC] != pc) { 334 * iterator to change the contents of gregs 384 prgregset_t gregs; local [all...] |
/osnet-11/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 77 ucp->uc_mcontext.gregs[REG_FSBASE] = (greg_t)ulwp; 78 ucp->uc_mcontext.gregs[REG_FS] = 0; /* null selector indicates fsbase */ 81 ucp->uc_mcontext.gregs[REG_SS] = UDS_SEL; 92 ucp->uc_mcontext.gregs[REG_RDI] = (greg_t)ulwp; 93 ucp->uc_mcontext.gregs[REG_RIP] = (greg_t)func; 94 ucp->uc_mcontext.gregs[REG_RSP] = (greg_t)stack; 95 ucp->uc_mcontext.gregs[REG_RBP] = (greg_t)(stack + 1); 195 (void) memcpy(ucp->uc_mcontext.gregs, rs, _NGREG * sizeof (greg_t));
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | stack.c | 101 addr = ucp->uc_mcontext.gregs[REG_SP] + STACK_BIAS; 103 addr = ucp->uc_mcontext.gregs[REG_SP];
|
H A D | walkstack.c | 83 * gregs to construct the register set for the interrupted frame, and then 212 ((uintptr_t)uptr->uc_mcontext.gregs[FRAME_PTR_REGISTER] + 295 uc_mcontext.gregs[FRAME_PTR_REGISTER] + 297 savepc = oldctx->uc_mcontext.gregs[PC_REGISTER];
|
/osnet-11/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 80 ucp->uc_mcontext.gregs[REG_PC] = (greg_t)func; 81 ucp->uc_mcontext.gregs[REG_nPC] = (greg_t)func + 4; 82 ucp->uc_mcontext.gregs[REG_O0] = (greg_t)ulwp; 83 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack - STACK_BIAS); 84 ucp->uc_mcontext.gregs[REG_O7] = (greg_t)_lwp_start; 85 ucp->uc_mcontext.gregs[REG_G7] = (greg_t)ulwp;
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 184 Plwp_getregs(struct ps_prochandle *P, lwpid_t lwpid, prgregset_t gregs) argument 191 (void) memcpy(gregs, lps.pr_reg, sizeof (prgregset_t)); 196 Plwp_setregs(struct ps_prochandle *P, lwpid_t lwpid, const prgregset_t gregs) argument 198 return (setlwpregs(P, lwpid, PCSREG, gregs, sizeof (prgregset_t)));
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | sigaction.c | 568 uc.uc_mcontext.gregs[REG_G7] = (greg_t)self; 570 uc.uc_mcontext.gregs[REG_FSBASE] = (greg_t)self; 571 uc.uc_mcontext.gregs[REG_FS] = (greg_t)0; /* null for fsbase */ 573 uc.uc_mcontext.gregs[GS] = (greg_t)LWPGS_SEL;
|
/osnet-11/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 2033 s10_uc.uc_mcontext.gregs[REG_R14] = s10_uc.uc_mcontext.gregs[REG_RIP]; 2034 s10_uc.uc_mcontext.gregs[REG_RIP] = (greg_t)s10_lwp_create_entry_point;
|