Lines Matching refs:grp

328 setgregs(klwp_t *lwp, gregset_t grp)  in setgregs()  argument
339 tbits = (((grp[REG_CCR] & TSTATE_CCR_MASK) << TSTATE_CCR_SHIFT) | in setgregs()
340 ((grp[REG_ASI] & TSTATE_ASI_MASK) << TSTATE_ASI_SHIFT)); in setgregs()
345 fp->fpu_fprs = (uint32_t)grp[REG_FPRS]; in setgregs()
354 rp->r_pc = grp[REG_PC] & ~03L; in setgregs()
355 rp->r_npc = grp[REG_nPC] & ~03L; in setgregs()
356 rp->r_y = grp[REG_Y]; in setgregs()
358 rp->r_g1 = grp[REG_G1]; in setgregs()
359 rp->r_g2 = grp[REG_G2]; in setgregs()
360 rp->r_g3 = grp[REG_G3]; in setgregs()
361 rp->r_g4 = grp[REG_G4]; in setgregs()
362 rp->r_g5 = grp[REG_G5]; in setgregs()
363 rp->r_g6 = grp[REG_G6]; in setgregs()
364 rp->r_g7 = grp[REG_G7]; in setgregs()
366 rp->r_o0 = grp[REG_O0]; in setgregs()
367 rp->r_o1 = grp[REG_O1]; in setgregs()
368 rp->r_o2 = grp[REG_O2]; in setgregs()
369 rp->r_o3 = grp[REG_O3]; in setgregs()
370 rp->r_o4 = grp[REG_O4]; in setgregs()
371 rp->r_o5 = grp[REG_O5]; in setgregs()
372 rp->r_o6 = grp[REG_O6]; in setgregs()
373 rp->r_o7 = grp[REG_O7]; in setgregs()
392 getgregs(klwp_t *lwp, gregset_t grp) in getgregs() argument
405 grp[REG_CCR] = (rp->r_tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; in getgregs()
406 grp[REG_PC] = rp->r_pc; in getgregs()
407 grp[REG_nPC] = rp->r_npc; in getgregs()
408 grp[REG_Y] = (uint32_t)rp->r_y; in getgregs()
409 grp[REG_G1] = rp->r_g1; in getgregs()
410 grp[REG_G2] = rp->r_g2; in getgregs()
411 grp[REG_G3] = rp->r_g3; in getgregs()
412 grp[REG_G4] = rp->r_g4; in getgregs()
413 grp[REG_G5] = rp->r_g5; in getgregs()
414 grp[REG_G6] = rp->r_g6; in getgregs()
415 grp[REG_G7] = rp->r_g7; in getgregs()
416 grp[REG_O0] = rp->r_o0; in getgregs()
417 grp[REG_O1] = rp->r_o1; in getgregs()
418 grp[REG_O2] = rp->r_o2; in getgregs()
419 grp[REG_O3] = rp->r_o3; in getgregs()
420 grp[REG_O4] = rp->r_o4; in getgregs()
421 grp[REG_O5] = rp->r_o5; in getgregs()
422 grp[REG_O6] = rp->r_o6; in getgregs()
423 grp[REG_O7] = rp->r_o7; in getgregs()
424 grp[REG_ASI] = (rp->r_tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK; in getgregs()
425 grp[REG_FPRS] = fprs; in getgregs()
429 getgregs32(klwp_t *lwp, gregset32_t grp) in getgregs32() argument
442 grp[REG_PSR] = mkpsr(rp->r_tstate, fprs); in getgregs32()
443 grp[REG_PC] = rp->r_pc; in getgregs32()
444 grp[REG_nPC] = rp->r_npc; in getgregs32()
445 grp[REG_Y] = rp->r_y; in getgregs32()
446 grp[REG_G1] = rp->r_g1; in getgregs32()
447 grp[REG_G2] = rp->r_g2; in getgregs32()
448 grp[REG_G3] = rp->r_g3; in getgregs32()
449 grp[REG_G4] = rp->r_g4; in getgregs32()
450 grp[REG_G5] = rp->r_g5; in getgregs32()
451 grp[REG_G6] = rp->r_g6; in getgregs32()
452 grp[REG_G7] = rp->r_g7; in getgregs32()
453 grp[REG_O0] = rp->r_o0; in getgregs32()
454 grp[REG_O1] = rp->r_o1; in getgregs32()
455 grp[REG_O2] = rp->r_o2; in getgregs32()
456 grp[REG_O3] = rp->r_o3; in getgregs32()
457 grp[REG_O4] = rp->r_o4; in getgregs32()
458 grp[REG_O5] = rp->r_o5; in getgregs32()
459 grp[REG_O6] = rp->r_o6; in getgregs32()
460 grp[REG_O7] = rp->r_o7; in getgregs32()
1550 lwp_load(klwp_t *lwp, gregset_t grp, uintptr_t thrptr) in lwp_load() argument
1552 setgregs(lwp, grp); in lwp_load()