Ignore:
File:
1 edited

Legend:

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

    rb2fa1204 r9d58539  
    4444#include <arch/mm/pht.h>
    4545#include <print.h>
    46 #include <log.h>
    4746
    4847void start_decrementer(void)
     
    5655void istate_decode(istate_t *istate)
    5756{
    58         log_printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t"
     57        printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t"
    5958            "r2 =%0#10" PRIx32 "\n", istate->r0, istate->sp, istate->r2);
    6059       
    61         log_printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t"
     60        printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t"
    6261            "r5 =%0#10" PRIx32 "\n", istate->r3, istate->r4, istate->r5);
    6362       
    64         log_printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t"
     63        printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t"
    6564            "r8 =%0#10" PRIx32 "\n", istate->r6, istate->r7, istate->r8);
    6665       
    67         log_printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t"
     66        printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t"
    6867            "r11=%0#10" PRIx32 "\n", istate->r9, istate->r10, istate->r11);
    6968       
    70         log_printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t"
     69        printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t"
    7170            "r14=%0#10" PRIx32 "\n", istate->r12, istate->r13, istate->r14);
    7271       
    73         log_printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t"
     72        printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t"
    7473            "r17=%0#10" PRIx32 "\n", istate->r15, istate->r16, istate->r17);
    7574       
    76         log_printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t"
     75        printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t"
    7776            "r20=%0#10" PRIx32 "\n", istate->r18, istate->r19, istate->r20);
    7877       
    79         log_printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t"
     78        printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t"
    8079            "r23=%0#10" PRIx32 "\n", istate->r21, istate->r22, istate->r23);
    8180       
    82         log_printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t"
     81        printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t"
    8382            "r26=%0#10" PRIx32 "\n", istate->r24, istate->r25, istate->r26);
    8483       
    85         log_printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t"
     84        printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t"
    8685            "r29=%0#10" PRIx32 "\n", istate->r27, istate->r28, istate->r29);
    8786       
    88         log_printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n",
     87        printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n",
    8988            istate->r30, istate->r31);
    9089       
    91         log_printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t"
     90        printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t"
    9291            "lr =%0#10" PRIx32 "\n", istate->cr, istate->pc, istate->lr);
    9392       
    94         log_printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t"
     93        printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t"
    9594            "dar=%0#10" PRIx32 "\n", istate->ctr, istate->xer, istate->dar);
    9695       
    97         log_printf("srr1=%0#10" PRIx32 "\n", istate->srr1);
     96        printf("srr1=%0#10" PRIx32 "\n", istate->srr1);
    9897}
    9998
     
    131130                         */
    132131#ifdef CONFIG_DEBUG
    133                         log(LF_ARCH, LVL_DEBUG, "cpu%u: spurious interrupt"
    134                             " (inum=%" PRIu8 ")", CPU->id, inum);
     132                        printf("cpu%u: spurious interrupt (inum=%" PRIu8 ")\n",
     133                            CPU->id, inum);
    135134#endif
    136135                }
Note: See TracChangeset for help on using the changeset viewer.