4.104.115
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 | |
---|
20 | void default_int_handler(void) |
---|
21 | { |
---|
22 | printk("raw_idt_notify has been called \n"); |
---|
23 | } |
---|
24 | |
---|
25 | void 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.