VSF Documented
vsf_kernel_common.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __VSF_KERNEL_COMMON_H__
19#define __VSF_KERNEL_COMMON_H__
20
21/*============================ INCLUDES ======================================*/
22#include "./vsf_kernel_cfg.h"
23
24#if VSF_USE_KERNEL == ENABLED
25#include "hal/arch/vsf_arch.h"
26
27/*============================ MACROS ========================================*/
28/*============================ MACROFIED FUNCTIONS ===========================*/
29
30#define __VSF_SWI_PRIO_INIT(__index, __unused) \
31 vsf_prio_##__index,
32
33/*============================ TYPES =========================================*/
34
35#define MFUNC_IN_U8_DEC_VALUE VSF_OS_CFG_PRIORITY_NUM
37typedef enum vsf_prio_t {
42
43/*============================ GLOBAL VARIABLES ==============================*/
44/*============================ LOCAL VARIABLES ===============================*/
45/*============================ PROTOTYPES ====================================*/
46
47#endif
48#endif
49/* EOF */
#define NULL
Definition stddef.h:52
#define MFUNC_OUT_DEC_STR
Definition mf_u8_dec2str.h:111
#define __VSF_SWI_PRIO_INIT(__index, __unused)
Definition vsf_kernel_common.h:30
vsf_prio_t
Definition vsf_kernel_common.h:37
@ vsf_prio_highest
Definition vsf_kernel_common.h:40
@ vsf_prio_inherit
Definition vsf_kernel_common.h:38
#define VSF_MREPEAT(__COUNT, __MACRO, __PARAM)
Definition vsf_repeat_macro.h:51