ptl1_gregs
uint_t reason = pstate->ptl1_regs.ptl1_gregs[0].ptl1_g1;
short curgl = rp->ptl1_gregs[0].ptl1_gl;
ptl1_gregs_t *pgp = &rp->ptl1_gregs[i];
ptl1_gregs_t ptl1_gregs[PTL1_MAXGL + 1];