20.10 Task Information (task[])
task[ <1. ID number> ] { name = <2. ID name (name)>; entry_address = <3. Task entry address (entry_addreess)>; stack_size = <4. User stack size (stack_size)>; stack_section = <5. Section name assigned to the stack area (stack_section)>; priority = <6. Task initial priority (priority)>; initial_start = <7. TA_ACT attribute (initial_start)>; exinf = <8. Extended information (exinf)>; texrtn = <9. Task exception handling routine entry address (texrtn)>; domain_num = <10. Belonging domain ID (domain_num)>; }; |
- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
#define <ID name> <ID number>
- When omitting
The set value in the default system configuration file (factory setting: 256) applied.
The set value in the default system configuration file (factory setting: 256) applied.
- Description
Define the section name to be assigned to the user stack area.
The cfg600px generates the user stack area with the size specified by stack_size to the section specified by stack_section. The section attribute is "DATA", and the alignment number is 4.
When linking, be sure to locate this section in the RAM area. Note, this section must not be located to address 0.
Since this section should be started from 16-bytes boundary address, specify "aligned_section" linker option at linking.
Define the section name to be assigned to the user stack area.
The cfg600px generates the user stack area with the size specified by stack_size to the section specified by stack_section. The section attribute is "DATA", and the alignment number is 4.
When linking, be sure to locate this section in the RAM area. Note, this section must not be located to address 0.
Since this section should be started from 16-bytes boundary address, specify "aligned_section" linker option at linking.
- When omitting
The set value in the default system configuration file (factory setting: "SURI_STACK") applied.
The set value in the default system configuration file (factory setting: "SURI_STACK") applied.
- When omitting
The set value in the default system configuration file (factory setting: "OFF") applied.
The set value in the default system configuration file (factory setting: "OFF") applied.
- Note
When the task is activated by the TA_ACT attribute, act_tsk or iact_tsk, the extended information is passed to the task.
When the task is activated by the TA_ACT attribute, act_tsk or iact_tsk, the extended information is passed to the task.