Lines Matching refs:pr_reg
57 #define ELF_CORE_COPY_REGS(pr_reg, regs) \ argument
58 pr_reg[0] = regs->r0; \
59 pr_reg[1] = regs->r1; \
60 pr_reg[2] = regs->r2; \
61 pr_reg[3] = regs->r3; \
62 pr_reg[4] = regs->r4; \
63 pr_reg[5] = regs->r5; \
64 pr_reg[6] = regs->r6; \
65 pr_reg[7] = regs->r7; \
66 pr_reg[8] = regs->r8; \
67 pr_reg[9] = regs->r9; \
68 pr_reg[10] = regs->r10; \
69 pr_reg[11] = regs->r11; \
70 pr_reg[12] = regs->r12; \
71 pr_reg[13] = regs->r13; \
72 pr_reg[14] = rdusp(); /* sp */ \
73 pr_reg[15] = regs->irp; /* pc */ \
74 pr_reg[16] = 0; /* p0 */ \
75 pr_reg[17] = rdvr(); /* vr */ \
76 pr_reg[18] = 0; /* p2 */ \
77 pr_reg[19] = 0; /* p3 */ \
78 pr_reg[20] = 0; /* p4 */ \
79 pr_reg[21] = (regs->dccr & 0xffff); /* ccr */ \
80 pr_reg[22] = 0; /* p6 */ \
81 pr_reg[23] = regs->mof; /* mof */ \
82 pr_reg[24] = 0; /* p8 */ \
83 pr_reg[25] = 0; /* ibr */ \
84 pr_reg[26] = 0; /* irp */ \
85 pr_reg[27] = regs->srp; /* srp */ \
86 pr_reg[28] = 0; /* bar */ \
87 pr_reg[29] = regs->dccr; /* dccr */ \
88 pr_reg[30] = 0; /* brp */ \
89 pr_reg[31] = rdusp(); /* usp */ \
90 pr_reg[32] = 0; /* csrinstr */ \
91 pr_reg[33] = 0; /* csraddr */ \
92 pr_reg[34] = 0; /* csrdata */