source: rtems/c/src/lib/libbsp/arm/shared/irq/irq_init.c @ 7ae2775

4.104.115
Last change on this file since 7ae2775 was 7ae2775, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 07/17/09 at 13:53:04

ARM bsp maintenance

  • Property mode set to 100644
File size: 871 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(void)
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.