source: rtems/c/src/lib/libbsp/arm/shared/irq/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: 893 bytes
Line 
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
16#include <irq.h>
17#include <bsp.h>
18#include <rtems/bspIo.h>
19
20void default_int_handler(rtems_irq_hdl_param unused)
21{
22  printk("raw_idt_notify has been called \n");
23}
24
25void  rtems_irq_mngt_init(void)
26{
27    rtems_interrupt_level       level;
28
29    rtems_interrupt_disable(level);
30
31    /* First, connect the ISR_Handler for IRQ interrupts */
32    _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, arm_exc_interrupt, NULL);
33
34    /* Initialize the INT at the BSP level */
35    BSP_rtems_irq_mngt_init();
36}
Note: See TracBrowser for help on using the repository browser.