Lines Matching refs:prst

34 disp_reg_line(struct ps_prochandle *ph, pstatus_t *prst, char *r1, int ind1,  in disp_reg_line()  argument
39 (void) strcpy(str1, print_address_ps(ph, prst->pr_lwp.pr_reg[ind1], in disp_reg_line()
42 (void) strcpy(str2, print_address_ps(ph, prst->pr_lwp.pr_reg[ind2], in disp_reg_line()
54 prst->pr_lwp.pr_reg[ind1], str1); in disp_reg_line()
56 prst->pr_lwp.pr_reg[ind2], str2); in disp_reg_line()
59 prst->pr_lwp.pr_reg[ind1], str1, r2, in disp_reg_line()
60 prst->pr_lwp.pr_reg[ind2], str2); in disp_reg_line()
64 display_local_regs(struct ps_prochandle *ph, pstatus_t *prst) in display_local_regs() argument
68 if (prst == NULL) { in display_local_regs()
74 prst = &pstatus; in display_local_regs()
77 disp_reg_line(ph, prst, "l0", R_L0, "l4", R_L4); in display_local_regs()
78 disp_reg_line(ph, prst, "l1", R_L1, "l5", R_L5); in display_local_regs()
79 disp_reg_line(ph, prst, "l2", R_L2, "l6", R_L6); in display_local_regs()
80 disp_reg_line(ph, prst, "l3", R_L3, "l7", R_L7); in display_local_regs()
84 display_out_regs(struct ps_prochandle *ph, pstatus_t *prst) in display_out_regs() argument
88 if (prst == NULL) { in display_out_regs()
94 prst = &pstatus; in display_out_regs()
97 disp_reg_line(ph, prst, "o0", R_O0, "o4", R_O4); in display_out_regs()
98 disp_reg_line(ph, prst, "o1", R_O1, "o5", R_O5); in display_out_regs()
99 disp_reg_line(ph, prst, "o2", R_O2, "o6(sp)", R_O6); in display_out_regs()
100 disp_reg_line(ph, prst, "o3", R_O3, "o7", R_O7); in display_out_regs()
104 display_special_regs(struct ps_prochandle *ph, pstatus_t *prst) in display_special_regs() argument
108 if (prst == NULL) { in display_special_regs()
114 prst = &pstatus; in display_special_regs()
118 disp_reg_line(ph, prst, "ccr", R_CCR, "pc", R_PC); in display_special_regs()
119 disp_reg_line(ph, prst, "npc", R_nPC, "Y", R_Y); in display_special_regs()
120 disp_reg_line(ph, prst, "asi", R_ASI, "FPRS", R_FPRS); in display_special_regs()
122 disp_reg_line(ph, prst, "psr", R_PSR, "pc", R_PC); in display_special_regs()
123 disp_reg_line(ph, prst, "npc", R_nPC, "Y", R_Y); in display_special_regs()
124 disp_reg_line(ph, prst, "wim", R_WIM, "TBR", R_TBR); in display_special_regs()
129 display_global_regs(struct ps_prochandle *ph, pstatus_t *prst) in display_global_regs() argument
133 if (prst == NULL) { in display_global_regs()
139 prst = &pstatus; in display_global_regs()
142 disp_reg_line(ph, prst, "g0", R_G0, "g4", R_G4); in display_global_regs()
143 disp_reg_line(ph, prst, "g1", R_G1, "g5", R_G5); in display_global_regs()
144 disp_reg_line(ph, prst, "g2", R_G2, "g6", R_G6); in display_global_regs()
145 disp_reg_line(ph, prst, "g3", R_G3, "g7", R_G7); in display_global_regs()
149 display_in_regs(struct ps_prochandle *ph, pstatus_t *prst) in display_in_regs() argument
153 if (prst == NULL) { in display_in_regs()
159 prst = &pstatus; in display_in_regs()
162 disp_reg_line(ph, prst, "i0", R_I0, "i4", R_I4); in display_in_regs()
163 disp_reg_line(ph, prst, "i1", R_I1, "i5", R_I5); in display_in_regs()
164 disp_reg_line(ph, prst, "i2", R_I2, "i6(fp)", R_I6); in display_in_regs()
165 disp_reg_line(ph, prst, "i3", R_I3, "i7", R_I7); in display_in_regs()