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