Changeset f2b5d672 in rtems
 Timestamp:
 Sep 28, 2017, 5:12:53 AM (3 years ago)
 Branches:
 5, master
 Children:
 610ffd7
 Parents:
 441993a8
 Location:
 c/src/lib
 Files:

 4 edited
Legend:
 Unmodified
 Added
 Removed

c/src/lib/libbsp/powerpc/haleakala/mmu/mmu_405.c
r441993a8 rf2b5d672 273 273 excSyn = PPC_SPECIAL_PURPOSE_REGISTER(SPR_ESR); 274 274 if (excSyn & kESR_DST) printk("\nData write to $%" PRIx32 275 " attempted at $%" PRIx 32"\n",addr,f>EXC_SRR0);275 " attempted at $%" PRIxPTR "\n",addr,f>EXC_SRR0); 276 276 else printk("\nData read from $%" PRIx32 " attempted at $%" 277 PRIx 32"\n",addr,f>EXC_SRR0);277 PRIxPTR "\n",addr,f>EXC_SRR0); 278 278 return 1; 279 279 } … … 281 281 int InstructionMissException(BSP_Exception_frame *f, unsigned int vector) 282 282 { 283 printk("\nInstruction fetch attempted from $%" PRIx 32", no TLB exists\n",283 printk("\nInstruction fetch attempted from $%" PRIxPTR ", no TLB exists\n", 284 284 f>EXC_SRR0); 285 285 return 1; … … 288 288 int InstructionFetchException(BSP_Exception_frame *f, unsigned int vector) 289 289 { 290 printk("\nInstruction fetch attempted from $%" PRIx 32290 printk("\nInstruction fetch attempted from $%" PRIxPTR 291 291 ", TLB is noexecute\n",f>EXC_SRR0); 292 292 return 1; 
c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
r441993a8 rf2b5d672 113 113 printk(fmt, excPtr>_EXC_number); 114 114 /* register dump */ 115 printk("\t Next PC or Address of fault = %" PRIx 32", ", excPtr>EXC_SRR0);116 printk("Mvme5500 Saved MSR = %" PRIx 32"\n", excPtr>EXC_SRR1);117 printk("\t R0 = %08" PRIx 32, excPtr>GPR0);118 printk(" R1 = %08" PRIx 32, excPtr>GPR1);119 printk(" R2 = %08" PRIx 32, excPtr>GPR2);120 printk(" R3 = %08" PRIx 32"\n", excPtr>GPR3);121 printk("\t R4 = %08" PRIx 32, excPtr>GPR4);122 printk(" R5 = %08" PRIx 32, excPtr>GPR5);123 printk(" R6 = %08" PRIx 32, excPtr>GPR6);124 printk(" R7 = %08" PRIx 32"\n", excPtr>GPR7);125 printk("\t R8 = %08" PRIx 32, excPtr>GPR8);126 printk(" R9 = %08" PRIx 32, excPtr>GPR9);127 printk(" R10 = %08" PRIx 32, excPtr>GPR10);128 printk(" R11 = %08" PRIx 32"\n", excPtr>GPR11);129 printk("\t R12 = %08" PRIx 32, excPtr>GPR12);130 printk(" R13 = %08" PRIx 32, excPtr>GPR13);131 printk(" R14 = %08" PRIx 32, excPtr>GPR14);132 printk(" R15 = %08" PRIx 32"\n", excPtr>GPR15);133 printk("\t R16 = %08" PRIx 32, excPtr>GPR16);134 printk(" R17 = %08" PRIx 32, excPtr>GPR17);135 printk(" R18 = %08" PRIx 32, excPtr>GPR18);136 printk(" R19 = %08" PRIx 32"\n", excPtr>GPR19);137 printk("\t R20 = %08" PRIx 32, excPtr>GPR20);138 printk(" R21 = %08" PRIx 32, excPtr>GPR21);139 printk(" R22 = %08" PRIx 32, excPtr>GPR22);140 printk(" R23 = %08" PRIx 32"\n", excPtr>GPR23);141 printk("\t R24 = %08" PRIx 32, excPtr>GPR24);142 printk(" R25 = %08" PRIx 32, excPtr>GPR25);143 printk(" R26 = %08" PRIx 32, excPtr>GPR26);144 printk(" R27 = %08" PRIx 32"\n", excPtr>GPR27);145 printk("\t R28 = %08" PRIx 32, excPtr>GPR28);146 printk(" R29 = %08" PRIx 32, excPtr>GPR29);147 printk(" R30 = %08" PRIx 32, excPtr>GPR30);148 printk(" R31 = %08" PRIx 32"\n", excPtr>GPR31);115 printk("\t Next PC or Address of fault = %" PRIxPTR ", ", excPtr>EXC_SRR0); 116 printk("Mvme5500 Saved MSR = %" PRIxPTR "\n", excPtr>EXC_SRR1); 117 printk("\t R0 = %08" PRIxPTR, excPtr>GPR0); 118 printk(" R1 = %08" PRIxPTR, excPtr>GPR1); 119 printk(" R2 = %08" PRIxPTR, excPtr>GPR2); 120 printk(" R3 = %08" PRIxPTR "\n", excPtr>GPR3); 121 printk("\t R4 = %08" PRIxPTR, excPtr>GPR4); 122 printk(" R5 = %08" PRIxPTR, excPtr>GPR5); 123 printk(" R6 = %08" PRIxPTR, excPtr>GPR6); 124 printk(" R7 = %08" PRIxPTR "\n", excPtr>GPR7); 125 printk("\t R8 = %08" PRIxPTR, excPtr>GPR8); 126 printk(" R9 = %08" PRIxPTR, excPtr>GPR9); 127 printk(" R10 = %08" PRIxPTR, excPtr>GPR10); 128 printk(" R11 = %08" PRIxPTR "\n", excPtr>GPR11); 129 printk("\t R12 = %08" PRIxPTR, excPtr>GPR12); 130 printk(" R13 = %08" PRIxPTR, excPtr>GPR13); 131 printk(" R14 = %08" PRIxPTR, excPtr>GPR14); 132 printk(" R15 = %08" PRIxPTR "\n", excPtr>GPR15); 133 printk("\t R16 = %08" PRIxPTR, excPtr>GPR16); 134 printk(" R17 = %08" PRIxPTR, excPtr>GPR17); 135 printk(" R18 = %08" PRIxPTR, excPtr>GPR18); 136 printk(" R19 = %08" PRIxPTR "\n", excPtr>GPR19); 137 printk("\t R20 = %08" PRIxPTR, excPtr>GPR20); 138 printk(" R21 = %08" PRIxPTR, excPtr>GPR21); 139 printk(" R22 = %08" PRIxPTR, excPtr>GPR22); 140 printk(" R23 = %08" PRIxPTR "\n", excPtr>GPR23); 141 printk("\t R24 = %08" PRIxPTR, excPtr>GPR24); 142 printk(" R25 = %08" PRIxPTR, excPtr>GPR25); 143 printk(" R26 = %08" PRIxPTR, excPtr>GPR26); 144 printk(" R27 = %08" PRIxPTR "\n", excPtr>GPR27); 145 printk("\t R28 = %08" PRIxPTR, excPtr>GPR28); 146 printk(" R29 = %08" PRIxPTR, excPtr>GPR29); 147 printk(" R30 = %08" PRIxPTR, excPtr>GPR30); 148 printk(" R31 = %08" PRIxPTR "\n", excPtr>GPR31); 149 149 printk("\t CR = %08" PRIx32 "\n", excPtr>EXC_CR); 150 printk("\t CTR = %08" PRIx 32"\n", excPtr>EXC_CTR);150 printk("\t CTR = %08" PRIxPTR "\n", excPtr>EXC_CTR); 151 151 printk("\t XER = %08" PRIx32 "\n", excPtr>EXC_XER); 152 printk("\t LR = %08" PRIx 32"\n", excPtr>EXC_LR);152 printk("\t LR = %08" PRIxPTR "\n", excPtr>EXC_LR); 153 153 154 154 BSP_printStackTrace(excPtr); 
c/src/lib/libcpu/powerpc/mpc5xx/vectors/vectors_init.c
r441993a8 rf2b5d672 36 36 printk("exception handler called for exception %" PRIu32 "\n", 37 37 excPtr>_EXC_number); 38 printk("\t Next PC or Address of fault = %" PRIx 32"\n", excPtr>EXC_SRR0);39 printk("\t Saved MSR = %" PRIx 32"\n", excPtr>EXC_SRR1);40 printk("\t R0 = %" PRIx 32"\n", excPtr>GPR0);41 printk("\t R1 = %" PRIx 32"\n", excPtr>GPR1);42 printk("\t R2 = %" PRIx 32"\n", excPtr>GPR2);43 printk("\t R3 = %" PRIx 32"\n", excPtr>GPR3);44 printk("\t R4 = %" PRIx 32"\n", excPtr>GPR4);45 printk("\t R5 = %" PRIx 32"\n", excPtr>GPR5);46 printk("\t R6 = %" PRIx 32"\n", excPtr>GPR6);47 printk("\t R7 = %" PRIx 32"\n", excPtr>GPR7);48 printk("\t R8 = %" PRIx 32"\n", excPtr>GPR8);49 printk("\t R9 = %" PRIx 32"\n", excPtr>GPR9);50 printk("\t R10 = %" PRIx 32"\n", excPtr>GPR10);51 printk("\t R11 = %" PRIx 32"\n", excPtr>GPR11);52 printk("\t R12 = %" PRIx 32"\n", excPtr>GPR12);53 printk("\t R13 = %" PRIx 32"\n", excPtr>GPR13);54 printk("\t R14 = %" PRIx 32"\n", excPtr>GPR14);55 printk("\t R15 = %" PRIx 32"\n", excPtr>GPR15);56 printk("\t R16 = %" PRIx 32"\n", excPtr>GPR16);57 printk("\t R17 = %" PRIx 32"\n", excPtr>GPR17);58 printk("\t R18 = %" PRIx 32"\n", excPtr>GPR18);59 printk("\t R19 = %" PRIx 32"\n", excPtr>GPR19);60 printk("\t R20 = %" PRIx 32"\n", excPtr>GPR20);61 printk("\t R21 = %" PRIx 32"\n", excPtr>GPR21);62 printk("\t R22 = %" PRIx 32"\n", excPtr>GPR22);63 printk("\t R23 = %" PRIx 32"\n", excPtr>GPR23);64 printk("\t R24 = %" PRIx 32"\n", excPtr>GPR24);65 printk("\t R25 = %" PRIx 32"\n", excPtr>GPR25);66 printk("\t R26 = %" PRIx 32"\n", excPtr>GPR26);67 printk("\t R27 = %" PRIx 32"\n", excPtr>GPR27);68 printk("\t R28 = %" PRIx 32"\n", excPtr>GPR28);69 printk("\t R29 = %" PRIx 32"\n", excPtr>GPR29);70 printk("\t R30 = %" PRIx 32"\n", excPtr>GPR30);71 printk("\t R31 = %" PRIx 32"\n", excPtr>GPR31);38 printk("\t Next PC or Address of fault = %" PRIxPTR "\n", excPtr>EXC_SRR0); 39 printk("\t Saved MSR = %" PRIxPTR "\n", excPtr>EXC_SRR1); 40 printk("\t R0 = %" PRIxPTR "\n", excPtr>GPR0); 41 printk("\t R1 = %" PRIxPTR "\n", excPtr>GPR1); 42 printk("\t R2 = %" PRIxPTR "\n", excPtr>GPR2); 43 printk("\t R3 = %" PRIxPTR "\n", excPtr>GPR3); 44 printk("\t R4 = %" PRIxPTR "\n", excPtr>GPR4); 45 printk("\t R5 = %" PRIxPTR "\n", excPtr>GPR5); 46 printk("\t R6 = %" PRIxPTR "\n", excPtr>GPR6); 47 printk("\t R7 = %" PRIxPTR "\n", excPtr>GPR7); 48 printk("\t R8 = %" PRIxPTR "\n", excPtr>GPR8); 49 printk("\t R9 = %" PRIxPTR "\n", excPtr>GPR9); 50 printk("\t R10 = %" PRIxPTR "\n", excPtr>GPR10); 51 printk("\t R11 = %" PRIxPTR "\n", excPtr>GPR11); 52 printk("\t R12 = %" PRIxPTR "\n", excPtr>GPR12); 53 printk("\t R13 = %" PRIxPTR "\n", excPtr>GPR13); 54 printk("\t R14 = %" PRIxPTR "\n", excPtr>GPR14); 55 printk("\t R15 = %" PRIxPTR "\n", excPtr>GPR15); 56 printk("\t R16 = %" PRIxPTR "\n", excPtr>GPR16); 57 printk("\t R17 = %" PRIxPTR "\n", excPtr>GPR17); 58 printk("\t R18 = %" PRIxPTR "\n", excPtr>GPR18); 59 printk("\t R19 = %" PRIxPTR "\n", excPtr>GPR19); 60 printk("\t R20 = %" PRIxPTR "\n", excPtr>GPR20); 61 printk("\t R21 = %" PRIxPTR "\n", excPtr>GPR21); 62 printk("\t R22 = %" PRIxPTR "\n", excPtr>GPR22); 63 printk("\t R23 = %" PRIxPTR "\n", excPtr>GPR23); 64 printk("\t R24 = %" PRIxPTR "\n", excPtr>GPR24); 65 printk("\t R25 = %" PRIxPTR "\n", excPtr>GPR25); 66 printk("\t R26 = %" PRIxPTR "\n", excPtr>GPR26); 67 printk("\t R27 = %" PRIxPTR "\n", excPtr>GPR27); 68 printk("\t R28 = %" PRIxPTR "\n", excPtr>GPR28); 69 printk("\t R29 = %" PRIxPTR "\n", excPtr>GPR29); 70 printk("\t R30 = %" PRIxPTR "\n", excPtr>GPR30); 71 printk("\t R31 = %" PRIxPTR "\n", excPtr>GPR31); 72 72 printk("\t CR = %" PRIx32 "\n", excPtr>EXC_CR); 73 printk("\t CTR = %" PRIx 32"\n", excPtr>EXC_CTR);73 printk("\t CTR = %" PRIxPTR "\n", excPtr>EXC_CTR); 74 74 printk("\t XER = %" PRIx32 "\n", excPtr>EXC_XER); 75 printk("\t LR = %" PRIx 32"\n", excPtr>EXC_LR);75 printk("\t LR = %" PRIxPTR "\n", excPtr>EXC_LR); 76 76 if (excPtr>_EXC_number == ASM_DEC_VECTOR) 77 77 recoverable = 1; 
c/src/lib/libcpu/powerpc/newexceptions/bspsupport/ppc_exc_print.c
r441993a8 rf2b5d672 27 27 #define GET_GPR(gpr) (gpr) 28 28 #else 29 #define GET_GPR(gpr) ((uint 32_t) ((gpr) >> 32))29 #define GET_GPR(gpr) ((uintptr_t) ((gpr) >> 32)) 30 30 #endif 31 31
Note: See TracChangeset
for help on using the changeset viewer.