source: rtems/c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c @ 23f1974

4.104.114.84.95
Last change on this file since 23f1974 was 93f4a906, checked in by Joel Sherrill <joel.sherrill@…>, on 03/12/07 at 11:17:07

2007-03-12 Joel Sherrill <joel@…>

  • at91rm9200/clock/clock.c, at91rm9200/dbgu/dbgu.c, at91rm9200/include/at91rm9200.h, at91rm9200/include/at91rm9200_dbgu.h, at91rm9200/include/at91rm9200_emac.h, at91rm9200/include/at91rm9200_gpio.h, at91rm9200/include/at91rm9200_mem.h, at91rm9200/include/at91rm9200_pmc.h, at91rm9200/include/bits.h, at91rm9200/irq/bsp_irq_asm.S, at91rm9200/irq/bsp_irq_init.c, at91rm9200/irq/irq.c, at91rm9200/irq/irq.h, at91rm9200/pmc/pmc.c, at91rm9200/timer/timer.c, mc9328mxl/clock/clockdrv.c, mc9328mxl/include/mc9328mxl.h, mc9328mxl/irq/bsp_irq_asm.S, mc9328mxl/irq/bsp_irq_init.c, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h, mc9328mxl/timer/timer.c, s3c2400/clock/clockdrv.c, s3c2400/timer/timer.c: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were made previously.
  • Property mode set to 100644
File size: 837 bytes
Line 
1/*
2 * Atmel AT91RM9200 Interrupt handler
3 *
4 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
5 *     
6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *
12 *  $Id$
13 */
14#include <irq.h>
15#include <bsp.h>
16#include <at91rm9200.h>
17
18extern void default_int_handler();
19
20/*
21 * Interrupt system initialization. Disable interrupts, clear
22 * any that are pending.
23 */
24void BSP_rtems_irq_mngt_init()
25{
26    long *vectorTable;
27    int i;
28
29    vectorTable = (long *) VECTOR_TABLE;
30
31    /* Initialize the vector table contents with default handler */
32    for (i=0; i<BSP_MAX_INT; i++) {
33        *(vectorTable + i) = (long)(default_int_handler);
34    }
35
36    /* disable all interrupts */
37    AIC_CTL_REG(AIC_IDCR) = 0xffffffff;
38}
39
Note: See TracBrowser for help on using the repository browser.