diff options
Diffstat (limited to 'c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c')
-rw-r--r-- | c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c b/c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c new file mode 100644 index 0000000000..ebc920bdbe --- /dev/null +++ b/c/src/lib/libcpu/arm/at91rm9200/irq/bsp_irq_init.c @@ -0,0 +1,29 @@ +/* + * Atmel AT91RM9200 Interrupt handler + * + * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * + * http://www.OARcorp.com/rtems/license.html. + * + * + * $Id$ + */ +#include <irq.h> +#include <bsp.h> +#include <at91rm9200.h> + +extern void default_int_handler(); + +/* + * Interrupt system initialization. Disable interrupts, clear + * any that are pending. + */ +void BSP_rtems_irq_mngt_init() +{ + /* disable all interrupts */ + AIC_CTL_REG(AIC_IDCR) = 0xffffffff; +} + |