Modify licenses
[scp/ocu/5gnr.git] / Include / vos_sys_diff.h
1 /******************************************************************************
2 *
3 *   Copyright (c) 2020 ICT/CAS.
4 *
5 *   Licensed under the O-RAN Software License, Version 1.0 (the "Software License");
6 *   you may not use this file except in compliance with the License.
7 *   You may obtain a copy of the License at
8 *
9 *       https://www.o-ran.org/software
10 *
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 *******************************************************************************/
18
19
20
21
22
23 #ifndef __VOS_SYS_DIFF_H__
24 #define __VOS_SYS_DIFF_H__
25
26 #include "vos_types.h"
27
28 #ifdef    __cplusplus
29 extern "C"
30 {
31 #endif /* __cplusplus */
32
33 #if OS_LINUX
34 #define __TASK_PRIORITY_TIME_CRITICAL           90     /* tTimer */
35 #define __TASK_PRIORITY_HIGHEST                 80     /* tDevice */
36 #define __TASK_PRIORITY_HIGHER                  70     /* consloe telnet */
37 #define __TASK_PRIORITY_HIGH                    60     /* cdp等  *//*hot */
38 #define __TASK_PRIORITY_ABOVE_NORMAL            50     /* stp *//* IP Receive *//*backup*/
39 #define __TASK_PRIORITY_NORMAL                  40     /* protocols *//* FDB FIB *//* radius */
40 #define __TASK_PRIORITY_BELOW_NORMAL            30     /* syslog */
41 #define __TASK_PRIORITY_LOWEST                  10
42 #define __TASK_PRIORITY_IDLE                     1
43 #define __VOS_DEFAULT_STACKSIZE                 1024*1024*8  /* 任务的缺省栈大小. */
44 #endif
45
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49
50 #endif /* __VOS_SYS_DIFF_H__ */