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

4.104.114.84.9
Last change on this file since af85485 was af85485, checked in by Jay Monkman <jtm@…>, on Jul 15, 2004 at 6:24:14 AM

2004-07-15 Jay Monkman

  • ChangeLog?, Makefile.am, clock/.cvsignore, clock/clock.c, dbgu/.cvsignore, dbgu/dbgu.c, include/at91rm9200.h, include/at91rm9200_dbgu.h, include/at91rm9200_emac.h, include/at91rm9200_gpio.h, include/at91rm9200_mem.h, include/at91rm9200_pmc.h, include/bits.h, irq/.cvsignore, irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, pmc/pmc.c, timer/.cvsignore, timer/timer.c: New files.
  • Property mode set to 100644
File size: 596 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.OARcorp.com/rtems/license.html.
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    /* disable all interrupts */
27    AIC_CTL_REG(AIC_IDCR) = 0xffffffff;
28}
29
Note: See TracBrowser for help on using the repository browser.