source: rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/bsp_irq_init.c @ 7afe5a2

4.104.114.84.95
Last change on this file since 7afe5a2 was 7afe5a2, checked in by Jay Monkman <jtm@…>, on 06/03/06 at 03:14:07

2006-06-02 Jay Monkman

  • at91rm9200/irq/bsp_irq_init.c, mc9328mxl/clock/clockdrv.c, mc9328mxl/irq/bsp_irq_asm.S, mc9328mxl/irq/bsp_irq_init.c, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h, s3c2400/irq/bsp_irq_init.c: Changed interrupt handling to use shared rtems_irq_connect_data struct.
  • Property mode set to 100644
File size: 683 bytes
Line 
1/*
2 * Motorola MC9328MXL 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 <mc9328mxl.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    int i;
27
28    for (i = 0; i < BSP_MAX_INT; i++) {
29        bsp_vector_table[i].vector = default_int_handler;
30        bsp_vector_table[i].data   = NULL;
31    }
32}
33
Note: See TracBrowser for help on using the repository browser.