nobody cared of irq

 

在写中断服务程序时,在经过很长时间的测试后,发现 问题:

irq 5: nobody cared (try booting with the "irqpoll" option) [<c0028c90>] (dump_stack+0x0/0x14) from [<c005f82c>] (__report_bad_irq+0x7c/0xac) [<c005f7b0>] (__report_bad_irq+0x0/0xac) from [<c005faa8>] (note_interrupt+0x24c/0x294) r4:00000000 [<c005f85c>] (note_interrupt+0x0/0x294) from [<c0060434>] (handle_level_irq+0xf0/0x110) [<c0060344>] (handle_level_irq+0x0/0x110) from [<c0024048>] (asm_do_IRQ+0x48/0x60) r5:c038dda8 r4:c035b514 [<c0024000>] (asm_do_IRQ+0x0/0x60) from [<c0024ac4>] (__irq_svc+0x24/0x80) Exception stack(0xc0353f50 to 0xc0353f98) 3f40: 00000000 0005317f 0005217f 60000013 3f60: c0025960 c0352000 c0370288 c0355d78 c001e9a8 41069265 c001e974 c0353fa4 3f80: 600000d3 c0353f98 c002e04c c00259c0 60000013 ffffffff r6:00000020 r5:fe170000 r4:ffffffff [<c0025960>] (default_idle+0x0/0x68) from [<c0025a00>] (cpu_idle+0x38/0x54) [<c00259c8>] (cpu_idle+0x0/0x54) from [<c0286e18>] (rest_init+0x50/0x60) r6:00000001 r5:c2800000 r4:fe450000 [<c0286dc8>] (rest_init+0x0/0x60) from [<c00089a0>] (start_kernel+0x2dc/0x3d8) [<c00086c4>] (start_kernel+0x0/0x3d8) from [<c0008034>] (__enable_mmu+0x0/0x2c) handlers: [<bf1e3000>] (timer_vsr+0x0/0x5c [oled]) Disabling IRQ #5

 

nobody cared 应该是 此服务程序返回值的问题。。。

 

//return 0;

 

部分情况下,我们都是返回IRQ_HANDLED

你可能感兴趣的:(c,timer,exception,report,REST,测试)