TNeo
v1.06
|
Dispatch configuration: set predefined options, include user-provided cfg file as well as default cfg file.
Definition in file tn_cfg_dispatch.h.
Go to the source code of this file.
Macros | |
#define | TN_API_MAKE_ALIG_ARG__TYPE 1 |
In this case, you should use macro like this: TN_MAKE_ALIG(struct my_struct) . More... | |
#define | TN_API_MAKE_ALIG_ARG__SIZE 2 |
In this case, you should use macro like this: TN_MAKE_ALIG(sizeof(struct my_struct)) . More... | |
#define | _TN_ON_CONTEXT_SWITCH_HANDLER 1 |
Internal kernel definition: set to non-zero if _tn_sys_on_context_switch() should be called on context switch. More... | |
#define | _TN_STACK_OVERFLOW_SIZE_ADD (TN_STACK_OVERFLOW_CHECK ? 1 : 0) |
If TN_STACK_OVERFLOW_CHECK is set, we have 1-word overhead for each task stack. | |
#define TN_API_MAKE_ALIG_ARG__TYPE 1 |
In this case, you should use macro like this: TN_MAKE_ALIG(struct my_struct)
.
This way is used in the majority of TNKernel ports. (actually, in all ports except the one by AlexB)
Definition at line 56 of file tn_cfg_dispatch.h.
#define TN_API_MAKE_ALIG_ARG__SIZE 2 |
In this case, you should use macro like this: TN_MAKE_ALIG(sizeof(struct my_struct))
.
This way is stated in TNKernel docs and used in the port for dsPIC/PIC24/PIC32 by AlexB.
Definition at line 63 of file tn_cfg_dispatch.h.
#define _TN_ON_CONTEXT_SWITCH_HANDLER 1 |
Internal kernel definition: set to non-zero if _tn_sys_on_context_switch()
should be called on context switch.
Currently, the only actual handler is available: profiler (see TN_PROFILER). In the future, software stack overflow check will be implemented as well.
Definition at line 187 of file tn_cfg_dispatch.h.