Changeset a35b458 in mainline for kernel/arch/ppc32/src/interrupt.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/interrupt.c
r3061bc1 ra35b458 66 66 log_printf("r0 =%0#10" PRIx32 "\tr1 =%0#10" PRIx32 "\t" 67 67 "r2 =%0#10" PRIx32 "\n", istate->r0, istate->sp, istate->r2); 68 68 69 69 log_printf("r3 =%0#10" PRIx32 "\tr4 =%0#10" PRIx32 "\t" 70 70 "r5 =%0#10" PRIx32 "\n", istate->r3, istate->r4, istate->r5); 71 71 72 72 log_printf("r6 =%0#10" PRIx32 "\tr7 =%0#10" PRIx32 "\t" 73 73 "r8 =%0#10" PRIx32 "\n", istate->r6, istate->r7, istate->r8); 74 74 75 75 log_printf("r9 =%0#10" PRIx32 "\tr10=%0#10" PRIx32 "\t" 76 76 "r11=%0#10" PRIx32 "\n", istate->r9, istate->r10, istate->r11); 77 77 78 78 log_printf("r12=%0#10" PRIx32 "\tr13=%0#10" PRIx32 "\t" 79 79 "r14=%0#10" PRIx32 "\n", istate->r12, istate->r13, istate->r14); 80 80 81 81 log_printf("r15=%0#10" PRIx32 "\tr16=%0#10" PRIx32 "\t" 82 82 "r17=%0#10" PRIx32 "\n", istate->r15, istate->r16, istate->r17); 83 83 84 84 log_printf("r18=%0#10" PRIx32 "\tr19=%0#10" PRIx32 "\t" 85 85 "r20=%0#10" PRIx32 "\n", istate->r18, istate->r19, istate->r20); 86 86 87 87 log_printf("r21=%0#10" PRIx32 "\tr22=%0#10" PRIx32 "\t" 88 88 "r23=%0#10" PRIx32 "\n", istate->r21, istate->r22, istate->r23); 89 89 90 90 log_printf("r24=%0#10" PRIx32 "\tr25=%0#10" PRIx32 "\t" 91 91 "r26=%0#10" PRIx32 "\n", istate->r24, istate->r25, istate->r26); 92 92 93 93 log_printf("r27=%0#10" PRIx32 "\tr28=%0#10" PRIx32 "\t" 94 94 "r29=%0#10" PRIx32 "\n", istate->r27, istate->r28, istate->r29); 95 95 96 96 log_printf("r30=%0#10" PRIx32 "\tr31=%0#10" PRIx32 "\n", 97 97 istate->r30, istate->r31); 98 98 99 99 log_printf("cr =%0#10" PRIx32 "\tpc =%0#10" PRIx32 "\t" 100 100 "lr =%0#10" PRIx32 "\n", istate->cr, istate->pc, istate->lr); 101 101 102 102 log_printf("ctr=%0#10" PRIx32 "\txer=%0#10" PRIx32 "\t" 103 103 "dar=%0#10" PRIx32 "\n", istate->ctr, istate->xer, istate->dar); 104 104 105 105 log_printf("srr1=%0#10" PRIx32 "\n", istate->srr1); 106 106 } … … 119 119 * The IRQ handler was found. 120 120 */ 121 121 122 122 if (irq->preack) { 123 123 /* Acknowledge the interrupt before processing */ … … 125 125 irq->cir(irq->cir_arg, irq->inr); 126 126 } 127 127 128 128 irq->handler(irq); 129 129 130 130 if (!irq->preack) { 131 131 if (irq->cir) 132 132 irq->cir(irq->cir_arg, irq->inr); 133 133 } 134 134 135 135 irq_spinlock_unlock(&irq->lock, false); 136 136 } else {
Note:
See TracChangeset
for help on using the changeset viewer.