Annotation of funnyos/arch/sam7s64/boot/irq_trampoline.c, Revision 1.1
1.1 ! init 1: /*
! 2: * $Id$
! 3: */
! 4:
! 5: /*
! 6: * IRQ trampoline.
! 7: * Will enter here when Core IRQ line is asserted.
! 8: * IRQ controller driver configures us to call him on assert;
! 9: * by default (until some irqc attached) we just return doing nothing.
! 10: */
! 11:
! 12: void irq_trampoline(void);
! 13: void __do_nothing_and_return(void);
! 14:
! 15:
! 16: void
! 17: __do_nothing_and_return(void)
! 18: {
! 19:
! 20: __asm __volatile("mov r1,r1");
! 21: }
! 22:
! 23: void (*irq_trampoline_func)(void) = __do_nothing_and_return;
! 24:
! 25:
! 26: void
! 27: irq_trampoline(void)
! 28: {
! 29: irq_trampoline_func();
! 30: }
! 31:
! 32:
CVSweb