1 | /*
|
---|
2 | * TOPPERS ATK2
|
---|
3 | * Toyohashi Open Platform for Embedded Real-Time Systems
|
---|
4 | * Automotive Kernel Version 2
|
---|
5 | *
|
---|
6 | * Copyright (C) 2011-2015 by Center for Embedded Computing Systems
|
---|
7 | * Graduate School of Information Science, Nagoya Univ., JAPAN
|
---|
8 | * Copyright (C) 2011-2015 by FUJI SOFT INCORPORATED, JAPAN
|
---|
9 | * Copyright (C) 2011-2013 by Spansion LLC, USA
|
---|
10 | * Copyright (C) 2011-2015 by NEC Communication Systems, Ltd., JAPAN
|
---|
11 | * Copyright (C) 2011-2015 by Panasonic Advanced Technology Development Co., Ltd., JAPAN
|
---|
12 | * Copyright (C) 2011-2014 by Renesas Electronics Corporation, JAPAN
|
---|
13 | * Copyright (C) 2011-2015 by Sunny Giken Inc., JAPAN
|
---|
14 | * Copyright (C) 2011-2015 by TOSHIBA CORPORATION, JAPAN
|
---|
15 | * Copyright (C) 2011-2015 by Witz Corporation
|
---|
16 | * Copyright (C) 2014-2015 by AISIN COMCRUISE Co., Ltd., JAPAN
|
---|
17 | * Copyright (C) 2014-2015 by eSOL Co.,Ltd., JAPAN
|
---|
18 | * Copyright (C) 2014-2015 by SCSK Corporation, JAPAN
|
---|
19 | *
|
---|
20 | * 上記著作権者は,以下の(1)〜(4)の条件を満たす場合に限り,本ソフトウェ
|
---|
21 | * ア(本ソフトウェアを改変したものを含む.以下同じ)を使用・複製・改
|
---|
22 | * 変・再配布(以下,利用と呼ぶ)することを無償で許諾する.
|
---|
23 | * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
|
---|
24 | * 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
|
---|
25 | * スコード中に含まれていること.
|
---|
26 | * (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
|
---|
27 | * 用できる形で再配布する場合には,再配布に伴うドキュメント(利用
|
---|
28 | * 者マニュアルなど)に,上記の著作権表示,この利用条件および下記
|
---|
29 | * の無保証規定を掲載すること.
|
---|
30 | * (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
|
---|
31 | * 用できない形で再配布する場合には,次のいずれかの条件を満たすこ
|
---|
32 | * と.
|
---|
33 | * (a) 再配布に伴うドキュメント(利用者マニュアルなど)に,上記の著
|
---|
34 | * 作権表示,この利用条件および下記の無保証規定を掲載すること.
|
---|
35 | * (b) 再配布の形態を,別に定める方法によって,TOPPERSプロジェクトに
|
---|
36 | * 報告すること.
|
---|
37 | * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
|
---|
38 | * 害からも,上記著作権者およびTOPPERSプロジェクトを免責すること.
|
---|
39 | * また,本ソフトウェアのユーザまたはエンドユーザからのいかなる理
|
---|
40 | * 由に基づく請求からも,上記著作権者およびTOPPERSプロジェクトを
|
---|
41 | * 免責すること.
|
---|
42 | *
|
---|
43 | * 本ソフトウェアは,AUTOSAR(AUTomotive Open System ARchitecture)仕
|
---|
44 | * 様に基づいている.上記の許諾は,AUTOSARの知的財産権を許諾するもので
|
---|
45 | * はない.AUTOSARは,AUTOSAR仕様に基づいたソフトウェアを商用目的で利
|
---|
46 | * 用する者に対して,AUTOSARパートナーになることを求めている.
|
---|
47 | *
|
---|
48 | * 本ソフトウェアは,無保証で提供されているものである.上記著作権者お
|
---|
49 | * よびTOPPERSプロジェクトは,本ソフトウェアに関して,特定の使用目的
|
---|
50 | * に対する適合性も含めて,いかなる保証も行わない.また,本ソフトウェ
|
---|
51 | * アの利用により直接的または間接的に生じたいかなる損害に関しても,そ
|
---|
52 | * の責任を負わない.
|
---|
53 | *
|
---|
54 | * $Id: allfunc.h 187 2015-06-25 03:39:04Z t_ishikawa $
|
---|
55 | */
|
---|
56 |
|
---|
57 | /*
|
---|
58 | * すべての関数をコンパイルするための定義
|
---|
59 | */
|
---|
60 |
|
---|
61 | #ifndef TOPPERS_ALLFUNC_H
|
---|
62 | #define TOPPERS_ALLFUNC_H
|
---|
63 |
|
---|
64 | /* alarm.c */
|
---|
65 | #define TOPPERS_alarm_initialize
|
---|
66 | #define TOPPERS_GetAlarmBase
|
---|
67 | #define TOPPERS_GetAlarm
|
---|
68 | #define TOPPERS_SetRelAlarm
|
---|
69 | #define TOPPERS_SetAbsAlarm
|
---|
70 | #define TOPPERS_CancelAlarm
|
---|
71 | #define TOPPERS_alarm_expire
|
---|
72 | #define TOPPERS_force_term_osap_alarm
|
---|
73 |
|
---|
74 | /* counter_manage.c */
|
---|
75 | #define TOPPERS_IncrementCounter
|
---|
76 | #define TOPPERS_GetCounterValue
|
---|
77 | #define TOPPERS_GetElapsedValue
|
---|
78 | #define TOPPERS_notify_hardware_counter
|
---|
79 | #define TOPPERS_incr_counter_action
|
---|
80 | #define TOPPERS_incr_counter_process
|
---|
81 |
|
---|
82 | /* counter.c */
|
---|
83 | #define TOPPERS_insert_cnt_expr_que
|
---|
84 | #define TOPPERS_delete_cnt_expr_que
|
---|
85 | #define TOPPERS_counter_initialize
|
---|
86 | #define TOPPERS_counter_terminate
|
---|
87 | #define TOPPERS_get_reltick
|
---|
88 | #define TOPPERS_get_abstick
|
---|
89 | #define TOPPERS_expire_process
|
---|
90 | #define TOPPERS_force_term_osap_counter
|
---|
91 |
|
---|
92 | /* event.c */
|
---|
93 | #define TOPPERS_SetEvent
|
---|
94 | #define TOPPERS_ClearEvent
|
---|
95 | #define TOPPERS_GetEvent
|
---|
96 | #define TOPPERS_WaitEvent
|
---|
97 | #define TOPPERS_set_event_action
|
---|
98 |
|
---|
99 | /* interrupt.c */
|
---|
100 | #define TOPPERS_interrupt_initialize
|
---|
101 | #define TOPPERS_release_interrupts
|
---|
102 | #define TOPPERS_exit_isr2
|
---|
103 |
|
---|
104 | /* interrupt_manage.c */
|
---|
105 | #define TOPPERS_DisableAllInterrupts
|
---|
106 | #define TOPPERS_EnableAllInterrupts
|
---|
107 | #define TOPPERS_SuspendAllInterrupts
|
---|
108 | #define TOPPERS_ResumeAllInterrupts
|
---|
109 | #define TOPPERS_SuspendOSInterrupts
|
---|
110 | #define TOPPERS_ResumeOSInterrupts
|
---|
111 | #define TOPPERS_GetISRID
|
---|
112 | #define TOPPERS_DisableInterruptSource
|
---|
113 | #define TOPPERS_EnableInterruptSource
|
---|
114 |
|
---|
115 | /* osctl.c */
|
---|
116 | #define TOPPERS_internal_call_errorhook
|
---|
117 | #define TOPPERS_call_posttaskhook
|
---|
118 | #define TOPPERS_call_pretaskhook
|
---|
119 | #define TOPPERS_cancel_shutdown_hook
|
---|
120 | #define TOPPERS_callevel_chk_shutdown
|
---|
121 | #define TOPPERS_call_protectionhk_main
|
---|
122 | #define TOPPERS_init_stack_magic_region
|
---|
123 | #define TOPPERS_internal_shutdownos
|
---|
124 | #define TOPPERS_internal_call_shtdwnhk
|
---|
125 |
|
---|
126 | /* osctl_manage.c */
|
---|
127 | #define TOPPERS_StartOS
|
---|
128 | #define TOPPERS_GetActiveApplicationMode
|
---|
129 | #define TOPPERS_ShutdownOS
|
---|
130 | #define TOPPERS_GetFaultyContext
|
---|
131 |
|
---|
132 | /* resource.c */
|
---|
133 | #define TOPPERS_resource_initialize
|
---|
134 | #define TOPPERS_GetResource
|
---|
135 | #define TOPPERS_ReleaseResource
|
---|
136 |
|
---|
137 | /* scheduletable.c */
|
---|
138 | #define TOPPERS_schtbl_initialize
|
---|
139 | #define TOPPERS_StartScheduleTableRel
|
---|
140 | #define TOPPERS_StartScheduleTableAbs
|
---|
141 | #define TOPPERS_StopScheduleTable
|
---|
142 | #define TOPPERS_NextScheduleTable
|
---|
143 | #define TOPPERS_GetScheduleTableStatus
|
---|
144 | #define TOPPERS_schtbl_expire
|
---|
145 | #define TOPPERS_schtbl_expiry_process
|
---|
146 | #define TOPPERS_schtbl_head
|
---|
147 | #define TOPPERS_schtbl_exppoint_process
|
---|
148 | #define TOPPERS_schtbl_tail
|
---|
149 | #define TOPPERS_force_term_osap_schtbl
|
---|
150 |
|
---|
151 | /* task.c */
|
---|
152 | #define TOPPERS_task_initialize
|
---|
153 | #define TOPPERS_search_schedtsk
|
---|
154 | #define TOPPERS_make_runnable
|
---|
155 | #define TOPPERS_make_non_runnable
|
---|
156 | #define TOPPERS_make_active
|
---|
157 | #define TOPPERS_preempt
|
---|
158 | #define TOPPERS_suspend
|
---|
159 | #define TOPPERS_release_taskresources
|
---|
160 | #define TOPPERS_cancel_taskcounters
|
---|
161 | #define TOPPERS_exit_task
|
---|
162 | #define TOPPERS_remove_task_from_queue
|
---|
163 | #define TOPPERS_suspend_ready_task
|
---|
164 | #define TOPPERS_force_terminate_task
|
---|
165 | #define TOPPERS_force_term_osap_task
|
---|
166 |
|
---|
167 | /* task_manage.c */
|
---|
168 | #define TOPPERS_ActivateTask
|
---|
169 | #define TOPPERS_TerminateTask
|
---|
170 | #define TOPPERS_ChainTask
|
---|
171 | #define TOPPERS_Schedule
|
---|
172 | #define TOPPERS_GetTaskID
|
---|
173 | #define TOPPERS_GetTaskState
|
---|
174 | #define TOPPERS_activate_task_action
|
---|
175 |
|
---|
176 | /* memory.c */
|
---|
177 | #define TOPPERS_search_meminib
|
---|
178 | #define TOPPERS_check_address_stack
|
---|
179 | #define TOPPERS_check_osap_memory
|
---|
180 | #define TOPPERS_check_isr_memory
|
---|
181 | #define TOPPERS_CheckISRMemoryAccess
|
---|
182 | #define TOPPERS_check_task_memory
|
---|
183 | #define TOPPERS_CheckTaskMemoryAccess
|
---|
184 | #define TOPPERS_check_hook_memory
|
---|
185 | #define TOPPERS_probe_memory_access
|
---|
186 | #define TOPPERS_probe_memory_read
|
---|
187 | #define TOPPERS_probe_memory_write
|
---|
188 | #define TOPPERS_probe_memory_read_write
|
---|
189 | #define TOPPERS_initialize_sections
|
---|
190 |
|
---|
191 | /* osap.c */
|
---|
192 | #define TOPPERS_osap_initialize
|
---|
193 | #define TOPPERS_GetApplicationID
|
---|
194 | #define TOPPERS_GetApplicationState
|
---|
195 | #define TOPPERS_CallTrustedFunction
|
---|
196 | #define TOPPERS_CheckTaskAccess
|
---|
197 | #define TOPPERS_CheckISRAccess
|
---|
198 | #define TOPPERS_CheckAlarmAccess
|
---|
199 | #define TOPPERS_CheckResourceAccess
|
---|
200 | #define TOPPERS_CheckCounterAccess
|
---|
201 | #define TOPPERS_CheckScheduleTableAccess
|
---|
202 | #define TOPPERS_CheckTaskOwnership
|
---|
203 | #define TOPPERS_CheckISROwnership
|
---|
204 | #define TOPPERS_CheckAlarmOwnership
|
---|
205 | #define TOPPERS_CheckCounterOwnership
|
---|
206 | #define TOPPERS_CheckScheduleTableOwnership
|
---|
207 | #define TOPPERS_internal_term_osap
|
---|
208 | #define TOPPERS_TerminateApplication
|
---|
209 | #define TOPPERS_AllowAccess
|
---|
210 |
|
---|
211 | #endif /* TOPPERS_ALLFUNC_H */
|
---|