source: rtems/c/src/lib/libcpu/arm/s3c24xx/irq/bsp_irq_init.c @ c193baad

4.104.11
Last change on this file since c193baad was c193baad, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Apr 9, 2010 at 8:24:57 PM

unify irq data types and code, merge s3c2400/s3c2410 support

  • Property mode set to 100644
File size: 834 bytes
RevLine 
[dbdb0255]1/* irq_init.c
2 *
3 *  This file contains the implementation of rtems initialization
4 *  related to interrupt handling.
5 *
6 *  CopyRight (C) 2000 Canon Research Centre France SA.
7 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15#include <irq.h>
16#include <bsp.h>
17#include <s3c24xx.h>
18
[1233af3]19void BSP_rtems_irq_mngt_init(void)
[dbdb0255]20{
21    long *vectorTable;
22    int i;
23
24    vectorTable = (long *) VECTOR_TABLE;
25
26    /* Initialize the vector table contents with default handler */
27    for (i=0; i<BSP_MAX_INT; i++) {
28        *(vectorTable + i) = (long)(default_int_handler);
29    }
30
31    /*
32     * Here is the code to initialize the INT for
33     * the specified BSP
34     */
35}
Note: See TracBrowser for help on using the repository browser.