Lines Matching refs:kregs
76 kreg_t *kregs = &gregs.kregs[0];
108 wp = kregs[KREG_CWP];
109 canrestore = kregs[KREG_CANRESTORE];
120 argv[i] = kregs[KREG_I0 + i];
122 if (kregs[KREG_PC] != 0 &&
123 func(arg, kregs[KREG_PC], 6, argv, &gregs) != 0)
126 kregs[KREG_PC] = kregs[KREG_I7];
127 kregs[KREG_NPC] = kregs[KREG_PC] + 4;
129 if ((sp = kregs[KREG_FP] + STACK_BIAS) == STACK_BIAS || sp == 0)
140 bcopy(&kregs[KREG_I0], &kregs[KREG_O0], 8 * sizeof (kreg_t));
148 kregs[KREG_L0 + i] = (uintptr_t)rwin.rw_local[i];
150 kregs[KREG_I0 + i] = (uintptr_t)rwin.rw_in[i];
160 kregs[KREG_PC] = 0;
180 gregs.kregs[KREG_FP] = addr;
181 gregs.kregs[KREG_I7] = saved_pc;