]> rtime.felk.cvut.cz Git - arc.git/blob - include/os_config_funcs.h
Regenerated examples. Removed linux board. Added default cross compiler for TI.
[arc.git] / include / os_config_funcs.h
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  * This file only be use with the Os_Cfg.c file and os_config_macros.h\r
17  */\r
18 #include "internal.h"\r
19 #include "Os_Cfg.h"\r
20 \r
21 #error os_config_funcs.h is deprecated\r
22 \r
23 #if 0\r
24 /** @req OS327 */\r
25 #if (OS_SC3 == STD_ON) || (OS_SC4 == STD_ON)\r
26 #if (OS_STATUS_STANDARD == STD_ON )\r
27 #error req OS327 not fullfilled\r
28 #endif\r
29 #endif\r
30 \r
31 \r
32 // COUNTER, RESOURCE, TSAK, must be at least 1\r
33 \r
34 #if (OS_ALARM_CNT!=0)\r
35 #endif\r
36 \r
37 OsErrorType os_error;\r
38 \r
39 //-------------------------------------------------------------------\r
40 \r
41 /*-----------------------------------------------------------------*/\r
42         (void)resource;\r
43 \r
44 /*-----------------------------------------------------------------*/\r
45 \r
46 /*-----------------------------------------------------------------*/\r
47 \r
48         (void)sched_id;\r
49 \r
50 /*-----------------------------------------------------------------*/\r
51 \r
52 \r
53 /*-----------------------------------------------------------------*/\r
54 \r
55 #if 0\r
56 OsMessageType *Os_CfgGetMessage(MessageType message_id) {\r
57 #if (OS_MESSAGE_CNT!=0)\r
58         return &message_list[message_id];\r
59 #else\r
60         return NULL;\r
61 #endif\r
62 }\r
63 \r
64 uint32 Os_CfgGetMessageCnt(void ) {\r
65         return OS_MESSAGE_CNT;\r
66 }\r
67 #endif\r
68 \r
69 /*-----------------------------------------------------------------*/\r
70 \r
71 #if (OS_USE_APPLICATIONS == STD_ON)\r
72 uint32 Os_CfgGetServiceCnt( void ) {\r
73         return OS_SERVICE_CNT;\r
74 }\r
75 #endif\r
76 #endif\r
77 \r
78 \r
79 \r
80 \r