4.104.114.95
Last change
on this file since 2226b8f8 was
dbdb0255,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/06/08 at 20:58:05
|
2008-05-06 Ray Xu <rayx.cn@…>
- Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h:
Add CPU type s3c2410. Add a new s3c24xx common file shared between
s3c2400 and s3c2410. Most content is moved from s3c2400 now. Some
were changed to include <s3c24xx.h> instead of <s3c2400.h>.
- s3c2410/include/s3c2410.h, s3c2410/irq/bsp_irq_asm.S,
s3c2410/irq/irq.h, s3c24xx/clock/clockdrv.c, s3c24xx/clock/support.c,
s3c24xx/include/s3c24xx.h, s3c24xx/irq/bsp_irq_init.c,
s3c24xx/irq/irq.c, s3c24xx/irq/irq.h, s3c24xx/timer/timer.c: New files.
|
-
Property mode set to
100644
|
File size:
866 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 | #include <irq.h> |
---|
16 | #include <bsp.h> |
---|
17 | #include <s3c24xx.h> |
---|
18 | |
---|
19 | extern void default_int_handler(); |
---|
20 | |
---|
21 | void BSP_rtems_irq_mngt_init() |
---|
22 | { |
---|
23 | long *vectorTable; |
---|
24 | int i; |
---|
25 | |
---|
26 | vectorTable = (long *) VECTOR_TABLE; |
---|
27 | |
---|
28 | /* Initialize the vector table contents with default handler */ |
---|
29 | for (i=0; i<BSP_MAX_INT; i++) { |
---|
30 | *(vectorTable + i) = (long)(default_int_handler); |
---|
31 | } |
---|
32 | |
---|
33 | /* |
---|
34 | * Here is the code to initialize the INT for |
---|
35 | * the specified BSP |
---|
36 | */ |
---|
37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.