source: atk2-sc3_fl850f1l/include/svc_funccall.h@ 164

Last change on this file since 164 was 117, checked in by ertl-ishikawa, 9 years ago

ATK2-SC3 1.3.2 FL850F1L(RH850F1L)依存部(GCC/GHS/CCRH)を追加

File size: 10.8 KB
RevLine 
[117]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: svc_funccall.h 187 2015-06-25 03:39:04Z t_ishikawa $
55 */
56
57/* This file is generated from svc.def by gensvc_atk. */
58
59#ifndef TOPPERS_SVC_FUNCCALL_H
60#define TOPPERS_SVC_FUNCCALL_H
61
62#define SVC_CALL(system_service) _kernel_ ## system_service
63
64#ifdef TOPPERS_SVC_FUNCCALL
65#define StartOS _kernel_StartOS
66#define ShutdownOS _kernel_ShutdownOS
67#define ActivateTask _kernel_ActivateTask
68#define TerminateTask _kernel_TerminateTask
69#define ChainTask _kernel_ChainTask
70#define Schedule _kernel_Schedule
71#define GetTaskID _kernel_GetTaskID
72#define GetTaskState _kernel_GetTaskState
73#define EnableAllInterrupts _kernel_EnableAllInterrupts
74#define DisableAllInterrupts _kernel_DisableAllInterrupts
75#define ResumeAllInterrupts _kernel_ResumeAllInterrupts
76#define SuspendAllInterrupts _kernel_SuspendAllInterrupts
77#define ResumeOSInterrupts _kernel_ResumeOSInterrupts
78#define SuspendOSInterrupts _kernel_SuspendOSInterrupts
79#define GetISRID _kernel_GetISRID
80#define DisableInterruptSource _kernel_DisableInterruptSource
81#define EnableInterruptSource _kernel_EnableInterruptSource
82#define GetResource _kernel_GetResource
83#define ReleaseResource _kernel_ReleaseResource
84#define SetEvent _kernel_SetEvent
85#define ClearEvent _kernel_ClearEvent
86#define GetEvent _kernel_GetEvent
87#define WaitEvent _kernel_WaitEvent
88#define GetAlarmBase _kernel_GetAlarmBase
89#define GetAlarm _kernel_GetAlarm
90#define SetRelAlarm _kernel_SetRelAlarm
91#define SetAbsAlarm _kernel_SetAbsAlarm
92#define CancelAlarm _kernel_CancelAlarm
93#define IncrementCounter _kernel_IncrementCounter
94#define GetCounterValue _kernel_GetCounterValue
95#define GetElapsedValue _kernel_GetElapsedValue
96#define CheckISRMemoryAccess _kernel_CheckISRMemoryAccess
97#define CheckTaskMemoryAccess _kernel_CheckTaskMemoryAccess
98#define CheckTaskAccess _kernel_CheckTaskAccess
99#define CheckISRAccess _kernel_CheckISRAccess
100#define CheckAlarmAccess _kernel_CheckAlarmAccess
101#define CheckResourceAccess _kernel_CheckResourceAccess
102#define CheckCounterAccess _kernel_CheckCounterAccess
103#define CheckScheduleTableAccess _kernel_CheckScheduleTableAccess
104#define CheckTaskOwnership _kernel_CheckTaskOwnership
105#define CheckISROwnership _kernel_CheckISROwnership
106#define CheckAlarmOwnership _kernel_CheckAlarmOwnership
107#define CheckCounterOwnership _kernel_CheckCounterOwnership
108#define CheckScheduleTableOwnership _kernel_CheckScheduleTableOwnership
109#define GetApplicationID _kernel_GetApplicationID
110#define CallTrustedFunction _kernel_CallTrustedFunction
111#define GetApplicationState _kernel_GetApplicationState
112#define GetActiveApplicationMode _kernel_GetActiveApplicationMode
113#define StartScheduleTableRel _kernel_StartScheduleTableRel
114#define StartScheduleTableAbs _kernel_StartScheduleTableAbs
115#define StopScheduleTable _kernel_StopScheduleTable
116#define NextScheduleTable _kernel_NextScheduleTable
117#define GetScheduleTableStatus _kernel_GetScheduleTableStatus
118#define GetFaultyContext _kernel_GetFaultyContext
119#define ioc_send_generic _kernel_ioc_send_generic
120#define ioc_write_generic _kernel_ioc_write_generic
121#define ioc_receive_generic _kernel_ioc_receive_generic
122#define ioc_read_generic _kernel_ioc_read_generic
123#define ioc_empty_queue_generic _kernel_ioc_empty_queue_generic
124#define AllowAccess _kernel_AllowAccess
125#define TerminateApplication _kernel_TerminateApplication
126#endif
127
128#ifndef TOPPERS_MACRO_ONLY
129
130extern void _kernel_StartOS(AppModeType Mode);
131extern void _kernel_ShutdownOS(StatusType Error);
132extern StatusType _kernel_ActivateTask(TaskType TaskID);
133extern StatusType _kernel_TerminateTask(void);
134extern StatusType _kernel_ChainTask(TaskType TaskID);
135extern StatusType _kernel_Schedule(void);
136extern StatusType _kernel_GetTaskID(TaskRefType TaskID);
137extern StatusType _kernel_GetTaskState(TaskType TaskID, TaskStateRefType State);
138extern void _kernel_EnableAllInterrupts(void);
139extern void _kernel_DisableAllInterrupts(void);
140extern void _kernel_ResumeAllInterrupts(void);
141extern void _kernel_SuspendAllInterrupts(void);
142extern void _kernel_ResumeOSInterrupts(void);
143extern void _kernel_SuspendOSInterrupts(void);
144extern ISRType _kernel_GetISRID(void);
145extern StatusType _kernel_DisableInterruptSource(ISRType DisableISR);
146extern StatusType _kernel_EnableInterruptSource(ISRType EnableISR);
147extern StatusType _kernel_GetResource(ResourceType ResID);
148extern StatusType _kernel_ReleaseResource(ResourceType ResID);
149extern StatusType _kernel_SetEvent(TaskType TaskID, EventMaskType Mask);
150extern StatusType _kernel_ClearEvent(EventMaskType Mask);
151extern StatusType _kernel_GetEvent(TaskType TaskID, EventMaskRefType Event);
152extern StatusType _kernel_WaitEvent(EventMaskType Mask);
153extern StatusType _kernel_GetAlarmBase(AlarmType AlarmID, AlarmBaseRefType Info);
154extern StatusType _kernel_GetAlarm(AlarmType AlarmID, TickRefType Tick);
155extern StatusType _kernel_SetRelAlarm(AlarmType AlarmID, TickType increment, TickType cycle);
156extern StatusType _kernel_SetAbsAlarm(AlarmType AlarmID, TickType start, TickType cycle);
157extern StatusType _kernel_CancelAlarm(AlarmType AlarmID);
158extern StatusType _kernel_IncrementCounter(CounterType CounterID);
159extern StatusType _kernel_GetCounterValue(CounterType CounterID, TickRefType Value);
160extern StatusType _kernel_GetElapsedValue(CounterType CounterID, TickRefType Value, TickRefType ElapsedValue);
161extern AccessType _kernel_CheckISRMemoryAccess(ISRType ISRID, MemoryStartAddressType Address, MemorySizeType Size);
162extern AccessType _kernel_CheckTaskMemoryAccess(TaskType TaskID, MemoryStartAddressType Address, MemorySizeType Size);
163extern ObjectAccessType _kernel_CheckTaskAccess(ApplicationType ApplID, TaskType TaskID);
164extern ObjectAccessType _kernel_CheckISRAccess(ApplicationType ApplID, ISRType ISRID);
165extern ObjectAccessType _kernel_CheckAlarmAccess(ApplicationType ApplID, AlarmType AlarmID);
166extern ObjectAccessType _kernel_CheckResourceAccess(ApplicationType ApplID, ResourceType ResID);
167extern ObjectAccessType _kernel_CheckCounterAccess(ApplicationType ApplID, CounterType CounterID);
168extern ObjectAccessType _kernel_CheckScheduleTableAccess(ApplicationType ApplID, ScheduleTableType ScheduleTableID);
169extern ApplicationType _kernel_CheckTaskOwnership(TaskType TaskID);
170extern ApplicationType _kernel_CheckISROwnership(ISRType ISRID);
171extern ApplicationType _kernel_CheckAlarmOwnership(AlarmType AlarmID);
172extern ApplicationType _kernel_CheckCounterOwnership(CounterType CounterID);
173extern ApplicationType _kernel_CheckScheduleTableOwnership(ScheduleTableType ScheduleTableID);
174extern ApplicationType _kernel_GetApplicationID(void);
175extern StatusType _kernel_CallTrustedFunction(TrustedFunctionIndexType FunctionIndex, TrustedFunctionParameterRefType FunctionParams);
176extern StatusType _kernel_GetApplicationState(ApplicationType Application, ApplicationStateRefType Value);
177extern AppModeType _kernel_GetActiveApplicationMode(void);
178extern StatusType _kernel_StartScheduleTableRel(ScheduleTableType ScheduleTableID, TickType Offset);
179extern StatusType _kernel_StartScheduleTableAbs(ScheduleTableType ScheduleTableID, TickType Start);
180extern StatusType _kernel_StopScheduleTable(ScheduleTableType ScheduleTableID);
181extern StatusType _kernel_NextScheduleTable(ScheduleTableType ScheduleTableID_From, ScheduleTableType ScheduleTableID_To);
182extern StatusType _kernel_GetScheduleTableStatus(ScheduleTableType ScheduleTableID, ScheduleTableStatusRefType ScheduleStatus);
183extern FaultyContextType _kernel_GetFaultyContext(void);
184extern Std_ReturnType _kernel_ioc_send_generic(IocType IocWrapperId, const void *in);
185extern Std_ReturnType _kernel_ioc_write_generic(IocType IocWrapperId, const void *in);
186extern Std_ReturnType _kernel_ioc_receive_generic(IocType IocId, void *out);
187extern Std_ReturnType _kernel_ioc_read_generic(IocType IocId, void *out);
188extern Std_ReturnType _kernel_ioc_empty_queue_generic(IocType IocId);
189extern StatusType _kernel_AllowAccess(void);
190extern StatusType _kernel_TerminateApplication(ApplicationType Application, RestartType RestartOption);
191
192#endif /* TOPPERS_MACRO_ONLY */
193#endif /* TOPPERS_SVC_FUNCCALL */
Note: See TracBrowser for help on using the repository browser.