1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /********************************************************************20**
21 Name: System Services -- Task Management
25 Desc: Various macro definitions required for the task mgmt.
29 *********************************************************************21*/
41 #define SS_TSK_UND 0 /* undefined */
42 #define SS_TSK_NORMAL 1 /* normal task */
43 #define SS_TSK_PERMANENT 2 /* permanent task */
45 /* ss001.301: additions */
46 #ifdef SS_LOGGER_SUPPORT
47 #define SS_LOG_TO_FILE 0 /* write log to file */
48 #define SS_LOG_TO_SOCKET 1 /* write log to socket */
49 #define SS_LOG_ALL 2 /* write log to file and socket*/
50 #endif /* SS_LOGGER_SUPPORT */
56 #define SS_TMR_HRTBT 0x00
57 #define EVTSSHRTBTREQ 0x00
58 #define EVTSSHRTBTRSP 0x01
59 #define SS_LOOSE_COUPLING 0x00
60 #endif /* SS_WATCHDOG */
62 /* task priorities (these are system task priorities--0 to 31) */
63 #define SS_NORM_TSK_PRI 13 /* for normal tasks */
64 #define SS_PERM_TSK_PRI 21 /* for permanent tasks */
67 #define SS_LOWEST_STSK_PRIOR 31 /* lowest sys task priority */
74 #endif /* __SSTASKH__ */
77 /********************************************************************30**
80 **********************************************************************/