4.104.114.95
Last change
on this file since 6bb1d1a2 was
6bb1d1a2,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/18/08 at 21:15:04
|
2008-08-18 Ralf Corsépius <ralf.corsepius@…>
- shared/irq/irq_init.c: Add missing prototypes.
|
-
Property mode set to
100644
|
File size:
1004 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 | |
---|
20 | /* |
---|
21 | * default int vector |
---|
22 | */ |
---|
23 | extern void _ISR_Handler(void); |
---|
24 | |
---|
25 | void default_int_handler(void) |
---|
26 | { |
---|
27 | printk("raw_idt_notify has been called \n"); |
---|
28 | } |
---|
29 | |
---|
30 | void rtems_irq_mngt_init(void) |
---|
31 | { |
---|
32 | rtems_interrupt_level level; |
---|
33 | |
---|
34 | rtems_interrupt_disable(level); |
---|
35 | |
---|
36 | /* First, connect the ISR_Handler for IRQ and FIQ interrupts */ |
---|
37 | _CPU_ISR_install_vector(ARM_EXCEPTION_IRQ, _ISR_Handler, NULL); |
---|
38 | _CPU_ISR_install_vector(ARM_EXCEPTION_FIQ, _ISR_Handler, NULL); |
---|
39 | |
---|
40 | /* Initialize the INT at the BSP level */ |
---|
41 | BSP_rtems_irq_mngt_init(); |
---|
42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.