Return to irq_trampoline.c CVS log | Up to [local] / funnyos / arch / testarm / boot |
File: [local] / funnyos / arch / testarm / boot / irq_trampoline.c (download)
Revision 1.3, Sun Nov 4 22:41:55 2007 UTC (16 years, 10 months ago) by init
add prototypes for resident functions |
/* * $Id: irq_trampoline.c,v 1.3 2007/11/04 22:41:55 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 irq_trampoline(void); void __do_nothing_and_return(void); void __do_nothing_and_return(void) { __asm __volatile("mov r1,r1"); } void (*irq_trampoline_func)(void) = __do_nothing_and_return; void irq_trampoline(void) { irq_trampoline_func(); }