source: rtems/c/src/lib/libcpu/arm/mc9328mxl/irq/bsp_irq_init.c @ 359e537

4.104.115
Last change on this file since 359e537 was 359e537, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/30/09 at 05:09:41

Whitespace removal.

  • Property mode set to 100644
File size: 678 bytes
RevLine 
[1cfcfd3]1/*
2 * Motorola MC9328MXL Interrupt handler
3 *
4 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
[359e537]5 *
[1cfcfd3]6 *  The license and distribution terms for this file may be
7 *  found in the file LICENSE in this distribution or at
8 *
[93f4a906]9 *  http://www.rtems.com/license/LICENSE.
[1cfcfd3]10 *
11 *
12 *  $Id$
13 */
14#include <irq.h>
15#include <bsp.h>
16#include <mc9328mxl.h>
17
[1233af3]18extern void default_int_handler(void);
[1cfcfd3]19
[359e537]20/*
21 * Interrupt system initialization. Disable interrupts, clear
[1cfcfd3]22 * any that are pending.
23 */
[1233af3]24void BSP_rtems_irq_mngt_init(void)
[1cfcfd3]25{
[7afe5a2]26    int i;
[1cfcfd3]27
[7afe5a2]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    }
[1cfcfd3]32}
33
Note: See TracBrowser for help on using the repository browser.