7ca7adb150ea4ef71ffdb60b4d7de61eb98b958c
[scp/ocu/5gnr.git] / Include / vos_sys_diff.h
1 /******************************************************************************
2 ###############################################################################
3 #   Copyright (c) [2017-2020] [ICT/CAS]                                        #
4 #   Licensed under the ORAN Software License v1.0 (License)             #
5 ###############################################################################
6 ******************************************************************************/
7
8
9
10
11 #ifndef __VOS_SYS_DIFF_H__
12 #define __VOS_SYS_DIFF_H__
13
14 #include "vos_types.h"
15
16 #ifdef    __cplusplus
17 extern "C"
18 {
19 #endif /* __cplusplus */
20
21 #if OS_LINUX
22 #define __TASK_PRIORITY_TIME_CRITICAL           90     /* tTimer */
23 #define __TASK_PRIORITY_HIGHEST                 80     /* tDevice */
24 #define __TASK_PRIORITY_HIGHER                  70     /* consloe telnet */
25 #define __TASK_PRIORITY_HIGH                    60     /* cdp等  *//*hot */
26 #define __TASK_PRIORITY_ABOVE_NORMAL            50     /* stp *//* IP Receive *//*backup*/
27 #define __TASK_PRIORITY_NORMAL                  40     /* protocols *//* FDB FIB *//* radius */
28 #define __TASK_PRIORITY_BELOW_NORMAL            30     /* syslog */
29 #define __TASK_PRIORITY_LOWEST                  10
30 #define __TASK_PRIORITY_IDLE                     1
31 #define __VOS_DEFAULT_STACKSIZE                 1024*1024*8  /* 任务的缺省栈大小. */
32 #endif
33
34 #ifdef __cplusplus
35 }
36 #endif /* __cplusplus */
37
38 #endif /* __VOS_SYS_DIFF_H__ */