1 /******************************************************************************
3 * Copyright (c) 2020 ICT/CAS.
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
9 * https://www.o-ran.org/software
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.
17 *******************************************************************************/
23 #ifndef __VOS_SYS_DIFF_H__
24 #define __VOS_SYS_DIFF_H__
26 #include "vos_types.h"
31 #endif /* __cplusplus */
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 /* 任务的缺省栈大小. */
48 #endif /* __cplusplus */
50 #endif /* __VOS_SYS_DIFF_H__ */