Lines Matching refs:gregs
229 const greg_t *gregs = &src->uc_mcontext.gregs[0]; in ucontext_n_to_prgregs() local
231 dst[R_PSR] = gregs[REG_PSR]; in ucontext_n_to_prgregs()
232 dst[R_PC] = gregs[REG_PC]; in ucontext_n_to_prgregs()
233 dst[R_nPC] = gregs[REG_nPC]; in ucontext_n_to_prgregs()
234 dst[R_Y] = gregs[REG_Y]; in ucontext_n_to_prgregs()
236 dst[R_G1] = gregs[REG_G1]; in ucontext_n_to_prgregs()
237 dst[R_G2] = gregs[REG_G2]; in ucontext_n_to_prgregs()
238 dst[R_G3] = gregs[REG_G3]; in ucontext_n_to_prgregs()
239 dst[R_G4] = gregs[REG_G4]; in ucontext_n_to_prgregs()
240 dst[R_G5] = gregs[REG_G5]; in ucontext_n_to_prgregs()
241 dst[R_G6] = gregs[REG_G6]; in ucontext_n_to_prgregs()
242 dst[R_G7] = gregs[REG_G7]; in ucontext_n_to_prgregs()
244 dst[R_O0] = gregs[REG_O0]; in ucontext_n_to_prgregs()
245 dst[R_O1] = gregs[REG_O1]; in ucontext_n_to_prgregs()
246 dst[R_O2] = gregs[REG_O2]; in ucontext_n_to_prgregs()
247 dst[R_O3] = gregs[REG_O3]; in ucontext_n_to_prgregs()
248 dst[R_O4] = gregs[REG_O4]; in ucontext_n_to_prgregs()
249 dst[R_O5] = gregs[REG_O5]; in ucontext_n_to_prgregs()
250 dst[R_O6] = gregs[REG_O6]; in ucontext_n_to_prgregs()
251 dst[R_O7] = gregs[REG_O7]; in ucontext_n_to_prgregs()
261 prgregset_t gregs; in Pstack_iter() local
272 (void) memcpy(gregs, regs, sizeof (gregs)); in Pstack_iter()
275 fp = gregs[R_FP]; in Pstack_iter()
280 args[i] = gregs[R_I0 + i]; in Pstack_iter()
281 if ((rv = func(arg, gregs, 6, args)) != 0) in Pstack_iter()
284 gregs[R_PC] = gregs[R_I7]; in Pstack_iter()
285 gregs[R_nPC] = gregs[R_PC] + 4; in Pstack_iter()
286 (void) memcpy(&gregs[R_O0], &gregs[R_I0], 8*sizeof (prgreg_t)); in Pstack_iter()
287 if ((sp = gregs[R_FP]) == 0) in Pstack_iter()
295 ucontext_n_to_prgregs(&uc, gregs); in Pstack_iter()
296 sp = gregs[R_SP] + STACK_BIAS; in Pstack_iter()
299 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp); in Pstack_iter()
313 if (read_gwin(P, (struct rwindow *)&gregs[R_L0], sp) == -1) in Pstack_iter()