]> rtime.felk.cvut.cz Git - arc.git/blob - system/EcuM/EcuM_ServicePort.c
72004e9a7bba1f7d7b9ba6507a8ea1b8dd1b10aa
[arc.git] / system / EcuM / EcuM_ServicePort.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_Internals.h"\r
21 #endif\r
22 \r
23 Std_ReturnType EcuM_ShutdownTarget_GetLastShutdownTarget(EcuM_StateType* target, UInt8* mode) {\r
24         return E_NOT_OK;\r
25 }\r
26 \r
27 Std_ReturnType EcuM_ShutdownTarget_GetShutdownTarget(EcuM_StateType* target, UInt8* mode) {\r
28         return EcuM_GetShutdownTarget(target, (uint8*)mode);\r
29 }\r
30 \r
31 Std_ReturnType EcuM_ShutdownTarget_SelectShutdowntarget(EcuM_StateType target, UInt8 mode) {\r
32         return EcuM_SelectShutdownTarget(target, (uint8)mode);\r
33 }\r
34 \r
35 Std_ReturnType EcuM_StateRequest_RequestRUN(EcuM_UserType user) {\r
36         return EcuM_RequestRUN(user);\r
37 }\r
38 \r
39 Std_ReturnType EcuM_StateRequest_ReleaseRUN(EcuM_UserType user) {\r
40         return EcuM_ReleaseRUN(user);\r
41 }\r
42 \r
43 Std_ReturnType EcuM_StateRequest_RequestPOST_RUN(EcuM_UserType user) {\r
44         return EcuM_RequestPOST_RUN(user);\r
45 }\r
46 \r
47 Std_ReturnType EcuM_StateRequest_ReleasePOST_RUN(EcuM_UserType user) {\r
48         return EcuM_ReleasePOST_RUN(user);\r
49 }\r
50 \r
51 Std_ReturnType EcuM_BootTarget_GetBootTarget(EcuM_BootTargetType* target) {\r
52         return EcuM_GetBootTarget(target);\r
53 }\r
54 \r
55 Std_ReturnType EcuM_BootTarget_SelectBootTarget(EcuM_BootTargetType target) {\r
56         return EcuM_SelectBootTarget(target);\r
57 }\r