Changeset 682cfceb in mainline
- Timestamp:
- 2011-05-12T18:09:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b90778d, 82d56184
- Parents:
- 8469c53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/interrupt.c
r8469c53 r682cfceb 54 54 void istate_decode(istate_t *istate) 55 55 { 56 printf("r0 =% #0" PRIx32 "\tr1 =%p\tr2 =%#0" PRIx32 "\n",57 istate->r0, (void *)istate->sp, istate->r2);56 printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t" 57 "r2 =%0#10" PRIx32 "\n", istate->r0, istate->sp, istate->r2); 58 58 59 printf("r3 =% #0" PRIx32 "\tr4 =%#0" PRIx32 "\tr5 =%#0" PRIx32 "\n",60 istate->r3, istate->r4, istate->r5);59 printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t" 60 "r5 =%0#10" PRIx32 "\n", istate->r3, istate->r4, istate->r5); 61 61 62 printf("r6 =% #0" PRIx32 "\tr7 =%#0" PRIx32 "\tr8 =%#0" PRIx32 "\n",63 istate->r6, istate->r7, istate->r8);62 printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t" 63 "r8 =%0#10" PRIx32 "\n", istate->r6, istate->r7, istate->r8); 64 64 65 printf("r9 =% #0" PRIx32 "\tr10=%#0" PRIx32 "\tr11=%#0" PRIx32 "\n",66 istate->r9, istate->r10, istate->r11);65 printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t" 66 "r11=%0#10" PRIx32 "\n", istate->r9, istate->r10, istate->r11); 67 67 68 printf("r12=% #0" PRIx32 "\tr13=%#0" PRIx32 "\tr14=%#0" PRIx32 "\n",69 istate->r12, istate->r13, istate->r14);68 printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t" 69 "r14=%0#10" PRIx32 "\n", istate->r12, istate->r13, istate->r14); 70 70 71 printf("r15=% #0" PRIx32 "\tr16=%#0" PRIx32 "\tr17=%#0" PRIx32 "\n",72 istate->r15, istate->r16, istate->r17);71 printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t" 72 "r17=%0#10" PRIx32 "\n", istate->r15, istate->r16, istate->r17); 73 73 74 printf("r18=% #0" PRIx32 "\tr19=%#0" PRIx32 "\tr20=%#0" PRIx32 "\n",75 istate->r18, istate->r19, istate->r20);74 printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t" 75 "r20=%0#10" PRIx32 "\n", istate->r18, istate->r19, istate->r20); 76 76 77 printf("r21=% #0" PRIx32 "\tr22=%#0" PRIx32 "\tr23=%#0" PRIx32 "\n",78 istate->r21, istate->r22, istate->r23);77 printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t" 78 "r23=%0#10" PRIx32 "\n", istate->r21, istate->r22, istate->r23); 79 79 80 printf("r24=% #0" PRIx32 "\tr25=%#0" PRIx32 "\tr26=%#0" PRIx32 "\n",81 istate->r24, istate->r25, istate->r26);80 printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t" 81 "r26=%0#10" PRIx32 "\n", istate->r24, istate->r25, istate->r26); 82 82 83 printf("r27=% #0" PRIx32 "\tr28=%#0" PRIx32 "\tr29=%#0" PRIx32 "\n",84 istate->r27, istate->r28, istate->r29);83 printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t" 84 "r29=%0#10" PRIx32 "\n", istate->r27, istate->r28, istate->r29); 85 85 86 printf("r30=% #0" PRIx32 "\tr31=%#0" PRIx32 "\n",86 printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n", 87 87 istate->r30, istate->r31); 88 88 89 printf("cr =% #0" PRIx32 "\tpc =%p\tlr =%p\n",90 istate->cr, (void *) istate->pc, (void *)istate->lr);89 printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t" 90 "lr =%0#10" PRIx32 "\n", istate->cr, istate->pc, istate->lr); 91 91 92 printf("ctr=% #0" PRIx32 "\txer=%#0" PRIx32 "\tdar=%#0" PRIx32 "\n",93 istate->ctr, istate->xer, istate->dar);92 printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t" 93 "dar=%0#10" PRIx32 "\n", istate->ctr, istate->xer, istate->dar); 94 94 95 printf("srr1=% p\n", (void *)istate->srr1);95 printf("srr1=%0#10" PRIx32 "\n", istate->srr1); 96 96 } 97 97
Note:
See TracChangeset
for help on using the changeset viewer.