Changes in kernel/arch/ppc32/src/interrupt.c [b2fa1204:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/interrupt.c
rb2fa1204 r9d58539 44 44 #include <arch/mm/pht.h> 45 45 #include <print.h> 46 #include <log.h>47 46 48 47 void start_decrementer(void) … … 56 55 void istate_decode(istate_t *istate) 57 56 { 58 log_printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t"57 printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t" 59 58 "r2 =%0#10" PRIx32 "\n", istate->r0, istate->sp, istate->r2); 60 59 61 log_printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t"60 printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t" 62 61 "r5 =%0#10" PRIx32 "\n", istate->r3, istate->r4, istate->r5); 63 62 64 log_printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t"63 printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t" 65 64 "r8 =%0#10" PRIx32 "\n", istate->r6, istate->r7, istate->r8); 66 65 67 log_printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t"66 printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t" 68 67 "r11=%0#10" PRIx32 "\n", istate->r9, istate->r10, istate->r11); 69 68 70 log_printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t"69 printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t" 71 70 "r14=%0#10" PRIx32 "\n", istate->r12, istate->r13, istate->r14); 72 71 73 log_printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t"72 printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t" 74 73 "r17=%0#10" PRIx32 "\n", istate->r15, istate->r16, istate->r17); 75 74 76 log_printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t"75 printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t" 77 76 "r20=%0#10" PRIx32 "\n", istate->r18, istate->r19, istate->r20); 78 77 79 log_printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t"78 printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t" 80 79 "r23=%0#10" PRIx32 "\n", istate->r21, istate->r22, istate->r23); 81 80 82 log_printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t"81 printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t" 83 82 "r26=%0#10" PRIx32 "\n", istate->r24, istate->r25, istate->r26); 84 83 85 log_printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t"84 printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t" 86 85 "r29=%0#10" PRIx32 "\n", istate->r27, istate->r28, istate->r29); 87 86 88 log_printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n",87 printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n", 89 88 istate->r30, istate->r31); 90 89 91 log_printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t"90 printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t" 92 91 "lr =%0#10" PRIx32 "\n", istate->cr, istate->pc, istate->lr); 93 92 94 log_printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t"93 printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t" 95 94 "dar=%0#10" PRIx32 "\n", istate->ctr, istate->xer, istate->dar); 96 95 97 log_printf("srr1=%0#10" PRIx32 "\n", istate->srr1);96 printf("srr1=%0#10" PRIx32 "\n", istate->srr1); 98 97 } 99 98 … … 131 130 */ 132 131 #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); 135 134 #endif 136 135 }
Note:
See TracChangeset
for help on using the changeset viewer.