Lines Matching refs:gregs

275 	const greg_t *gregs = &src->uc_mcontext.gregs[0];
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_G2];
286 dst[R_G3] = gregs[REG_G3];
287 dst[R_G4] = gregs[REG_G4];
288 dst[R_G5] = gregs[REG_G5];
289 dst[R_G6] = gregs[REG_G6];
290 dst[R_G7] = gregs[REG_G7];
292 dst[R_O0] = gregs[REG_O0];
293 dst[R_O1] = gregs[REG_O1];
294 dst[R_O2] = gregs[REG_O2];
295 dst[R_O3] = gregs[REG_O3];
296 dst[R_O4] = gregs[REG_O4];
297 dst[R_O5] = gregs[REG_O5];
298 dst[R_O6] = gregs[REG_O6];
299 dst[R_O7] = gregs[REG_O7];
309 const greg32_t *gregs = &src->uc_mcontext.gregs[0];
311 dst[R_PSR] = (uint64_t)(uint32_t)gregs[REG_PSR];
312 dst[R_PC] = (uint64_t)(uint32_t)gregs[REG_PC];
313 dst[R_nPC] = (uint64_t)(uint32_t)gregs[REG_nPC];
314 dst[R_Y] = (uint64_t)(uint32_t)gregs[REG_Y];
316 dst[R_G1] = (uint64_t)(uint32_t)gregs[REG_G1];
317 dst[R_G2] = (uint64_t)(uint32_t)gregs[REG_G2];
318 dst[R_G3] = (uint64_t)(uint32_t)gregs[REG_G3];
319 dst[R_G4] = (uint64_t)(uint32_t)gregs[REG_G4];
320 dst[R_G5] = (uint64_t)(uint32_t)gregs[REG_G5];
321 dst[R_G6] = (uint64_t)(uint32_t)gregs[REG_G6];
322 dst[R_G7] = (uint64_t)(uint32_t)gregs[REG_G7];
324 dst[R_O0] = (uint64_t)(uint32_t)gregs[REG_O0];
325 dst[R_O1] = (uint64_t)(uint32_t)gregs[REG_O1];
326 dst[R_O2] = (uint64_t)(uint32_t)gregs[REG_O2];
327 dst[R_O3] = (uint64_t)(uint32_t)gregs[REG_O3];
328 dst[R_O4] = (uint64_t)(uint32_t)gregs[REG_O4];
329 dst[R_O5] = (uint64_t)(uint32_t)gregs[REG_O5];
330 dst[R_O6] = (uint64_t)(uint32_t)gregs[REG_O6];
331 dst[R_O7] = (uint64_t)(uint32_t)gregs[REG_O7];
341 prgregset_t gregs;
356 (void) memcpy(gregs, regs, sizeof (gregs));
361 fp = gregs[R_FP];
365 if (gregs[R_PC] - sigh.st_value < sigh.st_size) {
367 sig = gregs[R_I0];
379 args[i] = gregs[R_I0 + i];
380 if ((rv = func(arg, gregs, 6, args, frame_flags, sig)) != 0)
386 gregs[R_PC] = gregs[R_I7];
387 gregs[R_nPC] = gregs[R_PC] + 4;
388 (void) memcpy(&gregs[R_O0], &gregs[R_I0], 8*sizeof (prgreg_t));
389 if ((sp = gregs[R_FP]) == 0)
399 ucontext_32_to_prgregs(&uc32, gregs);
400 sp = gregs[R_SP];
407 (struct rwindow *)&gregs[R_L0]);
417 ucontext_n_to_prgregs(&uc, gregs);
418 sp = gregs[R_SP] + STACK_BIAS;
421 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp);
436 if (read_gwin(P, (struct rwindow *)&gregs[R_L0], sp) == -1)