Lines Matching refs:grp
589 target_mc_gregset_t *grp; in sparc64_set_context() local
599 grp = &ucp->tuc_mcontext.mc_gregs; in sparc64_set_context()
600 __get_user(pc, &((*grp)[SPARC_MC_PC])); in sparc64_set_context()
601 __get_user(npc, &((*grp)[SPARC_MC_NPC])); in sparc64_set_context()
624 __get_user(env->y, &((*grp)[SPARC_MC_Y])); in sparc64_set_context()
625 __get_user(tstate, &((*grp)[SPARC_MC_TSTATE])); in sparc64_set_context()
629 __get_user(env->gregs[1], (&(*grp)[SPARC_MC_G1])); in sparc64_set_context()
630 __get_user(env->gregs[2], (&(*grp)[SPARC_MC_G2])); in sparc64_set_context()
631 __get_user(env->gregs[3], (&(*grp)[SPARC_MC_G3])); in sparc64_set_context()
632 __get_user(env->gregs[4], (&(*grp)[SPARC_MC_G4])); in sparc64_set_context()
633 __get_user(env->gregs[5], (&(*grp)[SPARC_MC_G5])); in sparc64_set_context()
634 __get_user(env->gregs[6], (&(*grp)[SPARC_MC_G6])); in sparc64_set_context()
645 __get_user(env->regwptr[WREG_O0], (&(*grp)[SPARC_MC_O0])); in sparc64_set_context()
646 __get_user(env->regwptr[WREG_O1], (&(*grp)[SPARC_MC_O1])); in sparc64_set_context()
647 __get_user(env->regwptr[WREG_O2], (&(*grp)[SPARC_MC_O2])); in sparc64_set_context()
648 __get_user(env->regwptr[WREG_O3], (&(*grp)[SPARC_MC_O3])); in sparc64_set_context()
649 __get_user(env->regwptr[WREG_O4], (&(*grp)[SPARC_MC_O4])); in sparc64_set_context()
650 __get_user(env->regwptr[WREG_O5], (&(*grp)[SPARC_MC_O5])); in sparc64_set_context()
651 __get_user(env->regwptr[WREG_O6], (&(*grp)[SPARC_MC_O6])); in sparc64_set_context()
652 __get_user(env->regwptr[WREG_O7], (&(*grp)[SPARC_MC_O7])); in sparc64_set_context()
706 target_mc_gregset_t *grp; in sparc64_get_context() local
721 grp = &mcp->mc_gregs; in sparc64_get_context()
747 __put_user(sparc64_tstate(env), &((*grp)[SPARC_MC_TSTATE])); in sparc64_get_context()
748 __put_user(env->pc, &((*grp)[SPARC_MC_PC])); in sparc64_get_context()
749 __put_user(env->npc, &((*grp)[SPARC_MC_NPC])); in sparc64_get_context()
750 __put_user(env->y, &((*grp)[SPARC_MC_Y])); in sparc64_get_context()
751 __put_user(env->gregs[1], &((*grp)[SPARC_MC_G1])); in sparc64_get_context()
752 __put_user(env->gregs[2], &((*grp)[SPARC_MC_G2])); in sparc64_get_context()
753 __put_user(env->gregs[3], &((*grp)[SPARC_MC_G3])); in sparc64_get_context()
754 __put_user(env->gregs[4], &((*grp)[SPARC_MC_G4])); in sparc64_get_context()
755 __put_user(env->gregs[5], &((*grp)[SPARC_MC_G5])); in sparc64_get_context()
756 __put_user(env->gregs[6], &((*grp)[SPARC_MC_G6])); in sparc64_get_context()
757 __put_user(env->gregs[7], &((*grp)[SPARC_MC_G7])); in sparc64_get_context()
767 __put_user(env->regwptr[WREG_O0], &((*grp)[SPARC_MC_O0])); in sparc64_get_context()
768 __put_user(env->regwptr[WREG_O1], &((*grp)[SPARC_MC_O1])); in sparc64_get_context()
769 __put_user(env->regwptr[WREG_O2], &((*grp)[SPARC_MC_O2])); in sparc64_get_context()
770 __put_user(env->regwptr[WREG_O3], &((*grp)[SPARC_MC_O3])); in sparc64_get_context()
771 __put_user(env->regwptr[WREG_O4], &((*grp)[SPARC_MC_O4])); in sparc64_get_context()
772 __put_user(env->regwptr[WREG_O5], &((*grp)[SPARC_MC_O5])); in sparc64_get_context()
773 __put_user(env->regwptr[WREG_O6], &((*grp)[SPARC_MC_O6])); in sparc64_get_context()
774 __put_user(env->regwptr[WREG_O7], &((*grp)[SPARC_MC_O7])); in sparc64_get_context()