source: asp/target/cqfrkfm3_gcc/target_config.h@ 129

Last change on this file since 129 was 129, checked in by mmatsu, 7 years ago
File size: 3.2 KB
Line 
1/*
2 * TOPPERS/ASP Kernel
3 * Toyohashi Open Platform for Embedded Real-Time Systems/
4 * Advanced Standard Profile Kernel
5 *
6 * Copyright (C) 2008-2011 by Embedded and Real-Time Systems Laboratory
7 * Graduate School of Information Science, Nagoya Univ., JAPAN
8 *
9 * ã‹L’˜ìŒ ŽÒ‚́CˆÈ‰º‚Ì(1)`(4)‚ÌðŒ‚ð–ž‚½‚·ê‡‚ÉŒÀ‚èC–{ƒ\ƒtƒgƒEƒF
10 * ƒAi–{ƒ\ƒtƒgƒEƒFƒA‚ð‰ü•Ï‚µ‚½‚à‚Ì‚ðŠÜ‚ށDˆÈ‰º“¯‚¶j‚ðŽg—pE•¡»E‰ü
11 * •ÏEÄ”z•ziˆÈ‰ºC—˜—p‚ƌĂԁj‚·‚邱‚Ƃ𖳏ž‚Å‹–‘ø‚·‚éD
12 * (1) –{ƒ\ƒtƒgƒEƒFƒA‚ðƒ\[ƒXƒR[ƒh‚ÌŒ`‚Å—˜—p‚·‚éê‡‚ɂ́Cã‹L‚Ì’˜ì
13 * Œ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L‚Ì–³•ÛØ‹K’肪C‚»‚Ì‚Ü‚Ü‚ÌŒ`‚Ń\[
14 * ƒXƒR[ƒh’†‚ÉŠÜ‚Ü‚ê‚Ä‚¢‚邱‚ƁD
15 * (2) –{ƒ\ƒtƒgƒEƒFƒA‚ðCƒ‰ƒCƒuƒ‰ƒŠŒ`Ž®‚ȂǁC‘¼‚̃\ƒtƒgƒEƒFƒAŠJ”­‚ÉŽg
16 * —p‚Å‚«‚éŒ`‚ōĔz•z‚·‚éê‡‚ɂ́CÄ”z•z‚É”º‚¤ƒhƒLƒ…
17ƒƒ“ƒgi—˜—p
18 * ŽÒƒ}ƒjƒ…
19ƒAƒ‹‚Ȃǁj‚ɁCã‹L‚Ì’˜ìŒ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L
20 * ‚Ì–³•ÛØ‹K’è‚ðŒfÚ‚·‚邱‚ƁD
21 * (3) –{ƒ\ƒtƒgƒEƒFƒA‚ðC‹@Ší‚É‘g‚ݍž‚ނȂǁC‘¼‚̃\ƒtƒgƒEƒFƒAŠJ”­‚ÉŽg
22 * —p‚Å‚«‚È‚¢Œ`‚ōĔz•z‚·‚éê‡‚ɂ́CŽŸ‚Ì‚¢‚¸‚ê‚©‚ÌðŒ‚ð–ž‚½‚·‚±
23 * ‚ƁD
24 * (a) Ä”z•z‚É”º‚¤ƒhƒLƒ…
25ƒƒ“ƒgi—˜—pŽÒƒ}ƒjƒ…
26ƒAƒ‹‚Ȃǁj‚ɁCã‹L‚Ì’˜
27 * ìŒ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L‚Ì–³•ÛØ‹K’è‚ðŒfÚ‚·‚邱‚ƁD
28 * (b) Ä”z•z‚ÌŒ`‘Ô‚ðC•Ê‚É’è‚ß‚é•û–@‚É‚æ‚Á‚āCTOPPERSƒvƒƒWƒFƒNƒg‚É
29 * •ñ‚·‚邱‚ƁD
30 * (4) –{ƒ\ƒtƒgƒEƒFƒA‚Ì—˜—p‚É‚æ‚è’¼Ú“I‚Ü‚½‚͊ԐړI‚ɐ¶‚¶‚é‚¢‚©‚Ȃ鑹
31 * ŠQ‚©‚ç‚àCã‹L’˜ìŒ ŽÒ‚¨‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚ð–Ɛӂ·‚邱‚ƁD
32 * ‚Ü‚½C–{ƒ\ƒtƒgƒEƒFƒA‚̃†[ƒU‚Ü‚½‚̓Gƒ“ƒhƒ†[ƒU‚©‚ç‚Ì‚¢‚©‚Ȃ闝
33 * —R‚ÉŠî‚­¿‹‚©‚ç‚àCã‹L’˜ìŒ ŽÒ‚¨‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚ð
34 * –Ɛӂ·‚邱‚ƁD
35 *
36 * –{ƒ\ƒtƒgƒEƒFƒA‚́C–³•ÛØ‚Å’ñ‹Ÿ‚³‚ê‚Ä‚¢‚é‚à‚Ì‚Å‚ ‚éDã‹L’˜ìŒ ŽÒ‚¨
37 * ‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚́C–{ƒ\ƒtƒgƒEƒFƒA‚ÉŠÖ‚µ‚āC“Á’è‚ÌŽg—p–Ú“I
38 * ‚ɑ΂·‚é“K‡«‚àŠÜ‚߂āC‚¢‚©‚È‚é•ÛØ‚às‚í‚È‚¢D‚Ü‚½C–{ƒ\ƒtƒgƒEƒF
39 * ƒA‚Ì—˜—p‚É‚æ‚è’¼Ú“I‚Ü‚½‚͊ԐړI‚ɐ¶‚¶‚½‚¢‚©‚Ȃ鑹ŠQ‚ÉŠÖ‚µ‚Ä‚àC‚»
40 * ‚̐ӔC‚𕉂í‚È‚¢D
41 *
42 */
43
44/*
45 * ƒ`ƒbƒvˆË‘¶ƒ‚ƒWƒ…
46[ƒ‹
47 *
48 * ƒJ[ƒlƒ‹‚̃^[ƒQƒbƒgˆË‘¶•”‚̃Cƒ“ƒNƒ‹[ƒhƒtƒ@ƒCƒ‹Dkernel_impl.h‚̃^[
49 * ƒQƒbƒgˆË‘¶•”‚̈ʒu•t‚¯‚Æ‚È‚éD
50 */
51
52#ifndef TOPPERS_TARGET_CONFIG_H
53#define TOPPERS_TARGET_CONFIG_H
54
55/*
56 * ƒ^[ƒQƒbƒgˆË‘¶•”‚̃n[ƒhƒEƒFƒAŽ‘Œ¹‚Ì’è‹`
57 */
58#include "fm3_mb9bxxx.h"
59
60/*
61 * ƒgƒŒ[ƒXƒƒO‚ÉŠÖ‚·‚éÝ’è
62 */
63#ifdef TOPPERS_ENABLE_TRACE
64#include "logtrace/trace_config.h"
65#endif /* TOPPERS_ENABLE_TRACE */
66
67/*
68 * RAMŽÀs‚·‚éê‡‚âQEMUŽÀsŽžROMƒfƒoƒbƒOŽž‚ÍMSP‚ð‰Šú‰»‚·‚é
69 * •K—v‚ª‚ ‚邽‚ß,ƒXƒ^[ƒgƒAƒbƒvƒ‹[ƒ`ƒ“‚ÅMSP‚ð‰Šú‰»‚·‚éD
70 */
71#define INIT_MSP
72
73/*
74 * ƒfƒtƒHƒ‹ƒg‚Ì”ñƒ^ƒXƒNƒRƒ“ƒeƒLƒXƒg—p‚̃Xƒ^ƒbƒN—̈æ‚Ì’è‹`
75 */
76#define DEFAULT_ISTKSZ (0x1000U) /* 4KByte */
77
78/*
79 * ”÷­ŽžŠÔ‘Ò‚¿‚Ì‚½‚ß‚Ì’è‹`i–{—ˆ‚ÍSIL‚̃^[ƒQƒbƒgˆË‘¶•”j
80 */
81#define SIL_DLY_TIM1 90
82#define SIL_DLY_TIM2 56
83
84/*
85 * Žg—p‚·‚éƒVƒŠƒAƒ‹ƒ|[ƒgID
86 */
87#ifndef SIO_PORTID
88#define SIO_PORTID (1)
89#endif /* SIO_PORTID */
90
91#ifndef TOPPERS_MACRO_ONLY
92
93/*
94 * ƒ^[ƒQƒbƒgƒVƒXƒeƒ€ˆË‘¶‚̏‰Šú‰»
95 */
96extern void target_initialize(void);
97
98/*
99 * ƒ^[ƒQƒbƒgƒVƒXƒeƒ€‚̏I—¹
100 *
101 * ƒVƒXƒeƒ€‚ðI—¹‚·‚鎞‚ÉŽg‚¤D
102 */
103extern void target_exit(void) NoReturn;
104
105#endif /* TOPPERS_MACRO_ONLY */
106
107/*
108 * ƒRƒAˆË‘¶ƒ‚ƒWƒ…
109[ƒ‹iARM-M—pj
110 */
111#include "core_config.h"
112
113#endif /* TOPPERS_TARGET_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.