1 | /*
|
---|
2 | * TOPPERS/JSP Kernel
|
---|
3 | * Toyohashi Open Platform for Embedded Real-Time Systems/
|
---|
4 | * Just Standard Profile Kernel
|
---|
5 | *
|
---|
6 | * Copyright (C) 2000-2004 by Embedded and Real-Time Systems Laboratory
|
---|
7 | * Toyohashi Univ. of Technology, JAPAN
|
---|
8 | * Copyright (C) 2001-2004 by Industrial Technology Institute,
|
---|
9 | * Miyagi Prefectural Government, JAPAN
|
---|
10 | *
|
---|
11 | * ä¸è¨è使¨©è
|
---|
12 | ã¯ï¼ä»¥ä¸ã® (1)ã(4) ã®æ¡ä»¶ãï¼Free Software Foundation
|
---|
13 | * ã«ãã£ã¦å
|
---|
14 | ¬è¡¨ããã¦ãã GNU General Public License ã® Version 2 ã«è¨
|
---|
15 | * è¿°ããã¦ããæ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§ã¢ï¼æ¬ã½ããã¦ã§ã¢
|
---|
16 | * ãæ¹å¤ãããã®ãå«ãï¼ä»¥ä¸åãï¼ã使ç¨ã»è¤è£½ã»æ¹å¤ã»åé
|
---|
17 | å¸ï¼ä»¥ä¸ï¼
|
---|
18 | * å©ç¨ã¨å¼ã¶ï¼ãããã¨ãç¡åã§è¨±è«¾ããï¼
|
---|
19 | * (1) æ¬ã½ããã¦ã§ã¢ãã½ã¼ã¹ã³ã¼ãã®å½¢ã§å©ç¨ããå ´åã«ã¯ï¼ä¸è¨ã®èä½
|
---|
20 | * 権表示ï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãï¼ãã®ã¾ã¾ã®å½¢ã§ã½ã¼
|
---|
21 | * ã¹ã³ã¼ãä¸ã«å«ã¾ãã¦ãããã¨ï¼
|
---|
22 | * (2) æ¬ã½ããã¦ã§ã¢ãï¼ã©ã¤ãã©ãªå½¢å¼ãªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
|
---|
23 | * ç¨ã§ããå½¢ã§åé
|
---|
24 | å¸ããå ´åã«ã¯ï¼åé
|
---|
25 | å¸ã«ä¼´ãããã¥ã¡ã³ãï¼å©ç¨
|
---|
26 | * è
|
---|
27 | ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®è使¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨
|
---|
28 | * ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
|
---|
29 | * (3) æ¬ã½ããã¦ã§ã¢ãï¼æ©å¨ã«çµã¿è¾¼ããªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
|
---|
30 | * ç¨ã§ããªãå½¢ã§åé
|
---|
31 | å¸ããå ´åã«ã¯ï¼æ¬¡ã®ããããã®æ¡ä»¶ãæºããã
|
---|
32 | * ã¨ï¼
|
---|
33 | * (a) åé
|
---|
34 | å¸ã«ä¼´ãããã¥ã¡ã³ãï¼å©ç¨è
|
---|
35 | ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®è
|
---|
36 | * 使¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
|
---|
37 | * (b) åé
|
---|
38 | å¸ã®å½¢æ
|
---|
39 | ãï¼å¥ã«å®ããæ¹æ³ã«ãã£ã¦ï¼TOPPERSããã¸ã§ã¯ãã«
|
---|
40 | * å ±åãããã¨ï¼
|
---|
41 | * (4) æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ
|
---|
42 | * 害ãããï¼ä¸è¨è使¨©è
|
---|
43 | ããã³TOPPERSããã¸ã§ã¯ããå
|
---|
44 | 責ãããã¨ï¼
|
---|
45 | *
|
---|
46 | * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨è使¨©è
|
---|
47 | ã
|
---|
48 | * ãã³TOPPERSããã¸ã§ã¯ãã¯ï¼æ¬ã½ããã¦ã§ã¢ã«é¢ãã¦ï¼ãã®é©ç¨å¯è½æ§ã
|
---|
49 | * å«ãã¦ï¼ãããªãä¿è¨¼ãè¡ããªãï¼ã¾ãï¼æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´
|
---|
50 | * æ¥çã¾ãã¯éæ¥çã«çãããããªãæå®³ã«é¢ãã¦ãï¼ãã®è²¬ä»»ãè² ããªãï¼
|
---|
51 | *
|
---|
52 | * @(#) $Id: vector_table.c,v 1.4 2004/09/22 08:47:52 honda Exp $
|
---|
53 | */
|
---|
54 |
|
---|
55 | /*
|
---|
56 | * ä¾å¤ãã¯ã¿ã®å®ç¾©ï¼SH1ç¨ï¼
|
---|
57 | */
|
---|
58 |
|
---|
59 | #include "jsp_kernel.h"
|
---|
60 |
|
---|
61 | #ifdef KERNEL_HAS_A_VECTOR_TABLE
|
---|
62 |
|
---|
63 | extern void start(void); /* start.S */
|
---|
64 | extern void no_reg_exception(void); /* cpu_support.S */
|
---|
65 |
|
---|
66 | FP vector_table [] = {
|
---|
67 | RESET_VECTOR, /* 0:ãã¯ã¼ãªã³ãªã»ãã */
|
---|
68 | (FP)INIT_STACK, /* ã¹ã¿ãã¯ãã¤ã³ã¿ã®åæå¤ */
|
---|
69 | RESET_VECTOR, /* 2:ããã¥ã¢ã«ãªã»ãã */
|
---|
70 | (FP)INIT_STACK, /* ã¹ã¿ãã¯ãã¤ã³ã¿ã®åæå¤ */
|
---|
71 | GII_VECTOR, /* 4:ä¸è¬ä¸å½å½ä»¤ */
|
---|
72 | RESERVED_VECTOR, /* 5:ã·ã¹ãã äºç´ */
|
---|
73 | SII_VECTOR, /* 6:ã¹ãããä¸å½å½ä»¤ */
|
---|
74 | RESERVED_VECTOR, /* 7:ã·ã¹ãã äºç´ */
|
---|
75 | RESERVED_VECTOR, /* 8:ã·ã¹ãã äºç´ */
|
---|
76 | CAE_VECTOR, /* 9:CPUã¢ãã¬ã¹ã¨ã©ã¼ */
|
---|
77 | DAE_VECTOR, /* 10:DMAã¢ãã¬ã¹ã¨ã©ã¼ */
|
---|
78 | NMI_VECTOR, /* 11:MNI */
|
---|
79 |
|
---|
80 | /* æ®ãã¯ããã©ã«ãã®ä¾å¤å¦ç */
|
---|
81 | no_reg_exception,
|
---|
82 | no_reg_exception,
|
---|
83 | no_reg_exception,
|
---|
84 | no_reg_exception,
|
---|
85 | no_reg_exception,
|
---|
86 | no_reg_exception,
|
---|
87 | no_reg_exception,
|
---|
88 | no_reg_exception,
|
---|
89 | no_reg_exception,
|
---|
90 | no_reg_exception,
|
---|
91 | no_reg_exception,
|
---|
92 | no_reg_exception,
|
---|
93 | no_reg_exception,
|
---|
94 | no_reg_exception,
|
---|
95 | no_reg_exception,
|
---|
96 | no_reg_exception,
|
---|
97 | no_reg_exception,
|
---|
98 | no_reg_exception,
|
---|
99 | no_reg_exception,
|
---|
100 | no_reg_exception,
|
---|
101 | no_reg_exception,
|
---|
102 | no_reg_exception,
|
---|
103 | no_reg_exception,
|
---|
104 | no_reg_exception,
|
---|
105 | no_reg_exception,
|
---|
106 | no_reg_exception,
|
---|
107 | no_reg_exception,
|
---|
108 | no_reg_exception,
|
---|
109 | no_reg_exception,
|
---|
110 | no_reg_exception,
|
---|
111 | no_reg_exception,
|
---|
112 | no_reg_exception,
|
---|
113 | no_reg_exception,
|
---|
114 | no_reg_exception,
|
---|
115 | no_reg_exception,
|
---|
116 | no_reg_exception,
|
---|
117 | no_reg_exception,
|
---|
118 | no_reg_exception,
|
---|
119 | no_reg_exception,
|
---|
120 | no_reg_exception,
|
---|
121 | no_reg_exception,
|
---|
122 | no_reg_exception,
|
---|
123 | no_reg_exception,
|
---|
124 | no_reg_exception,
|
---|
125 | no_reg_exception,
|
---|
126 | no_reg_exception,
|
---|
127 | no_reg_exception,
|
---|
128 | no_reg_exception,
|
---|
129 | no_reg_exception,
|
---|
130 | no_reg_exception,
|
---|
131 | no_reg_exception,
|
---|
132 | no_reg_exception,
|
---|
133 | no_reg_exception,
|
---|
134 | no_reg_exception,
|
---|
135 | no_reg_exception,
|
---|
136 | no_reg_exception,
|
---|
137 | no_reg_exception,
|
---|
138 | no_reg_exception,
|
---|
139 | no_reg_exception,
|
---|
140 | no_reg_exception,
|
---|
141 | no_reg_exception,
|
---|
142 | no_reg_exception,
|
---|
143 | no_reg_exception,
|
---|
144 | no_reg_exception,
|
---|
145 | no_reg_exception,
|
---|
146 | no_reg_exception,
|
---|
147 | no_reg_exception,
|
---|
148 | no_reg_exception,
|
---|
149 | no_reg_exception,
|
---|
150 | no_reg_exception,
|
---|
151 | no_reg_exception,
|
---|
152 | no_reg_exception,
|
---|
153 | no_reg_exception,
|
---|
154 | no_reg_exception,
|
---|
155 | no_reg_exception,
|
---|
156 | no_reg_exception,
|
---|
157 | no_reg_exception,
|
---|
158 | no_reg_exception,
|
---|
159 | no_reg_exception,
|
---|
160 | no_reg_exception,
|
---|
161 | no_reg_exception,
|
---|
162 | no_reg_exception,
|
---|
163 | no_reg_exception,
|
---|
164 | no_reg_exception,
|
---|
165 | no_reg_exception,
|
---|
166 | no_reg_exception,
|
---|
167 | no_reg_exception,
|
---|
168 | no_reg_exception,
|
---|
169 | no_reg_exception,
|
---|
170 | no_reg_exception,
|
---|
171 | no_reg_exception,
|
---|
172 | no_reg_exception,
|
---|
173 | no_reg_exception,
|
---|
174 | no_reg_exception,
|
---|
175 | no_reg_exception,
|
---|
176 | no_reg_exception,
|
---|
177 | no_reg_exception,
|
---|
178 | no_reg_exception,
|
---|
179 | no_reg_exception,
|
---|
180 | no_reg_exception,
|
---|
181 | no_reg_exception,
|
---|
182 | no_reg_exception,
|
---|
183 | no_reg_exception,
|
---|
184 | no_reg_exception,
|
---|
185 | no_reg_exception,
|
---|
186 | no_reg_exception,
|
---|
187 | no_reg_exception,
|
---|
188 | no_reg_exception,
|
---|
189 | no_reg_exception,
|
---|
190 | no_reg_exception,
|
---|
191 | no_reg_exception,
|
---|
192 | no_reg_exception,
|
---|
193 | no_reg_exception,
|
---|
194 | no_reg_exception,
|
---|
195 | no_reg_exception,
|
---|
196 | no_reg_exception,
|
---|
197 | no_reg_exception,
|
---|
198 | no_reg_exception,
|
---|
199 | no_reg_exception,
|
---|
200 | no_reg_exception,
|
---|
201 | no_reg_exception,
|
---|
202 | no_reg_exception,
|
---|
203 | no_reg_exception,
|
---|
204 | no_reg_exception,
|
---|
205 | no_reg_exception,
|
---|
206 | no_reg_exception,
|
---|
207 | no_reg_exception,
|
---|
208 | no_reg_exception,
|
---|
209 | no_reg_exception,
|
---|
210 | no_reg_exception,
|
---|
211 | no_reg_exception,
|
---|
212 | no_reg_exception,
|
---|
213 | no_reg_exception,
|
---|
214 | no_reg_exception,
|
---|
215 | no_reg_exception,
|
---|
216 | no_reg_exception,
|
---|
217 | no_reg_exception,
|
---|
218 | no_reg_exception,
|
---|
219 | no_reg_exception,
|
---|
220 | no_reg_exception,
|
---|
221 | no_reg_exception,
|
---|
222 | no_reg_exception,
|
---|
223 | no_reg_exception,
|
---|
224 | no_reg_exception,
|
---|
225 | no_reg_exception,
|
---|
226 | no_reg_exception,
|
---|
227 | no_reg_exception,
|
---|
228 | no_reg_exception,
|
---|
229 | no_reg_exception,
|
---|
230 | no_reg_exception,
|
---|
231 | no_reg_exception,
|
---|
232 | no_reg_exception,
|
---|
233 | no_reg_exception,
|
---|
234 | no_reg_exception,
|
---|
235 | no_reg_exception,
|
---|
236 | no_reg_exception,
|
---|
237 | no_reg_exception,
|
---|
238 | no_reg_exception,
|
---|
239 | no_reg_exception,
|
---|
240 | no_reg_exception,
|
---|
241 | no_reg_exception,
|
---|
242 | no_reg_exception,
|
---|
243 | no_reg_exception,
|
---|
244 | no_reg_exception,
|
---|
245 | no_reg_exception,
|
---|
246 | no_reg_exception,
|
---|
247 | no_reg_exception,
|
---|
248 | no_reg_exception,
|
---|
249 | no_reg_exception,
|
---|
250 | no_reg_exception,
|
---|
251 | no_reg_exception,
|
---|
252 | no_reg_exception,
|
---|
253 | no_reg_exception,
|
---|
254 | no_reg_exception,
|
---|
255 | no_reg_exception,
|
---|
256 | no_reg_exception,
|
---|
257 | no_reg_exception,
|
---|
258 | no_reg_exception,
|
---|
259 | no_reg_exception,
|
---|
260 | no_reg_exception,
|
---|
261 | no_reg_exception,
|
---|
262 | no_reg_exception,
|
---|
263 | no_reg_exception,
|
---|
264 | no_reg_exception,
|
---|
265 | no_reg_exception,
|
---|
266 | no_reg_exception,
|
---|
267 | no_reg_exception,
|
---|
268 | no_reg_exception,
|
---|
269 | no_reg_exception,
|
---|
270 | no_reg_exception,
|
---|
271 | no_reg_exception,
|
---|
272 | no_reg_exception,
|
---|
273 | no_reg_exception,
|
---|
274 | no_reg_exception,
|
---|
275 | no_reg_exception,
|
---|
276 | no_reg_exception,
|
---|
277 | no_reg_exception,
|
---|
278 | no_reg_exception,
|
---|
279 | no_reg_exception,
|
---|
280 | no_reg_exception,
|
---|
281 | no_reg_exception,
|
---|
282 | no_reg_exception,
|
---|
283 | no_reg_exception,
|
---|
284 | no_reg_exception,
|
---|
285 | no_reg_exception,
|
---|
286 | no_reg_exception,
|
---|
287 | no_reg_exception,
|
---|
288 | no_reg_exception,
|
---|
289 | no_reg_exception,
|
---|
290 | no_reg_exception,
|
---|
291 | no_reg_exception,
|
---|
292 | no_reg_exception,
|
---|
293 | no_reg_exception,
|
---|
294 | no_reg_exception,
|
---|
295 | no_reg_exception,
|
---|
296 | no_reg_exception,
|
---|
297 | no_reg_exception,
|
---|
298 | no_reg_exception,
|
---|
299 | no_reg_exception,
|
---|
300 | no_reg_exception,
|
---|
301 | no_reg_exception,
|
---|
302 | no_reg_exception,
|
---|
303 | no_reg_exception,
|
---|
304 | no_reg_exception,
|
---|
305 | no_reg_exception,
|
---|
306 | no_reg_exception,
|
---|
307 | no_reg_exception,
|
---|
308 | no_reg_exception,
|
---|
309 | no_reg_exception,
|
---|
310 | no_reg_exception,
|
---|
311 | no_reg_exception,
|
---|
312 | no_reg_exception,
|
---|
313 | no_reg_exception,
|
---|
314 | no_reg_exception,
|
---|
315 | no_reg_exception,
|
---|
316 | no_reg_exception,
|
---|
317 | no_reg_exception,
|
---|
318 | no_reg_exception,
|
---|
319 | no_reg_exception,
|
---|
320 | no_reg_exception,
|
---|
321 | no_reg_exception,
|
---|
322 | no_reg_exception,
|
---|
323 | no_reg_exception,
|
---|
324 | no_reg_exception
|
---|
325 | };
|
---|
326 |
|
---|
327 | #endif /* KERNEL_HAS_A_VECTOR_TABLE */
|
---|
328 |
|
---|