[101] | 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 | * 上記著作権者は,以下の (1)〜(4) の条件を満たす場合に限り,本ソフトウェ
|
---|
| 12 | * ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改変・
|
---|
| 13 | * 再配布(以下,利用と呼ぶ)することを無償で許諾する.
|
---|
| 14 | * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作権
|
---|
| 15 | * 表示,この利用条件および下記の無保証規定が,そのままの形でソース
|
---|
| 16 | * コード中に含まれていること.
|
---|
| 17 | * (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使用
|
---|
| 18 | * できる形で再配布する場合には,再配布に伴うドキュメント(利用者マ
|
---|
| 19 | * ニュアルなど)に,上記の著作権表示,この利用条件および下記の無保
|
---|
| 20 | * 証規定を掲載すること.
|
---|
| 21 | * (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使用
|
---|
| 22 | * できない形で再配布する場合には,次のいずれかの条件を満たすこと.
|
---|
| 23 | * (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著作
|
---|
| 24 | * 権表示,この利用条件および下記の無保証規定を掲載すること.
|
---|
| 25 | * (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに報
|
---|
| 26 | * 告すること.
|
---|
| 27 | * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損害
|
---|
| 28 | * からも,上記著作権者およびTOPPERSプロジェクトを免責すること.また,
|
---|
| 29 | * 本ソフトウェアのユーザまたはエンドユーザからのいかなる理由に基づ
|
---|
| 30 | * く請求からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
|
---|
| 31 | *
|
---|
| 32 | * 本ソフトウェアは,無保証で提供されているものである.上記著作権者およ
|
---|
| 33 | * びTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的に対す
|
---|
| 34 | * る適合性も含めて,いかなる保証も行わない.また,本ソフトウェアの利用
|
---|
| 35 | * により直接的または間接的に生じたいかなる損害に関しても,その責任を負
|
---|
| 36 | * わない.
|
---|
| 37 | *
|
---|
| 38 | */
|
---|
| 39 |
|
---|
| 40 | /*
|
---|
| 41 | * すべての関数をコンパイルするための定義
|
---|
| 42 | */
|
---|
| 43 |
|
---|
| 44 | #ifndef TOPPERS_ALLFUNC_H
|
---|
| 45 | #define TOPPERS_ALLFUNC_H
|
---|
| 46 |
|
---|
| 47 | /* startup.c */
|
---|
| 48 | #define TOPPERS_sta_ker
|
---|
| 49 | #define TOPPERS_ext_ker
|
---|
| 50 |
|
---|
| 51 | /* task.c */
|
---|
| 52 | #define TOPPERS_get_ipriself
|
---|
| 53 | #define TOPPERS_get_ipri
|
---|
| 54 | #define TOPPERS_tskini
|
---|
| 55 | #define TOPPERS_tsksched
|
---|
| 56 | #define TOPPERS_tskrun
|
---|
| 57 | #define TOPPERS_tskdsp
|
---|
| 58 | #define TOPPERS_tskact
|
---|
| 59 | #define TOPPERS_tskdmt
|
---|
| 60 |
|
---|
| 61 |
|
---|
| 62 | /* task_manage.c */
|
---|
| 63 | #define TOPPERS_act_tsk
|
---|
| 64 | #define TOPPERS_iact_tsk
|
---|
| 65 |
|
---|
| 66 | /* sys_manage.c */
|
---|
| 67 | #define TOPPERS_loc_cpu
|
---|
| 68 | #define TOPPERS_iloc_cpu
|
---|
| 69 | #define TOPPERS_unl_cpu
|
---|
| 70 | #define TOPPERS_iunl_cpu
|
---|
| 71 | #define TOPPERS_dis_dsp
|
---|
| 72 | #define TOPPERS_ena_dsp
|
---|
| 73 | #define TOPPERS_sns_ctx
|
---|
| 74 | #define TOPPERS_sns_loc
|
---|
| 75 | #define TOPPERS_sns_dsp
|
---|
| 76 | #define TOPPERS_sns_dpn
|
---|
| 77 | #define TOPPERS_sns_ker
|
---|
| 78 |
|
---|
| 79 | /* interrupt.c */
|
---|
| 80 | #define TOPPERS_intini
|
---|
| 81 | #define TOPPERS_dis_int
|
---|
| 82 | #define TOPPERS_ena_int
|
---|
| 83 |
|
---|
| 84 | /* exception.c */
|
---|
| 85 | #define TOPPERS_excini
|
---|
| 86 |
|
---|
| 87 | /* time_event.c */
|
---|
| 88 | #define TOPPERS_tmevtini
|
---|
| 89 | #define TOPPERS_tmevtenq
|
---|
| 90 | #define TOPPERS_tmevtdeq
|
---|
| 91 | #define TOPPERS_sig_tim
|
---|
| 92 |
|
---|
| 93 | /* cyclic.c */
|
---|
| 94 | #define TOPPERS_cycini
|
---|
| 95 | #define TOPPERS_sta_cyc
|
---|
| 96 | #define TOPPERS_stp_cyc
|
---|
| 97 | #define TOPPERS_cyccal
|
---|
| 98 |
|
---|
| 99 | /* alarm.c */
|
---|
| 100 | #define TOPPERS_almini
|
---|
| 101 | #define TOPPERS_sta_alm
|
---|
| 102 | #define TOPPERS_ista_alm
|
---|
| 103 | #define TOPPERS_stp_alm
|
---|
| 104 | #define TOPPERS_istp_alm
|
---|
| 105 | #define TOPPERS_almcal
|
---|
| 106 |
|
---|
| 107 | /* time_manage.c */
|
---|
| 108 | #define TOPPERS_get_tim
|
---|
| 109 |
|
---|
| 110 | /* eventflag.c */
|
---|
| 111 | #define TOPPERS_iniflg
|
---|
| 112 | #define TOPPERS_flgcnd
|
---|
| 113 | #define TOPPERS_set_flg
|
---|
| 114 | #define TOPPERS_iset_flg
|
---|
| 115 | #define TOPPERS_clr_flg
|
---|
| 116 | #define TOPPERS_pol_flg
|
---|
| 117 |
|
---|
| 118 | /* dataqueue.c */
|
---|
| 119 | #define TOPPERS_dtqini
|
---|
| 120 | #define TOPPERS_dtqenq
|
---|
| 121 | #define TOPPERS_dtqdeq
|
---|
| 122 | #define TOPPERS_psnd_dtq
|
---|
| 123 | #define TOPPERS_ipsnd_dtq
|
---|
| 124 | #define TOPPERS_prcv_dtq
|
---|
| 125 |
|
---|
| 126 |
|
---|
| 127 | #endif /* TOPPERS_ALLFUNC_H */
|
---|