]> rtime.felk.cvut.cz Git - arc.git/blob - system/EcuM/EcuM_ServiceComponent.c
5482cc5d834b94e57b0d6beea58d5eab3d986b45
[arc.git] / system / EcuM / EcuM_ServiceComponent.c
1 /* -------------------------------- Arctic Core ------------------------------\r
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
3  *\r
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
5  *\r
6  * This source code is free software; you can redistribute it and/or modify it\r
7  * under the terms of the GNU General Public License version 2 as published by the\r
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
9  *\r
10  * This program is distributed in the hope that it will be useful, but\r
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
13  * for more details.\r
14  * -------------------------------- Arctic Core ------------------------------*/\r
15 \r
16 #if 0\r
17 #include "Rte_EcuM.h"\r
18 #else\r
19 #include "EcuM.h"\r
20 #include "EcuM_Generated_Types.h"\r
21 #include "EcuM_Internals.h"\r
22 #endif\r
23 \r
24 Std_ReturnType EcuM_ShutdownTarget_GetLastShutdownTarget(EcuM_StateType* target, UInt8* mode) {\r
25         return E_NOT_OK;\r
26 }\r
27 \r
28 Std_ReturnType EcuM_ShutdownTarget_GetShutdownTarget(EcuM_StateType* target, UInt8* mode) {\r
29         return EcuM_GetShutdownTarget(target, (uint8*)mode);\r
30 }\r
31 \r
32 Std_ReturnType EcuM_ShutdownTarget_SelectShutdowntarget(EcuM_StateType target, UInt8 mode) {\r
33         return EcuM_SelectShutdownTarget(target, (uint8)mode);\r
34 }\r
35 \r
36 Std_ReturnType EcuM_StateRequest_RequestRUN(EcuM_UserType user) {\r
37         return EcuM_RequestRUN(user);\r
38 }\r
39 \r
40 Std_ReturnType EcuM_StateRequest_ReleaseRUN(EcuM_UserType user) {\r
41         return EcuM_ReleaseRUN(user);\r
42 }\r
43 \r
44 Std_ReturnType EcuM_StateRequest_RequestPOSTRUN(EcuM_UserType user) {\r
45         return EcuM_RequestPOST_RUN(user);\r
46 }\r
47 \r
48 Std_ReturnType EcuM_StateRequest_ReleasePOSTRUN(EcuM_UserType user) {\r
49         return EcuM_ReleasePOST_RUN(user);\r
50 }\r
51 \r
52 Std_ReturnType EcuM_BootTarget_GetBootTarget(EcuM_BootTargetType* target) {\r
53         return EcuM_GetBootTarget(target);\r
54 }\r
55 \r
56 Std_ReturnType EcuM_BootTarget_SelectBootTarget(EcuM_BootTargetType target) {\r
57         return EcuM_SelectBootTarget(target);\r
58 }\r