source: uKadecot/trunk/ssp/target/grsakura_ccrx/target_syssvc.h@ 101

Last change on this file since 101 was 101, checked in by coas-nagasima, 8 years ago

TOPPERS/uKadecotのソースコードを追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/plain
File size: 3.4 KB
Line 
1/*
2 * TOPPERS/SSP Kernel
3 * Smallest Set Profile Kernel
4 *
5 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
6 * Toyohashi Univ. of Technology, JAPAN
7 * Copyright (C) 2003-2004 by Naoki Saito
8 * Nagoya Municipal Industrial Research Institute, JAPAN
9 * Copyright (C) 2003-2004 by Platform Development Center
10 * RICOH COMPANY,LTD. JAPAN
11 * Copyright (C) 2008-2010 by Witz Corporation, JAPAN
12 *
13 * ã‹L’˜ìŒ ŽÒ‚́CˆÈ‰º‚Ì(1)`(4)‚ÌðŒ‚ð–ž‚½‚·ê‡‚ÉŒÀ‚èC–{ƒ\ƒtƒgƒEƒF
14 * ƒAi–{ƒ\ƒtƒgƒEƒFƒA‚ð‰ü•Ï‚µ‚½‚à‚Ì‚ðŠÜ‚ށDˆÈ‰º“¯‚¶j‚ðŽg—pE•¡»E‰ü
15 * •ÏEÄ”z•ziˆÈ‰ºC—˜—p‚ƌĂԁj‚·‚邱‚Ƃ𖳏ž‚Å‹–‘ø‚·‚éD
16 * (1) –{ƒ\ƒtƒgƒEƒFƒA‚ðƒ\[ƒXƒR[ƒh‚ÌŒ`‚Å—˜—p‚·‚éê‡‚ɂ́Cã‹L‚Ì’˜ì
17 * Œ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L‚Ì–³•ÛØ‹K’肪C‚»‚Ì‚Ü‚Ü‚ÌŒ`‚Ń\[
18 * ƒXƒR[ƒh’†‚ÉŠÜ‚Ü‚ê‚Ä‚¢‚邱‚ƁD
19 * (2) –{ƒ\ƒtƒgƒEƒFƒA‚ðCƒ‰ƒCƒuƒ‰ƒŠŒ`Ž®‚ȂǁC‘¼‚̃\ƒtƒgƒEƒFƒAŠJ”­‚ÉŽg
20 * —p‚Å‚«‚éŒ`‚ōĔz•z‚·‚éê‡‚ɂ́CÄ”z•z‚É”º‚¤ƒhƒLƒ…
21ƒƒ“ƒgi—˜—p
22 * ŽÒƒ}ƒjƒ…
23ƒAƒ‹‚Ȃǁj‚ɁCã‹L‚Ì’˜ìŒ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L
24 * ‚Ì–³•ÛØ‹K’è‚ðŒfÚ‚·‚邱‚ƁD
25 * (3) –{ƒ\ƒtƒgƒEƒFƒA‚ðC‹@Ší‚É‘g‚ݍž‚ނȂǁC‘¼‚̃\ƒtƒgƒEƒFƒAŠJ”­‚ÉŽg
26 * —p‚Å‚«‚È‚¢Œ`‚ōĔz•z‚·‚éê‡‚ɂ́CŽŸ‚Ì‚¢‚¸‚ê‚©‚ÌðŒ‚ð–ž‚½‚·‚±
27 * ‚ƁD
28 * (a) Ä”z•z‚É”º‚¤ƒhƒLƒ…
29ƒƒ“ƒgi—˜—pŽÒƒ}ƒjƒ…
30ƒAƒ‹‚Ȃǁj‚ɁCã‹L‚Ì’˜
31 * ìŒ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L‚Ì–³•ÛØ‹K’è‚ðŒfÚ‚·‚邱‚ƁD
32 * (b) Ä”z•z‚ÌŒ`‘Ô‚ðC•Ê‚É’è‚ß‚é•û–@‚É‚æ‚Á‚āCTOPPERSƒvƒƒWƒFƒNƒg‚É
33 * •ñ‚·‚邱‚ƁD
34 * (4) –{ƒ\ƒtƒgƒEƒFƒA‚Ì—˜—p‚É‚æ‚è’¼Ú“I‚Ü‚½‚͊ԐړI‚ɐ¶‚¶‚é‚¢‚©‚Ȃ鑹
35 * ŠQ‚©‚ç‚àCã‹L’˜ìŒ ŽÒ‚¨‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚ð–Ɛӂ·‚邱‚ƁD
36 * ‚Ü‚½C–{ƒ\ƒtƒgƒEƒFƒA‚̃†[ƒU‚Ü‚½‚̓Gƒ“ƒhƒ†[ƒU‚©‚ç‚Ì‚¢‚©‚Ȃ闝
37 * —R‚ÉŠî‚­¿‹‚©‚ç‚àCã‹L’˜ìŒ ŽÒ‚¨‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚ð
38 * –Ɛӂ·‚邱‚ƁD
39 *
40 * –{ƒ\ƒtƒgƒEƒFƒA‚́C–³•ÛØ‚Å’ñ‹Ÿ‚³‚ê‚Ä‚¢‚é‚à‚Ì‚Å‚ ‚éDã‹L’˜ìŒ ŽÒ‚¨
41 * ‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚́C–{ƒ\ƒtƒgƒEƒFƒA‚ÉŠÖ‚µ‚āC“Á’è‚ÌŽg—p–Ú“I
42 * ‚ɑ΂·‚é“K‡«‚àŠÜ‚߂āC‚¢‚©‚È‚é•ÛØ‚às‚í‚È‚¢D‚Ü‚½C–{ƒ\ƒtƒgƒEƒF
43 * ƒA‚Ì—˜—p‚É‚æ‚è’¼Ú“I‚Ü‚½‚͊ԐړI‚ɐ¶‚¶‚½‚¢‚©‚Ȃ鑹ŠQ‚ÉŠÖ‚µ‚Ä‚àC‚»
44 * ‚̐ӔC‚𕉂í‚È‚¢D
45 *
46 */
47
48/*
49 * ƒVƒXƒeƒ€ƒT[ƒrƒX‚̃^[ƒQƒbƒgˆË‘¶•”iGR-SAKURA—pj
50 *
51 * ƒVƒXƒeƒ€ƒT[ƒrƒX‚̃^[ƒQƒbƒgˆË‘¶•”‚̃Cƒ“ƒNƒ‹[ƒhƒtƒ@ƒCƒ‹D‚±‚̃tƒ@
52 * ƒCƒ‹‚Ì“à—e‚́CƒRƒ“ƒ|[ƒlƒ“ƒg‹Lqƒtƒ@ƒCƒ‹‚É‹Lq‚³‚êC‚±‚̃tƒ@ƒCƒ‹‚Í
53 * –³‚­‚Ȃ錩ž‚݁D
54 */
55
56#ifndef TOPPERS_TARGET_SYSSVC_H
57#define TOPPERS_TARGET_SYSSVC_H
58
59
60/*
61 * ƒvƒƒZƒbƒTˆË‘¶‚Ì’è‹`
62 */
63#ifdef __RX
64#include "rx630_ccrx/prc_syssvc.h"
65#else
66#include "rx630_msvc/prc_syssvc.h"
67#endif
68
69/*
70 * ƒgƒŒ[ƒXƒƒO‚ÉŠÖ‚·‚éÝ’è
71 */
72#ifdef TOPPERS_ENABLE_TRACE
73#include "logtrace/trace_config.h"
74#endif /* TOPPERS_ENABLE_TRACE */
75
76
77/*
78 * ƒ{[ƒhˆË‘¶î•ñ‚̓ǂݍž‚Ý
79 */
80#include "grsakura.h"
81
82
83/*
84 * ‹N“®ƒƒbƒZ[ƒW‚̃^[ƒQƒbƒgƒVƒXƒeƒ€–¼
85 */
86#define TARGET_NAME "GR-SAKURA"
87
88
89/*
90 * ƒVƒXƒeƒ€ƒƒO‚̒჌ƒxƒ‹o—Í‚Ì‚½‚ß‚Ì•¶Žšo—Í
91 *
92 * ƒ^[ƒQƒbƒgˆË‘¶‚Ì•û–@‚ŁC•¶Žšc‚ð•\Ž¦/o—Í/•Û‘¶‚·‚éD
93 */
94extern void target_fput_log( char c );
95
96
97/*
98 * ‹N“®ƒƒbƒZ[ƒW‚Ƀ^[ƒQƒbƒgˆË‘¶•”‚Ì’˜ìŒ •\Ž¦‚ð
99 * ’ljÁ‚·‚邽‚߂̃}ƒNƒD
100 */
101#ifdef PRC_COPYRIGHT
102#define TARGET_COPYRIGHT PRC_COPYRIGHT
103#endif /* PRC_COPYRIGHT */
104
105
106/*
107 * ƒVƒŠƒAƒ‹ƒ|[ƒg”‚Ì’è‹`
108 */
109#define TNUM_PORT UINT_C( 2 )
110
111/*
112 * Žg—p‚·‚éƒVƒŠƒAƒ‹ƒ|[ƒgID
113 */
114#define SIO_PORTID UINT_C( 1 )
115
116#define LOGTASK_PORTID SIO_PORTID
117
118#define STACK_SIZE (512)
119
120/*
121 * ƒVƒXƒeƒ€ƒƒOƒ^ƒXƒNŠÖ˜A‚̒萔‚Ì’è‹`
122 *
123 * ƒfƒtƒHƒ‹ƒg’l‚Ì’Ê‚èD
124 */
125
126#endif /* TOPPERS_TARGET_SYSSVC_H */
Note: See TracBrowser for help on using the repository browser.