Changeset 7acdb10 in rtems for c/src/lib/libcpu/powerpc/mpc5xx/vectors/vectors_init.c
 Timestamp:
 Apr 7, 2017, 2:11:20 PM (3 years ago)
 Branches:
 master
 Children:
 2c23639
 Parents:
 c475924d
 gitauthor:
 Cillian O'Donnell <cpodonnell8@…> (04/07/17 14:11:20)
 gitcommitter:
 Joel Sherrill <joel@…> (04/07/17 20:37:58)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

c/src/lib/libcpu/powerpc/mpc5xx/vectors/vectors_init.c
rc475924d r7acdb10 18 18 * http://www.rtems.org/license/LICENSE. 19 19 */ 20 #include <inttypes.h> 20 21 #include <rtems/bspIo.h> 21 22 #include <libcpu/vectors.h> … … 33 34 int recoverable = 0; 34 35 35 printk("exception handler called for exception %d\n", excPtr>_EXC_number); 36 printk("\t Next PC or Address of fault = %x\n", excPtr>EXC_SRR0); 37 printk("\t Saved MSR = %x\n", excPtr>EXC_SRR1); 38 printk("\t R0 = %x\n", excPtr>GPR0); 39 printk("\t R1 = %x\n", excPtr>GPR1); 40 printk("\t R2 = %x\n", excPtr>GPR2); 41 printk("\t R3 = %x\n", excPtr>GPR3); 42 printk("\t R4 = %x\n", excPtr>GPR4); 43 printk("\t R5 = %x\n", excPtr>GPR5); 44 printk("\t R6 = %x\n", excPtr>GPR6); 45 printk("\t R7 = %x\n", excPtr>GPR7); 46 printk("\t R8 = %x\n", excPtr>GPR8); 47 printk("\t R9 = %x\n", excPtr>GPR9); 48 printk("\t R10 = %x\n", excPtr>GPR10); 49 printk("\t R11 = %x\n", excPtr>GPR11); 50 printk("\t R12 = %x\n", excPtr>GPR12); 51 printk("\t R13 = %x\n", excPtr>GPR13); 52 printk("\t R14 = %x\n", excPtr>GPR14); 53 printk("\t R15 = %x\n", excPtr>GPR15); 54 printk("\t R16 = %x\n", excPtr>GPR16); 55 printk("\t R17 = %x\n", excPtr>GPR17); 56 printk("\t R18 = %x\n", excPtr>GPR18); 57 printk("\t R19 = %x\n", excPtr>GPR19); 58 printk("\t R20 = %x\n", excPtr>GPR20); 59 printk("\t R21 = %x\n", excPtr>GPR21); 60 printk("\t R22 = %x\n", excPtr>GPR22); 61 printk("\t R23 = %x\n", excPtr>GPR23); 62 printk("\t R24 = %x\n", excPtr>GPR24); 63 printk("\t R25 = %x\n", excPtr>GPR25); 64 printk("\t R26 = %x\n", excPtr>GPR26); 65 printk("\t R27 = %x\n", excPtr>GPR27); 66 printk("\t R28 = %x\n", excPtr>GPR28); 67 printk("\t R29 = %x\n", excPtr>GPR29); 68 printk("\t R30 = %x\n", excPtr>GPR30); 69 printk("\t R31 = %x\n", excPtr>GPR31); 70 printk("\t CR = %x\n", excPtr>EXC_CR); 71 printk("\t CTR = %x\n", excPtr>EXC_CTR); 72 printk("\t XER = %x\n", excPtr>EXC_XER); 73 printk("\t LR = %x\n", excPtr>EXC_LR); 36 printk("exception handler called for exception %" PRIu32 "\n", 37 excPtr>_EXC_number); 38 printk("\t Next PC or Address of fault = %" PRIx32 "\n", excPtr>EXC_SRR0); 39 printk("\t Saved MSR = %" PRIx32 "\n", excPtr>EXC_SRR1); 40 printk("\t R0 = %" PRIx32 "\n", excPtr>GPR0); 41 printk("\t R1 = %" PRIx32 "\n", excPtr>GPR1); 42 printk("\t R2 = %" PRIx32 "\n", excPtr>GPR2); 43 printk("\t R3 = %" PRIx32 "\n", excPtr>GPR3); 44 printk("\t R4 = %" PRIx32 "\n", excPtr>GPR4); 45 printk("\t R5 = %" PRIx32 "\n", excPtr>GPR5); 46 printk("\t R6 = %" PRIx32 "\n", excPtr>GPR6); 47 printk("\t R7 = %" PRIx32 "\n", excPtr>GPR7); 48 printk("\t R8 = %" PRIx32 "\n", excPtr>GPR8); 49 printk("\t R9 = %" PRIx32 "\n", excPtr>GPR9); 50 printk("\t R10 = %" PRIx32 "\n", excPtr>GPR10); 51 printk("\t R11 = %" PRIx32 "\n", excPtr>GPR11); 52 printk("\t R12 = %" PRIx32 "\n", excPtr>GPR12); 53 printk("\t R13 = %" PRIx32 "\n", excPtr>GPR13); 54 printk("\t R14 = %" PRIx32 "\n", excPtr>GPR14); 55 printk("\t R15 = %" PRIx32 "\n", excPtr>GPR15); 56 printk("\t R16 = %" PRIx32 "\n", excPtr>GPR16); 57 printk("\t R17 = %" PRIx32 "\n", excPtr>GPR17); 58 printk("\t R18 = %" PRIx32 "\n", excPtr>GPR18); 59 printk("\t R19 = %" PRIx32 "\n", excPtr>GPR19); 60 printk("\t R20 = %" PRIx32 "\n", excPtr>GPR20); 61 printk("\t R21 = %" PRIx32 "\n", excPtr>GPR21); 62 printk("\t R22 = %" PRIx32 "\n", excPtr>GPR22); 63 printk("\t R23 = %" PRIx32 "\n", excPtr>GPR23); 64 printk("\t R24 = %" PRIx32 "\n", excPtr>GPR24); 65 printk("\t R25 = %" PRIx32 "\n", excPtr>GPR25); 66 printk("\t R26 = %" PRIx32 "\n", excPtr>GPR26); 67 printk("\t R27 = %" PRIx32 "\n", excPtr>GPR27); 68 printk("\t R28 = %" PRIx32 "\n", excPtr>GPR28); 69 printk("\t R29 = %" PRIx32 "\n", excPtr>GPR29); 70 printk("\t R30 = %" PRIx32 "\n", excPtr>GPR30); 71 printk("\t R31 = %" PRIx32 "\n", excPtr>GPR31); 72 printk("\t CR = %" PRIx32 "\n", excPtr>EXC_CR); 73 printk("\t CTR = %" PRIx32 "\n", excPtr>EXC_CTR); 74 printk("\t XER = %" PRIx32 "\n", excPtr>EXC_XER); 75 printk("\t LR = %" PRIx32 "\n", excPtr>EXC_LR); 74 76 if (excPtr>_EXC_number == ASM_DEC_VECTOR) 75 77 recoverable = 1;
Note: See TracChangeset
for help on using the changeset viewer.