![]() ![]() | ![]() |
File: [local] / funnyos / arch / testarm / boot / irq_trampoline.c (download)
Revision 1.1, Mon Oct 29 20:34:23 2007 UTC (16 years, 7 months ago) by init
jump to irq_trampoline on ARM IRQ (0x00000018); when an irq device is attached to system, it registers its xxx_irq to jump into from irq_trampoline(). |
/* * $Id: irq_trampoline.c,v 1.1 2007/10/29 20:34:23 init Exp $ */ /* * IRQ trampoline. * Will enter here when Core IRQ line is asserted. * IRQ controller driver configures us to call him on assert; * by default (until some irqc attached) we just return doing nothing. */ void __do_nothing_and_return(void) { __asm __volatile("mov r1,r1"); } void (*irq_trampoline)(void) = __do_nothing_and_return;