1 | /*
|
---|
2 | * TOPPERS/SSP Kernel
|
---|
3 | * Smallest Set Profile Kernel
|
---|
4 | *
|
---|
5 | * Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
|
---|
6 | * Graduate School of Information Science, Nagoya Univ., JAPAN
|
---|
7 | * Copyright (C) 2010-2015 by Naoki Saito
|
---|
8 | * Nagoya Municipal Industrial Research Institute, JAPAN
|
---|
9 | * Copyright (C) 2011-2012 by Meika Sugimoto
|
---|
10 | *
|
---|
11 | * ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
|
---|
12 | * Ai{\tgEFAðüϵ½àÌðÜÞDȺ¯¶jðgpE¡»EüÏE
|
---|
13 | * ÄzziȺCpÆÄÔj·é±Æð³Åø·éD
|
---|
14 | * (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
|
---|
15 | * \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
|
---|
16 | * R[hÉÜÜêĢ鱯D
|
---|
17 | * (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJÉgp
|
---|
18 | * Å«é`ÅÄzz·éêÉÍCÄzzɺ¤hL
|
---|
19 | gipÒ}
|
---|
20 | * j
|
---|
21 | AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL̳Û
|
---|
22 | * ØKèðfÚ·é±ÆD
|
---|
23 | * (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJÉgp
|
---|
24 | * ūȢ`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
|
---|
25 | * (a) Äzzɺ¤hL
|
---|
26 | gipÒ}j
|
---|
27 | AÈÇjÉCãLÌì
|
---|
28 | * \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
|
---|
29 | * (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
|
---|
30 | * ·é±ÆD
|
---|
31 | * (4) {\tgEFAÌpÉæè¼ÚIܽÍÔÚIɶ¶é¢©Èé¹Q
|
---|
32 | * ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDܽC
|
---|
33 | * {\tgEFAÌ[UܽÍGh[U©çÌ¢©ÈéRÉîÃ
|
---|
34 | * ¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
|
---|
35 | *
|
---|
36 | * {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
|
---|
37 | * ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉη
|
---|
38 | * éK«àÜßÄC¢©ÈéÛØàsíÈ¢DܽC{\tgEFAÌp
|
---|
39 | * Éæè¼ÚIܽÍÔÚIɶ¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
|
---|
40 | * íÈ¢D
|
---|
41 | *
|
---|
42 | */
|
---|
43 |
|
---|
44 | /*
|
---|
45 | * ·×ÄÌÖðRpC·é½ßÌè`
|
---|
46 | */
|
---|
47 |
|
---|
48 | #ifndef TOPPERS_ALLFUNC_H
|
---|
49 | #define TOPPERS_ALLFUNC_H
|
---|
50 |
|
---|
51 | /* startup.c */
|
---|
52 | #define TOPPERS_sta_ker
|
---|
53 | #define TOPPERS_ext_ker
|
---|
54 |
|
---|
55 | /* task.c */
|
---|
56 | #define TOPPERS_get_ipriself
|
---|
57 | #define TOPPERS_get_ipri
|
---|
58 | #define TOPPERS_tskini
|
---|
59 | #define TOPPERS_tsksched
|
---|
60 | #define TOPPERS_tskrun
|
---|
61 | #define TOPPERS_tskdsp
|
---|
62 | #define TOPPERS_tskact
|
---|
63 | #define TOPPERS_tskdmt
|
---|
64 |
|
---|
65 |
|
---|
66 | /* task_manage.c */
|
---|
67 | #define TOPPERS_act_tsk
|
---|
68 | #define TOPPERS_iact_tsk
|
---|
69 |
|
---|
70 | /* sys_manage.c */
|
---|
71 | #define TOPPERS_loc_cpu
|
---|
72 | #define TOPPERS_iloc_cpu
|
---|
73 | #define TOPPERS_unl_cpu
|
---|
74 | #define TOPPERS_iunl_cpu
|
---|
75 | #define TOPPERS_dis_dsp
|
---|
76 | #define TOPPERS_ena_dsp
|
---|
77 | #define TOPPERS_sns_ctx
|
---|
78 | #define TOPPERS_sns_loc
|
---|
79 | #define TOPPERS_sns_dsp
|
---|
80 | #define TOPPERS_sns_dpn
|
---|
81 | #define TOPPERS_sns_ker
|
---|
82 |
|
---|
83 | /* interrupt.c */
|
---|
84 | #define TOPPERS_intini
|
---|
85 | #define TOPPERS_dis_int
|
---|
86 | #define TOPPERS_ena_int
|
---|
87 |
|
---|
88 | /* exception.c */
|
---|
89 | #define TOPPERS_excini
|
---|
90 |
|
---|
91 | /* time_event.c */
|
---|
92 | #define TOPPERS_tmevtini
|
---|
93 | #define TOPPERS_tmevtenq
|
---|
94 | #define TOPPERS_tmevtdeq
|
---|
95 | #define TOPPERS_sig_tim
|
---|
96 |
|
---|
97 | /* cyclic.c */
|
---|
98 | #define TOPPERS_cycini
|
---|
99 | #define TOPPERS_sta_cyc
|
---|
100 | #define TOPPERS_stp_cyc
|
---|
101 | #define TOPPERS_cyccal
|
---|
102 |
|
---|
103 | /* alarm.c */
|
---|
104 | #define TOPPERS_almini
|
---|
105 | #define TOPPERS_sta_alm
|
---|
106 | #define TOPPERS_ista_alm
|
---|
107 | #define TOPPERS_stp_alm
|
---|
108 | #define TOPPERS_istp_alm
|
---|
109 | #define TOPPERS_almcal
|
---|
110 |
|
---|
111 | /* time_manage.c */
|
---|
112 | #define TOPPERS_get_tim
|
---|
113 |
|
---|
114 | /* eventflag.c */
|
---|
115 | #define TOPPERS_iniflg
|
---|
116 | #define TOPPERS_flgcnd
|
---|
117 | #define TOPPERS_set_flg
|
---|
118 | #define TOPPERS_iset_flg
|
---|
119 | #define TOPPERS_clr_flg
|
---|
120 | #define TOPPERS_pol_flg
|
---|
121 |
|
---|
122 | /* dataqueue.c */
|
---|
123 | #define TOPPERS_dtqini
|
---|
124 | #define TOPPERS_dtqenq
|
---|
125 | #define TOPPERS_dtqdeq
|
---|
126 | #define TOPPERS_psnd_dtq
|
---|
127 | #define TOPPERS_ipsnd_dtq
|
---|
128 | #define TOPPERS_prcv_dtq
|
---|
129 |
|
---|
130 |
|
---|
131 | #endif /* TOPPERS_ALLFUNC_H */
|
---|