Everything
13.6 Description Examples
The following describes an example for coding the system configuration file.
Figure 13-2 Example of System Configuration File
 -- System Information description
 SYS_STK ( 256 );
 MAX_PRI ( 15 );
 
 -- Static API Information description
 CRE_TSK ( ID_tsk, { TA_HLNG | TA_ACT | TA_DISINT, 0xa, func_task, 1 256, NULL } );
 CRE_TSK ( ID_tskA, { TA_HLNG | TA_ACT, 0x14, func_taskA, 2, 256, NULL } );
 CRE_TSK ( ID_tskB, { TA_ASM | TA_ENAINT, 0x1e, func_taskB, 3, 512, NULL } );
 
 CRE_SEM ( ID_semA, { TA_TFIFO, 0, 127 } );
 CRE_SEM ( ID_semB, { TA_TFIFO, 127, 127 } );
 
 CRE_FLG ( ID_flgA, { TA_TFIFO | TA_WSGL | TA_CLR, 0 } );
 CRE_FLG ( ID_flgB, { TA_TFIFO | TA_WSGL, 0 } );
 
 CRE_DTQ ( ID_DTQ1, { TA_TFIFO,20:kernel_work1, NULL } );
 
 CRE_MBX ( ID_mbxA, { TA_TFIFO | TA_MFIFO, 0, NULL } );
 CRE_MBX ( ID_mbxB, { TA_TFIFO | TA_MPRI, 0, MULL } );
 
 CRE_MPF ( ID_mpfA, { TA_TFIFO, 10, 8:kernel_work1, NULL } );
 CRE_MPF ( ID_mpfB, { TA_TFIFO, 8, 16, NULL } );
 
 CRE_CYC ( ID_cycA, { TA_HLNG | TA_STA, 0, func_cychdrA, 1, 0x50 } );
 CRE_CYC ( ID_cycB, { TA_ASM, 0, func_cychdrB, 2, 0x100 } );
 
 DEF_INH ( INTP0, { TA_HLNG | TA_FAR, inthdr0 } );
 DEF_INH ( INTP1, { TA_HLNG | TA_NEAR, inthdr1 } );