Changeset eb522e8 in mainline for kernel/arch/ppc32/src/interrupt.c


Ignore:
Timestamp:
2011-06-01T08:43:42Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8d6c1f1
Parents:
9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Huuuuuge merge from development - all the work actually :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/interrupt.c

    r9e2e715 reb522e8  
    5454void istate_decode(istate_t *istate)
    5555{
    56         printf("r0 =%p\tr1 =%p\tr2 =%p\n", istate->r0, istate->sp, istate->r2);
    57         printf("r3 =%p\tr4 =%p\tr5 =%p\n", istate->r3, istate->r4, istate->r5);
    58         printf("r6 =%p\tr7 =%p\tr8 =%p\n", istate->r6, istate->r7, istate->r8);
    59         printf("r9 =%p\tr10=%p\tr11=%p\n",
    60             istate->r9, istate->r10, istate->r11);
    61         printf("r12=%p\tr13=%p\tr14=%p\n",
    62             istate->r12, istate->r13, istate->r14);
    63         printf("r15=%p\tr16=%p\tr17=%p\n",
    64             istate->r15, istate->r16, istate->r17);
    65         printf("r18=%p\tr19=%p\tr20=%p\n",
    66             istate->r18, istate->r19, istate->r20);
    67         printf("r21=%p\tr22=%p\tr23=%p\n",
    68             istate->r21, istate->r22, istate->r23);
    69         printf("r24=%p\tr25=%p\tr26=%p\n",
    70             istate->r24, istate->r25, istate->r26);
    71         printf("r27=%p\tr28=%p\tr29=%p\n",
    72             istate->r27, istate->r28, istate->r29);
    73         printf("r30=%p\tr31=%p\n", istate->r30, istate->r31);
    74         printf("cr =%p\tpc =%p\tlr =%p\n", istate->cr, istate->pc, istate->lr);
    75         printf("ctr=%p\txer=%p\tdar=%p\n",
    76             istate->ctr, istate->xer, istate->dar);
    77         printf("srr1=%p\n", istate->srr1);
     56        printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t"
     57            "r2 =%0#10" PRIx32 "\n", istate->r0, istate->sp, istate->r2);
     58       
     59        printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t"
     60            "r5 =%0#10" PRIx32 "\n", istate->r3, istate->r4, istate->r5);
     61       
     62        printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t"
     63            "r8 =%0#10" PRIx32 "\n", istate->r6, istate->r7, istate->r8);
     64       
     65        printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t"
     66            "r11=%0#10" PRIx32 "\n", istate->r9, istate->r10, istate->r11);
     67       
     68        printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t"
     69            "r14=%0#10" PRIx32 "\n", istate->r12, istate->r13, istate->r14);
     70       
     71        printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t"
     72            "r17=%0#10" PRIx32 "\n", istate->r15, istate->r16, istate->r17);
     73       
     74        printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t"
     75            "r20=%0#10" PRIx32 "\n", istate->r18, istate->r19, istate->r20);
     76       
     77        printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t"
     78            "r23=%0#10" PRIx32 "\n", istate->r21, istate->r22, istate->r23);
     79       
     80        printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t"
     81            "r26=%0#10" PRIx32 "\n", istate->r24, istate->r25, istate->r26);
     82       
     83        printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t"
     84            "r29=%0#10" PRIx32 "\n", istate->r27, istate->r28, istate->r29);
     85       
     86        printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n",
     87            istate->r30, istate->r31);
     88       
     89        printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t"
     90            "lr =%0#10" PRIx32 "\n", istate->cr, istate->pc, istate->lr);
     91       
     92        printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t"
     93            "dar=%0#10" PRIx32 "\n", istate->ctr, istate->xer, istate->dar);
     94       
     95        printf("srr1=%0#10" PRIx32 "\n", istate->srr1);
    7896}
    7997
     
    111129                         */
    112130#ifdef CONFIG_DEBUG
    113                         printf("cpu%" PRIs ": spurious interrupt (inum=%" PRIu8 ")\n",
     131                        printf("cpu%u: spurious interrupt (inum=%" PRIu8 ")\n",
    114132                            CPU->id, inum);
    115133#endif
Note: See TracChangeset for help on using the changeset viewer.