VSF Documented
vsf_eda_feature_t Union Reference

Task feature flags passed in vsf_eda_cfg_t. More...

#include <vsf_eda.h>

Data Fields

struct { 
 
   __vsf_eda_feature_word   is_use_frame: 1 
 
   __vsf_eda_feature_word   is_stack_owner: 1 
 
   __vsf_eda_feature_word   is_subcall_has_return_value: 1 
 
   __vsf_eda_feature_word   user_bits: VSF_KERNEL_CFG_EDA_USER_BITLEN 
 
};  
 
__vsf_eda_feature_word value
 

Detailed Description

Task feature flags passed in vsf_eda_cfg_t.

Field Documentation

◆ is_use_frame

__vsf_eda_feature_word vsf_eda_feature_t::is_use_frame
Note
is_use_frame is used by vsf_peda and sub-call ! since both vsf_peda and sub-call will share most of the functions ! used for frame push and pop operation, it has little gain to ! only disable sub-call feature but keep vsf_peda. Hence, to reduce ! complexity, we only use VSF_KERNEL_CFG_EDA_SUPPORT_SUB_CALL to ! enable or disable the is_use_frame bit and frame related ! functions. task uses a stack frame (for peda/sub-call tasks)

◆ is_stack_owner

__vsf_eda_feature_word vsf_eda_feature_t::is_stack_owner

task owns a dedicated stack, i.e. a thread

◆ is_subcall_has_return_value

__vsf_eda_feature_word vsf_eda_feature_t::is_subcall_has_return_value

the sub-call returns a value (fsm_rt_t)

◆ user_bits

__vsf_eda_feature_word vsf_eda_feature_t::user_bits

application-defined bits (e.g. the simple-shell polling state)

◆ [struct]

struct { ... } vsf_eda_feature_t

◆ value

__vsf_eda_feature_word vsf_eda_feature_t::value

raw value, 0 = default

Generated from commit: vsfteam/vsf@a5104db