1 #ifndef PT_ORIG_R3 2 # define PT_ORIG_R3 34 3 #endif 4 #define REGSIZE (sizeof(unsigned long)) 5 { REGSIZE*PT_R0, "r0" }, 6 { REGSIZE*PT_R1, "r1" }, 7 { REGSIZE*PT_R2, "r2" }, 8 { REGSIZE*PT_R3, "r3" }, 9 { REGSIZE*PT_R4, "r4" }, 10 { REGSIZE*PT_R5, "r5" }, 11 { REGSIZE*PT_R6, "r6" }, 12 { REGSIZE*PT_R7, "r7" }, 13 { REGSIZE*PT_R8, "r8" }, 14 { REGSIZE*PT_R9, "r9" }, 15 { REGSIZE*PT_R10, "r10" }, 16 { REGSIZE*PT_R11, "r11" }, 17 { REGSIZE*PT_R12, "r12" }, 18 { REGSIZE*PT_R13, "r13" }, 19 { REGSIZE*PT_R14, "r14" }, 20 { REGSIZE*PT_R15, "r15" }, 21 { REGSIZE*PT_R16, "r16" }, 22 { REGSIZE*PT_R17, "r17" }, 23 { REGSIZE*PT_R18, "r18" }, 24 { REGSIZE*PT_R19, "r19" }, 25 { REGSIZE*PT_R20, "r20" }, 26 { REGSIZE*PT_R21, "r21" }, 27 { REGSIZE*PT_R22, "r22" }, 28 { REGSIZE*PT_R23, "r23" }, 29 { REGSIZE*PT_R24, "r24" }, 30 { REGSIZE*PT_R25, "r25" }, 31 { REGSIZE*PT_R26, "r26" }, 32 { REGSIZE*PT_R27, "r27" }, 33 { REGSIZE*PT_R28, "r28" }, 34 { REGSIZE*PT_R29, "r29" }, 35 { REGSIZE*PT_R30, "r30" }, 36 { REGSIZE*PT_R31, "r31" }, 37 { REGSIZE*PT_NIP, "NIP" }, 38 { REGSIZE*PT_MSR, "MSR" }, 39 { REGSIZE*PT_ORIG_R3, "ORIG_R3" }, 40 { REGSIZE*PT_CTR, "CTR" }, 41 { REGSIZE*PT_LNK, "LNK" }, 42 { REGSIZE*PT_XER, "XER" }, 43 { REGSIZE*PT_CCR, "CCR" }, 44 { REGSIZE*PT_FPR0, "FPR0" }, 45 #undef REGSIZE 46 /* Other fields in "struct user" */ 47 #include "../userent0.h" 48