| #ifdef TASK_PRIORITY_MACRO |
| |
| /* |
| * WARNING: |
| * (1) Our system do not support tasks to have same priority. |
| * Fatal error 0x823 KAL_ERROR_BUFFMNGR_GETBUFF_NOT_AVAILABLE will happen when tasks with "same priority" |
| * try to give Enhanced mutex (E-mutex) by kal_give_enh_mutex(). If your tasks will try to take same E-mutex, please |
| * make sure none of them have same priority. |
| * |
| */ |
| |
| |
| #define TASK_PRIORITY_DRVTEST KAL_PRIORITY_CLASS5 |
| #define TASK_PRIORITY_SSTESTA (KAL_PRIORITY_CLASS1 + 1) |
| #define TASK_PRIORITY_SSTESTB (KAL_PRIORITY_CLASS0 + 4) |
| #define TASK_PRIORITY_DRVTEST_GPIO (KAL_PRIORITY_CLASS5 + 3) |
| #define TASK_PRIORITY_DRVTEST_EINT (KAL_PRIORITY_CLASS5 + 4) |
| #define TASK_PRIORITY_DRVTEST_TEST (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_TEST2 (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_GPT (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_GPT2 (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_L2_COPRO (KAL_PRIORITY_CLASS5 + 5) // lmac auto test |
| #define TASK_PRIORITY_DRVTEST_SPIC_1 (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_SPIC_2 (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_NFI_PRIMARY (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_NFI_MINOR (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_GDMA (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_RSTCTL (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_CPU (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_USIM (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_USIM2 (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_ATHIF_TASK0 (KAL_PRIORITY_CLASS5 + 8) |
| #define TASK_PRIORITY_ATHIF_TASK1 (KAL_PRIORITY_CLASS5 + 9) |
| #define TASK_PRIORITY_DRVTEST_CORESIGHT (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_DEM (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_PFC (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_UART (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_MSDC (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_DSPFM (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_IDC (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_BUSMON (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_BSI (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_DORMANT (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_EMI (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_LOG_SEQ (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_BWL (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_STP (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_SDF (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_MTAD (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_LP (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT (KAL_PRIORITY_CLASS5 + 7) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_MML2 (KAL_PRIORITY_CLASS5 + 6) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_MML2_MMU (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_USIM (KAL_PRIORITY_CLASS5 + 4) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE0 (KAL_PRIORITY_CLASS5 + 3) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE1 (KAL_PRIORITY_CLASS5 + 2) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE2 (KAL_PRIORITY_CLASS5 + 2) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE3 (KAL_PRIORITY_CLASS5 + 2) |
| #define TASK_PRIORITY_DRVTEST_SLEEP_IT_USIP (KAL_PRIORITY_CLASS5 + 1) |
| #define TASK_PRIORITY_DRVTEST_SCC (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_COS (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_PCMON (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_ECT (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_ASM (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_SOE (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_LHIF (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_LHIF1 (KAL_PRIORITY_CLASS5 + 6) |
| #define TASK_PRIORITY_DRVTEST_LHIF2 (KAL_PRIORITY_CLASS5 + 7) |
| #define TASK_PRIORITY_DRVTEST_LHIF3 (KAL_PRIORITY_CLASS5 + 8) |
| #define TASK_PRIORITY_DRVTEST_LHIF4 (KAL_PRIORITY_CLASS5 + 9) |
| #define TASK_PRIORITY_DRVTEST_LHIF5 (KAL_PRIORITY_CLASS5 + 10) |
| #define TASK_PRIORITY_DRVTEST_PCC (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_ATCLDMA_TASK0 (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_CLDMADEV (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_DPMAIF (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_DPMAIF_DATA (KAL_PRIORITY_CLASS5 + 6) |
| #define TASK_PRIORITY_DRVTEST_DPMAIF_UT (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_MDCIRQ (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_CHE (KAL_PRIORITY_CLASS5 + 5) |
| #define TASK_PRIORITY_DRVTEST_TIA (KAL_PRIORITY_CLASS5 + 5) |
| |
| #define TASK_PRIORITY_DRVTEST_DHL_DT0 (KAL_PRIORITY_CLASS6 + 0) |
| #define TASK_PRIORITY_DRVTEST_DHL_DT1 (KAL_PRIORITY_CLASS6 + 1) |
| #else /* else of TASK_PRIORITY_MACRO */ |
| |
| MODULE_ID_FOR_PRINT_TRACE(MOD_DRVTEST) |
| //Do not add setting before this line !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_TEST |
| task_index(INDX_DT_TEST) |
| task_module_map(INDX_DT_TEST, MOD_DT_TEST) |
| task_name("DTTEST") |
| task_queue_name("DTTEST Q") |
| task_priority(TASK_PRIORITY_DRVTEST_TEST, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPT */ |
| /*************************Task CFG END******************/ |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_TEST |
| task_index(INDX_DT_TEST2) |
| task_module_map(INDX_DT_TEST2, MOD_DT_TEST2) |
| task_name("DTTEST2") |
| task_queue_name("DTTEST2 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_TEST2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_test_task2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_BWL |
| task_index(INDX_DT_BWL) |
| task_module_map(INDX_DT_BWL, MOD_DT_BWL) |
| task_name("DTBWL") |
| task_queue_name("DTBWL Q") |
| task_priority(TASK_PRIORITY_DRVTEST_BWL, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_bwl_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_BWL */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_GPT |
| task_index(INDX_DT_GPT) |
| task_module_map(INDX_DT_GPT, MOD_DT_GPT) |
| task_name("DTGPT") |
| task_queue_name("DTGPT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_GPT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_gpt_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_GPT_CC |
| task_index(INDX_DT_GPT2) |
| task_module_map(INDX_DT_GPT2, MOD_DT_GPT_TWO) |
| task_name("DTGPT2") |
| task_queue_name("DTGPT2 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_GPT2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_gpt_task2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_MSDC |
| task_index(INDX_MSDC) |
| task_module_map(INDX_MSDC, MOD_MSDC) |
| task_name("MSDC") |
| task_queue_name("MSDC Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MSDC, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_msdc_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #if 0 |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| #endif |
| |
| #endif /* end of ATEST_DRV_MSDC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_USIM |
| task_index(INDX_DT_USIM) |
| task_module_map(INDX_DT_USIM, MOD_DT_USIM) |
| task_name("DTUSIM") |
| task_queue_name("DTUSIM Q") |
| task_priority(TASK_PRIORITY_DRVTEST_USIM, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_usim_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(40) |
| task_internal_queue_size(3) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_USIM |
| task_index(INDX_DT_USIM2) |
| task_module_map(INDX_DT_USIM2, MOD_DT_USIM2) |
| task_name("DTUSIM2") |
| task_queue_name("DTUSIM2 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_USIM2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_usim_task2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(40) |
| task_internal_queue_size(3) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #if defined(ATEST_DRV_LMAC) || defined(ATEST_DRV_L2_CIPHER) |
| /*task_indx_type*/ |
| task_index(INDX_L2_COPRO_AT) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_L2_COPRO_AT, MOD_L2_COPRO_AT) |
| /*task's parameters*/ |
| task_name("L2_COPRO_AT") |
| task_queue_name("L2_COPRO_AT_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_L2_COPRO, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(262144) |
| task_create_function(l2_copro_at_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* ATEST_DRV_LMAC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_SPIC |
| task_index(INDX_DT_SPIC_1) |
| task_module_map(INDX_DT_SPIC_1, MOD_DT_SPIC_ONE) |
| task_name("DTSPIC_1") |
| task_queue_name("DTSPIC_1 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SPIC_1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_spic_task_1_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_SPIC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_SPIC |
| task_index(INDX_DT_SPIC_2) |
| task_module_map(INDX_DT_SPIC_2, MOD_DT_SPIC_TWO) |
| task_name("DTSPIC_2") |
| task_queue_name("DTSPIC_2 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SPIC_2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_spic_task_2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_SPIC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_NFI |
| task_index(INDX_DT_NFI_PRIMARY) |
| task_module_map(INDX_DT_NFI_PRIMARY, MOD_DT_NFI_PRIMARY) |
| task_name("DTNFI_PRIMARY") |
| task_queue_name("DTNFI_PRIMARY Q") |
| task_priority(TASK_PRIORITY_DRVTEST_NFI_PRIMARY, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_nfi_task_1_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_NFI */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_NFI |
| task_index(INDX_DT_NFI_MINOR) |
| task_module_map(INDX_DT_NFI_MINOR, MOD_DT_NFI_MINOR) |
| task_name("DTNFI_MINOR") |
| task_queue_name("DTNFI_MINOR Q") |
| task_priority(TASK_PRIORITY_DRVTEST_NFI_MINOR, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_nfi_task_2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_NFI */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task L2 Cipher Copro AT Begin****************/ |
| //#ifdef ATEST_DRV_L2_CIPHER |
| ///*task_indx_type*/ |
| //#define TASK_PRIORITY_L2_COPRO_AT_TASK0 (KAL_PRIORITY_CLASS20+1) |
| //task_index(INDX_L2_COPRO_AT) |
| ///*module_type and mod_task_g*/ |
| //task_module_map(INDX_L2_COPRO_AT, MOD_L2_COPRO_AT) |
| // |
| ///*task's parameters*/ |
| //task_name("L2_COPRO_AT") |
| //task_queue_name("QL2_COPRO_AT") |
| //task_priority(TASK_PRIORITY_L2_COPRO_AT_TASK0, KAL_TASK_INITIAL_PRIORITY) |
| //task_stack_size(8192) |
| //task_create_function(l2_copro_at_task_create) |
| //task_stack_internalRAM(KAL_FALSE) |
| //task_external_queue_size(20) |
| //task_internal_queue_size(20) |
| //task_boot_mode(NORMAL_M) |
| //task_affinity_group(SMP_NORMAL_Group) |
| //task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //#endif /* end of ATEST_DRV_L2_CIPHER */ |
| /*************************Task L2 copro AT END******************/ |
| |
| #ifdef ATEST_SS |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_SSTESTA) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_SSTESTA, MOD_SSTESTA_A) |
| task_module_map(INDX_SSTESTA, MOD_SSTESTA_B) |
| task_module_map(INDX_SSTESTA, MOD_SSTESTA_C) |
| |
| /*task's parameters*/ |
| task_name("SS1") |
| task_queue_name("SST1 Q") |
| task_priority(TASK_PRIORITY_SSTESTA, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(sstest_task1_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(90) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M | USB_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| /*************************Task CFG END******************/ |
| /*************************Task CFG Begin****************/ |
| task_index(INDX_SS_T2) |
| task_module_map(INDX_SS_T2, MOD_SSTESTB) |
| task_name("SST2") |
| task_queue_name("SST2 Q") |
| task_priority(TASK_PRIORITY_SSTESTB, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(sstest_task2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| #endif /* end of ATEST_SS */ |
| |
| /*************************Task GDMA CFG Begin****************/ |
| #ifdef ATEST_DRV_GDMA |
| task_index(INDX_DT_GDMA) |
| task_module_map(INDX_DT_GDMA, MOD_DT_GDMA) |
| task_name("DTGDMA") |
| task_queue_name("DTGDMA Q") |
| task_priority(TASK_PRIORITY_DRVTEST_GDMA, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_gdma_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GDMA */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task PCMON CFG Begin****************/ |
| #ifdef ATEST_DRV_PCMON |
| task_index(INDX_DT_PCMON) |
| task_module_map(INDX_DT_PCMON, MOD_DT_PCMON) |
| task_name("DTPCMON") |
| task_queue_name("DTPCMON Q") |
| task_priority(TASK_PRIORITY_DRVTEST_PCMON, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_pdamon_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_PCMON */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_EMI |
| task_index(INDX_DT_EMI) |
| task_module_map(INDX_DT_EMI, MOD_DT_EMI) |
| task_name("DTEMI") |
| task_queue_name("DTEMI Q") |
| task_priority(TASK_PRIORITY_DRVTEST_EMI, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_emi_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_EMI */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_RSTCTL |
| task_index(INDX_DT_RSTCTL) |
| task_module_map(INDX_DT_RSTCTL, MOD_DT_RSTCTL) |
| task_name("DTRSTCTL") |
| task_queue_name("DTRSTCTL Q") |
| task_priority(TASK_PRIORITY_DRVTEST_RSTCTL, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_rstctl_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_RSTCTL */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_CPU |
| task_index(INDX_DT_CPU) |
| task_module_map(INDX_DT_CPU, MOD_DT_CPU) |
| task_name("DTCPU") |
| task_queue_name("DTRCPU Q") |
| task_priority(TASK_PRIORITY_DRVTEST_CPU, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(2048) |
| task_create_function(drvtest_cpu_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_CPU */ |
| /*************************Task CFG END******************/ |
| |
| #ifdef ATEST_DRV_HIF |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATHIF_TASK0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATHIF_TASK0, MOD_ATHIFT0) |
| |
| /*task's parameters*/ |
| task_name("ATHIFT0") |
| task_queue_name("QATHIFT0") |
| task_priority(TASK_PRIORITY_ATHIF_TASK0, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(athif_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATHIF_TASK1) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATHIF_TASK1, MOD_ATHIFT1) |
| |
| /*task's parameters*/ |
| task_name("ATHIFT1") |
| task_queue_name("QATHIFT1") |
| task_priority(TASK_PRIORITY_ATHIF_TASK1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(athif_dataflow_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| #endif /*ATEST_DRV_HIF*/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_GPIO |
| task_index(INDX_DT_GPIO) |
| task_module_map(INDX_DT_GPIO, MOD_DT_GPIO) |
| task_name("DTGPIO") |
| task_queue_name("DTGPIO Q") |
| task_priority(TASK_PRIORITY_DRVTEST_GPIO, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_gpio_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_GPIO */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_EINT |
| task_index(INDX_DT_EINT) |
| task_module_map(INDX_DT_EINT, MOD_DT_EINT) |
| task_name("DTEINT") |
| task_queue_name("DTEINT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_EINT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_eint_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_EINT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_CORESIGHT |
| task_index(INDX_DT_CORESIGHT) |
| task_module_map(INDX_DT_CORESIGHT, MOD_DT_CORESIGHT) |
| task_name("DTCORESIGHT") |
| task_queue_name("DTCORESIGHT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_CORESIGHT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(drvtest_coresight_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /*ATEST_DRV_CORESIGHT*/ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task MAC PHY COSIM Begin****************/ |
| #ifdef ATEST_DRV_MAC_PHY_COSIM |
| /*task_indx_type*/ |
| task_index(INDX_MAC_PHY_COSIM) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_MAC_PHY_COSIM, MOD_MAC_PHY_COSIM) |
| |
| /*task's parameters*/ |
| task_name("MAC_PHY_COSIM") |
| task_queue_name("QL2_MAC_PHY_COSIM") |
| task_priority((KAL_PRIORITY_CLASS20+1), KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(mac_phy_cosim_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_MAC_PHY_COSIM */ |
| /*************************Task MAC PHY COSIM END******************/ |
| |
| /*************************Task L2 HW logging test Begin****************/ |
| #ifdef ATEST_L2_HW_LOGGING |
| /*task_indx_type*/ |
| task_index(INDX_l2_HW_LOGGING_AT) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_l2_HW_LOGGING_AT, MOD_L2_HW_LOGGING_AT) |
| |
| /*task's parameters*/ |
| task_name("L2_HW_LOGGING_AT") |
| task_queue_name("QL2_HW_LOGGING_AT") |
| task_priority((KAL_PRIORITY_CLASS20+1), KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(l2_hw_logging_at_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_L2_HW_LOGGING */ |
| /*************************Task L2 HW logging test END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_DEM |
| task_index(INDX_DT_DEM) |
| task_module_map(INDX_DT_DEM, MOD_DT_DEM) |
| task_name("DTDEM") |
| task_queue_name("DTDEM Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DEM, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(drvtest_dem_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /*ATEST_DRV_DEM*/ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_PFC |
| task_index(INDX_DT_PFC) |
| task_module_map(INDX_DT_PFC, MOD_DT_PFC) |
| task_name("DTPFC") |
| task_queue_name("DTRPFC Q") |
| task_priority(TASK_PRIORITY_DRVTEST_PFC, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_pfc_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_PFC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_UART |
| task_index(INDX_DT_UART) |
| task_module_map(INDX_DT_UART, MOD_DT_UART) |
| task_name("DTUART") |
| task_queue_name("DTUART Q") |
| task_priority(TASK_PRIORITY_DRVTEST_UART, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_uart_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| /*************************Task CFG Begin****************/ |
| task_index(INDX_DT1_UART) |
| task_module_map(INDX_DT1_UART, MOD_DT1_UART) |
| task_name("DTUART1") |
| task_queue_name("DTUART1 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_UART, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_uart_task_create2) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_UART */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_IDC |
| task_index(INDX_DT_IDC) |
| task_module_map(INDX_DT_IDC, MOD_DT_IDC) |
| task_name("DTIDC") |
| task_queue_name("DTIDC Q") |
| task_priority(TASK_PRIORITY_DRVTEST_IDC, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_idc_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(30) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_IDC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_BUSMON |
| task_index(INDX_DT_BUSMON) |
| task_module_map(INDX_DT_BUSMON, MOD_DT_BUSMON) |
| task_name("BUSMON") |
| task_queue_name("BUSMON Q") |
| task_priority(TASK_PRIORITY_DRVTEST_BUSMON, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_busmon_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_BUSMON */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_DORMANT |
| #if defined(__MD95__)/* For all 95 serious only */ |
| //Core0 VPE0 |
| task_index(INDX_DT_DORMANT) |
| task_module_map(INDX_DT_DORMANT, MOD_DT_DORMANT) |
| task_name("0DORMANT") |
| task_queue_name("0DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core0 VPE1 |
| task_index(INDX_DT_DORMANT1) |
| task_module_map(INDX_DT_DORMANT1, MOD_DT_DORMANT1) |
| task_name("1DORMANT") |
| task_queue_name("1DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE1_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core1 VPE0 |
| task_index(INDX_DT_DORMANT2) |
| task_module_map(INDX_DT_DORMANT2, MOD_DT_DORMANT2) |
| task_name("2DORMANT") |
| task_queue_name("2DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create2) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core1 VPE1 |
| task_index(INDX_DT_DORMANT3) |
| task_module_map(INDX_DT_DORMANT3, MOD_DT_DORMANT3) |
| task_name("3DORMANT") |
| task_queue_name("3DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create3) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE3_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #if defined(__MD95_IS_2CORES__) |
| #else/* 95 3 CORE */ |
| //Core2 VPE0 |
| task_index(INDX_DT_DORMANT4) |
| task_module_map(INDX_DT_DORMANT4, MOD_DT_DORMANT4) |
| task_name("4DORMANT") |
| task_queue_name("4DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create4) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE4_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core2 VPE1 |
| task_index(INDX_DT_DORMANT5) |
| task_module_map(INDX_DT_DORMANT5, MOD_DT_DORMANT5) |
| task_name("5DORMANT") |
| task_queue_name("5DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create5) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE5_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| #elif defined(__MD97__) |
| //Core0 VPE0 |
| task_index(INDX_DT_DORMANT) |
| task_module_map(INDX_DT_DORMANT, MOD_DT_DORMANT) |
| task_name("0DORMANT") |
| task_queue_name("0DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core0 VPE1 |
| task_index(INDX_DT_DORMANT1) |
| task_module_map(INDX_DT_DORMANT1, MOD_DT_DORMANT1) |
| task_name("1DORMANT") |
| task_queue_name("1DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE1_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core0 VPE2 |
| task_index(INDX_DT_DORMANT2) |
| task_module_map(INDX_DT_DORMANT2, MOD_DT_DORMANT2) |
| task_name("2DORMANT") |
| task_queue_name("2DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create2) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core1 VPE0 |
| task_index(INDX_DT_DORMANT3) |
| task_module_map(INDX_DT_DORMANT3, MOD_DT_DORMANT3) |
| task_name("3DORMANT") |
| task_queue_name("3DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create3) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE3_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core1 VPE1 |
| task_index(INDX_DT_DORMANT4) |
| task_module_map(INDX_DT_DORMANT4, MOD_DT_DORMANT4) |
| task_name("4DORMANT") |
| task_queue_name("4DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create4) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE4_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core1 VPE2 |
| task_index(INDX_DT_DORMANT5) |
| task_module_map(INDX_DT_DORMANT5, MOD_DT_DORMANT5) |
| task_name("5DORMANT") |
| task_queue_name("5DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create5) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE5_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core2 VPE0 |
| task_index(INDX_DT_DORMANT6) |
| task_module_map(INDX_DT_DORMANT6, MOD_DT_DORMANT6) |
| task_name("6DORMANT") |
| task_queue_name("6DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create6) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE6_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core2 VPE1 |
| task_index(INDX_DT_DORMANT7) |
| task_module_map(INDX_DT_DORMANT7, MOD_DT_DORMANT7) |
| task_name("7DORMANT") |
| task_queue_name("7DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create7) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE7_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core2 VPE2 |
| task_index(INDX_DT_DORMANT8) |
| task_module_map(INDX_DT_DORMANT8, MOD_DT_DORMANT8) |
| task_name("8DORMANT") |
| task_queue_name("8DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create8) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE8_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core3 VPE0 |
| task_index(INDX_DT_DORMANT9) |
| task_module_map(INDX_DT_DORMANT9, MOD_DT_DORMANT9) |
| task_name("9DORMANT") |
| task_queue_name("9DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create9) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE9_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core3 VPE1 |
| task_index(INDX_DT_DORMANT10) |
| task_module_map(INDX_DT_DORMANT10, MOD_DT_DORMANT10) |
| task_name("10DORMANT") |
| task_queue_name("10DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create10) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE10_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //Core3 VPE2 |
| task_index(INDX_DT_DORMANT11) |
| task_module_map(INDX_DT_DORMANT11, MOD_DT_DORMANT11) |
| task_name("11DORMANT") |
| task_queue_name("11DORMANT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DORMANT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dormant_task_create11) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE11_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #else |
| #error "ERROR in Dormant task define in (Drvtest_task_config.h)" |
| #endif |
| #endif /* end of ATEST_DRV_DORMANT */ |
| /*************************Task CFG END******************/ |
| |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_STRESS_TEST |
| task_index(INDX_ST_HIF_CTL) |
| task_module_map(INDX_ST_HIF_CTL, MOD_ST_HIF_CTL) |
| task_name("ST_HIF_CTL") |
| task_queue_name("ST_Q_HIF_CTL") |
| task_priority(KAL_PRIORITY_CLASS5, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_hif_control_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_HIF_DATA) |
| task_module_map(INDX_ST_HIF_DATA, MOD_ST_HIF_DATA) |
| task_name("ST_HIF_DATA") |
| task_queue_name("ST_Q_HIF_DATA") |
| task_priority(KAL_PRIORITY_CLASS5+1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_hif_data_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_MAIN) |
| task_module_map(INDX_ST_MAIN, MOD_ST_MAIN) |
| task_name("ST_MAIN") |
| task_queue_name("ST_Q_M") |
| task_priority(KAL_PRIORITY_CLASS5+5, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dp_lb_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_ZERO) |
| task_module_map(INDX_ST_ZERO, MOD_ST_ZERO) |
| task_name("ST_ZERO") |
| task_queue_name("ST_Q_ZERO") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_ONE) |
| task_module_map(INDX_ST_ONE, MOD_ST_ONE) |
| task_name("ST_ONE") |
| task_queue_name("ST_Q_ONE") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_TWO) |
| task_module_map(INDX_ST_TWO, MOD_ST_TWO) |
| task_name("ST_TWO") |
| task_queue_name("ST_Q_TWO") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_THREE) |
| task_module_map(INDX_ST_THREE, MOD_ST_THREE) |
| task_name("ST_THREE") |
| task_queue_name("ST_Q_THREE") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_FOUR) |
| task_module_map(INDX_ST_FOUR, MOD_ST_FOUR) |
| task_name("ST_FOUR") |
| task_queue_name("ST_Q_FOUR") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_FIVE) |
| task_module_map(INDX_ST_FIVE, MOD_ST_FIVE) |
| task_name("ST_FIVE") |
| task_queue_name("ST_Q_FIVE") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_SIX) |
| task_module_map(INDX_ST_SIX, MOD_ST_SIX) |
| task_name("ST_SIX") |
| task_queue_name("ST_Q_SIX") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_SEVEN) |
| task_module_map(INDX_ST_SEVEN, MOD_ST_SEVEN) |
| task_name("ST_SEVEN") |
| task_queue_name("ST_Q_SEVEN") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_ST_EIGHT) |
| task_module_map(INDX_ST_EIGHT, MOD_ST_EIGHT) |
| task_name("ST_EIGHT") |
| task_queue_name("ST_Q_EIGHT") |
| task_priority(KAL_PRIORITY_CLASS5+2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(stress_test_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #endif /* end of ATEST_STRESS_TEST */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_SLT |
| task_index(INDX_SLT_00) |
| task_module_map(INDX_SLT_00, MOD_ST_00) |
| task_name("SLT_00") |
| task_queue_name("ST_Q_SLT") |
| task_priority((KAL_PRIORITY_CLASS5+100), KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(32*1024) |
| task_create_function(slt_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_SLT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_DSPFM |
| task_index(INDX_DT_DSPFM) |
| task_module_map(INDX_DT_DSPFM, MOD_DT_DSPFM) |
| task_name("DTDSPFM") |
| task_queue_name("DTDSPFM Q") |
| task_priority(TASK_PRIORITY_DRVTEST_DSPFM, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_dspfm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_PFC */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_BSI |
| task_index(INDX_DT_BSI) |
| task_module_map(INDX_DT_BSI, MOD_DT_BSI) |
| task_name("DTBSI") |
| task_queue_name("DTBSI_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_BSI, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_bsi_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_BSI */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_LOG_SEQ |
| task_index(INDX_DT_LOG_SEQ) |
| task_module_map(INDX_DT_LOG_SEQ, MOD_DT_LOG_SEQ) |
| task_name("DT_LOG_SEQ") |
| task_queue_name("DT_LOG_SEQ_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LOG_SEQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_logseq_at_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_LOG_SEQ */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_STP |
| task_index(INDX_DT_STP) |
| task_module_map(INDX_DT_STP, MOD_DT_STP) |
| task_name("DT_STP") |
| task_queue_name("DT_STP_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_STP, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_stp_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_STP */ |
| /*************************Task CFG END******************/ |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_SDF |
| task_index(INDX_DT_SDF0) |
| task_module_map(INDX_DT_SDF0, MOD_DT_SDF0) |
| task_name("DT_SDF0") |
| task_queue_name("DT_SDF0Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SDF, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sdf_task_create_core_0) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #if defined(__MD93__) |
| task_index(INDX_DT_SDF1) |
| task_module_map(INDX_DT_SDF1, MOD_DT_SDF1) |
| task_name("DT_SDF1") |
| task_queue_name("DT_SDF1Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SDF, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sdf_task_create_core_1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif //#if defined(__MD93__) |
| #endif /* end of ATEST_DRV_SDF */ |
| /*************************Task CFG END******************/ |
| /*************************Task MTAD CFG Begin****************/ |
| #ifdef ATEST_DRV_MTAD |
| task_index(INDX_DT_MTAD) |
| task_module_map(INDX_DT_MTAD, MOD_DT_MTAD) |
| task_name("DT_MTAD") |
| task_queue_name("DT_MTAD_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MTAD, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mtad_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_MTAD */ |
| /*************************Task CFG END******************/ |
| /*************************Task MTAD CFG Begin****************/ |
| #ifdef ATEST_DRV_LP |
| task_index(INDX_DT_LP) |
| task_module_map(INDX_DT_LP, MOD_DT_LP) |
| task_name("DT_LP") |
| task_queue_name("DT_LP_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LP, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_lp_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #if defined(__MD93__) |
| task_index(INDX_DT_LP1) |
| task_module_map(INDX_DT_LP1, MOD_DT_LP1) |
| task_name("1DT_LP") |
| task_queue_name("1DT_LP_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LP, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_lp_task_create1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| #endif /* end of ATEST_DRV_LP */ |
| /*************************Task CFG END******************/ |
| /*************************Task MTAD CFG Begin****************/ |
| #ifdef ATEST_DRV_SLEEP_IT |
| // main function |
| task_index(INDX_DT_SLEEP_IT) |
| task_module_map(INDX_DT_SLEEP_IT, MOD_DT_SLEEP_IT) |
| task_name("DT_SLEEP_IT") |
| task_queue_name("DT_SLEEP_IT_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #if 1 |
| task_index(INDX_DT_ILM_CORE0) |
| task_module_map(INDX_DT_ILM_CORE0, MOD_DT_ILM_CORE0) |
| task_name("DT_ILM_CORE0") |
| task_queue_name("DT_ILM_CORE0_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE0, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_ilm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| // ILM for core1 |
| task_index(INDX_DT_ILM_CORE1) |
| task_module_map(INDX_DT_ILM_CORE1, MOD_DT_ILM_CORE1) |
| task_name("DT_ILM_CORE1") |
| task_queue_name("DT_ILM_CORE1_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_ilm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(C1V0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #if defined(__MD95__) |
| // ILM for core2 |
| task_index(INDX_DT_ILM_CORE2) |
| task_module_map(INDX_DT_ILM_CORE2, MOD_DT_ILM_CORE2) |
| task_name("DT_ILM_CORE2") |
| task_queue_name("DT_ILM_CORE2_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_ilm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(C2V0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #elif defined(__MD97__) |
| // ILM for core2 |
| task_index(INDX_DT_ILM_CORE2) |
| task_module_map(INDX_DT_ILM_CORE2, MOD_DT_ILM_CORE2) |
| task_name("DT_ILM_CORE2") |
| task_queue_name("DT_ILM_CORE2_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_ilm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(C2V0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| // ILM for core3 |
| task_index(INDX_DT_ILM_CORE3) |
| task_module_map(INDX_DT_ILM_CORE3, MOD_DT_ILM_CORE3) |
| task_name("DT_ILM_CORE3") |
| task_queue_name("DT_ILM_CORE3_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_ILM_CORE3, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_ilm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(C3V0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| #endif |
| #if 1 |
| // MML2 |
| task_index(INDX_DT_MML2) |
| task_module_map(INDX_DT_MML2, MOD_DT_MML2) |
| task_name("DT_MML2") |
| task_queue_name("DT_MML2_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_MML2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_mml2_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| // MML2 MMU |
| task_index(INDX_DT_MML2_MMU) |
| task_module_map(INDX_DT_MML2_MMU, MOD_DT_MML2_MMU) |
| task_name("DT_MML2_MMU") |
| task_queue_name("DT_MML2_MMU_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_MML2_MMU, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_mml2_mmu_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| #if 1 |
| //USIM |
| task_index(INDX_DT_USIM) |
| task_module_map(INDX_DT_USIM, MOD_DT_USIM) |
| task_name("DTUSIM") |
| task_queue_name("DTUSIM Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_USIM, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(2048) |
| task_create_function(drvtest_sleep_it_usim_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(40) |
| task_internal_queue_size(3) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| #if 1 |
| // USIP |
| task_index(INDX_DT_USIP) |
| task_module_map(INDX_DT_USIP, MOD_DT_USIP) |
| task_name("DT_USIP") |
| task_queue_name("DT_USIP_Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SLEEP_IT_USIP, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_sleep_it_usip_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| #endif /* end of ATEST_DRV_SLEEP_IT */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task SCC CFG Begin****************/ |
| #ifdef ATEST_DRV_SCC |
| task_index(INDX_DT_SCC) |
| task_module_map(INDX_DT_SCC, MOD_DT_SCC) |
| task_name("DT_SCC") |
| task_queue_name("DT_SCC Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SCC, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_scc_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_SCC */ |
| /*************************Task CFG END******************/ |
| /*************************Task COS CFG Begin****************/ |
| #ifdef ATEST_DRV_COS |
| task_index(INDX_DT_COS) |
| task_module_map(INDX_DT_COS, MOD_DT_COS) |
| task_name("DT_COS") |
| task_queue_name("DT_COS Q") |
| task_priority(TASK_PRIORITY_DRVTEST_COS, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(524288) |
| task_create_function(drvtest_cos_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #endif /* end of ATEST_DRV_COS */ |
| |
| /*************************Task CFG END******************/ |
| /*************************Task ECT CFG Begin****************/ |
| #ifdef ATEST_DRV_ECT |
| task_index(INDX_DT_ECT) |
| task_module_map(INDX_DT_ECT, MOD_DT_ECT) |
| task_name("DTECT") |
| task_queue_name("DTECT Q") |
| task_priority(TASK_PRIORITY_DRVTEST_ECT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_ect_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_ECT*/ |
| /*************************Task CFG END******************/ |
| /*************************Task ASM CFG Begin****************/ |
| #ifdef ATEST_DRV_ASM |
| task_index(INDX_DT_ASM) |
| task_module_map(INDX_DT_ASM, MOD_DT_ASM) |
| task_name("DTASM") |
| task_queue_name("DTASM Q") |
| task_priority(TASK_PRIORITY_DRVTEST_ASM, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_asm_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_ASM*/ |
| /*************************Task CFG END******************/ |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_LHIF |
| task_index(INDX_DT_LHIF) |
| task_module_map(INDX_DT_LHIF, MOD_DT_LHIF) |
| task_name("DTLHIF") |
| task_queue_name("DTLHIF Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LHIF, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(lhif_dvt_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_DT_LHIF1) |
| task_module_map(INDX_DT_LHIF1, MOD_DT_LHIF1) |
| task_name("DTLHIF1") |
| task_queue_name("DTLHIF1 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LHIF1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(lhif_dvt_task_create1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_DT_LHIF2) |
| task_module_map(INDX_DT_LHIF2, MOD_DT_LHIF2) |
| task_name("DTLHIF2") |
| task_queue_name("DTLHIF2 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LHIF2, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(lhif_dvt_task_create2) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_DT_LHIF3) |
| task_module_map(INDX_DT_LHIF3, MOD_DT_LHIF3) |
| task_name("DTLHIF3") |
| task_queue_name("DTLHIF3 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LHIF3, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(lhif_dvt_task_create3) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_DT_LHIF4) |
| task_module_map(INDX_DT_LHIF4, MOD_DT_LHIF4) |
| task_name("DTLHIF4") |
| task_queue_name("DTLHIF4 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LHIF4, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(lhif_dvt_task_create4) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| task_index(INDX_DT_LHIF5) |
| task_module_map(INDX_DT_LHIF5, MOD_DT_LHIF5) |
| task_name("DTLHIF5") |
| task_queue_name("DTLHIF5 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_LHIF5, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(lhif_dvt_task_create5) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #endif /* end of ATEST_DRV_LHIF */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_SOE |
| task_index(INDX_DT_SOE) |
| task_module_map(INDX_DT_SOE, MOD_DT_SOE) |
| task_name("DTSOE") |
| task_queue_name("DTSOE Q") |
| task_priority(TASK_PRIORITY_DRVTEST_SOE, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(16384) |
| task_create_function(drvtest_soe_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #if (!defined(__MD95__)) |
| task_index(INDX_DT_SOE1) |
| task_module_map(INDX_DT_SOE1, MOD_DT_SOE1) |
| task_name("DTSOE1") |
| task_queue_name("DTSOE Q1") |
| task_priority(TASK_PRIORITY_DRVTEST_SOE, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(16384) |
| task_create_function(drvtest_soe_task_create1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif |
| |
| #endif /* end of ATEST_DRV_SOE */ |
| /*************************Task CFG END******************/ |
| /*************************Task PCC CFG Begin****************/ |
| #ifdef ATEST_DRV_PCC |
| task_index(INDX_DT_PCC0) |
| task_module_map(INDX_DT_PCC0, MOD_DT_PCC0) |
| task_name("DT_PCC0") |
| task_queue_name("DT_PCC0 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_PCC, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_pcc_task_create_core_0) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| #if defined(__MD93__) |
| task_index(INDX_DT_PCC1) |
| task_module_map(INDX_DT_PCC1, MOD_DT_PCC1) |
| task_name("DT_PCC1") |
| task_queue_name("DT_PCC1 Q") |
| task_priority(TASK_PRIORITY_DRVTEST_PCC, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_pcc_task_create_core_1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif //#if defined(__MD93__) |
| #endif /* end of ATEST_DRV_PCC */ |
| /*************************Task PCC END******************/ |
| |
| #if defined(ATEST_DRV_DPC_ROTUER) || defined(ATEST_DRV_DPC_CIPHER) || defined(ATEST_DRV_DPC_LMAC) || defined(ATEST_DRV_DPC_3G) || defined(ATEST_DRV_DPC_IPF) || defined(ATEST_DRV_DPC_UPP) |
| /*task_indx_type*/ |
| task_index(INDX_DPCOPRO_AT) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DPCOPRO_AT, MOD_DPCOPRO_AT) |
| /*task's parameters*/ |
| task_name("DPCOPRO_AT") |
| task_queue_name("DPCOPRO_AT_Q") |
| task_priority(KAL_PRIORITY_CLASS43, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(dpcopro_at_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(5) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| /*task_indx_type*/ |
| task_index(INDX_ROUTER_AT) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ROUTER_AT, MOD_ROUTER_AT) |
| /*task's parameters*/ |
| task_name("ROUTER_AT") |
| task_queue_name("ROUTER_AT_Q") |
| task_priority(KAL_PRIORITY_CLASS43+1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(router_at_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(5) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| //#if defined(ATEST_DRV_DPC_ROTUER) |
| /*task_indx_type*/ |
| task_index(INDX_DPC_AT_CORE0_TASK) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DPC_AT_CORE0_TASK, MOD_DPC_AT_CORE0_TASK) |
| /*task's parameters*/ |
| task_name("DPC_AT_CORE0_TASK") |
| task_queue_name("DPC_AT_CORE0_TASK_Q") |
| task_priority(KAL_PRIORITY_CLASS43-1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dpc_at_core0_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(5) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| /*task_indx_type*/ |
| task_index(INDX_DPC_AT_CORE1_TASK) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DPC_AT_CORE1_TASK, MOD_DPC_AT_CORE1_TASK) |
| /*task's parameters*/ |
| task_name("DPC_AT_CORE1_TASK") |
| task_queue_name("DPC_AT_CORE1_TASK_Q") |
| task_priority(KAL_PRIORITY_CLASS43-1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dpc_at_core1_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(5) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| /*task_indx_type*/ |
| task_index(INDX_DPC_AT_CORE2_TASK) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DPC_AT_CORE2_TASK, MOD_DPC_AT_CORE2_TASK) |
| /*task's parameters*/ |
| task_name("DPC_AT_CORE2_TASK") |
| task_queue_name("DPC_AT_CORE2_TASK_Q") |
| task_priority(KAL_PRIORITY_CLASS43-1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dpc_at_core2_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(5) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(C2V0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| |
| /*task_indx_type*/ |
| task_index(INDX_DPC_AT_CORE3_TASK) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DPC_AT_CORE3_TASK, MOD_DPC_AT_CORE3_TASK) |
| /*task's parameters*/ |
| task_name("DPC_AT_CORE3_TASK") |
| task_queue_name("DPC_AT_CORE3_TASK_Q") |
| task_priority(KAL_PRIORITY_CLASS43-1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dpc_at_core3_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(5) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(C3V0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* ATEST_DRV_DPC_ROTUER */ |
| |
| /*************************Task CFG END******************/ |
| |
| #ifdef ATEST_DRV_CLDMA_APMD |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATCLDMA_TASK0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATCLDMA_TASK0, MOD_ATCLDMAT0) |
| |
| /*task's parameters*/ |
| task_name("ATCLDMAT0") |
| task_queue_name("QATCLDMAT0") |
| task_priority(TASK_PRIORITY_ATCLDMA_TASK0, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(atcldma_dataflow_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| #endif /*ATEST_DRV_HIF*/ |
| |
| #ifdef ATEST_DRV_CLDMADEV |
| /*************************Task CFG Begin****************/ |
| task_index(INDX_DT_CLDMADEV) |
| task_module_map(INDX_DT_CLDMADEV, MOD_DT_CLDMADEV) |
| task_name("CLDEV") |
| task_queue_name("CLDEV Q") |
| task_priority(TASK_PRIORITY_DRVTEST_CLDMADEV, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(1024) |
| task_create_function(drvtest_cldmadev_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| #endif /* end of ATEST_DRV_CLDMADEV */ |
| |
| |
| #ifdef ATEST_DRV_DPMAIF_AP_FOR_LOOPBACK |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATCLDMA_TASK0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATCLDMA_TASK0, MOD_ATCLDMAT0) |
| |
| /*task's parameters*/ |
| task_name("DPMAIF_AT_TASK0") |
| task_queue_name("QDPMAIF_AT_TASK0") |
| task_priority(TASK_PRIORITY_DRVTEST_DPMAIF, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dpmaif_dvt_dataflow_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| #endif /*ATEST_DRV_DPMAIF_AP_FOR_LOOPBACK*/ |
| |
| #ifdef ATEST_DRV_DPMAIF_AP |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATDPMAIF_TASK0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATDPMAIF_TASK0, MOD_ATCLDMAT0) |
| |
| /*task's parameters*/ |
| task_name("DPMAIF_DVT_TASK0") |
| task_queue_name("QDPMAIF_DVT_TASK0") |
| task_priority(TASK_PRIORITY_DRVTEST_DPMAIF, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(dpmaif_dvt_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATDPMAIF_TASK1) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATDPMAIF_TASK1, MOD_ATCLDMAT1) |
| |
| /*task's parameters*/ |
| task_name("DPMAIF_DVT_TASK1") |
| task_queue_name("QDPMAIF_DVT_TASK1") |
| task_priority(TASK_PRIORITY_DRVTEST_DPMAIF_DATA, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(dpmaif_dvt_dataflow_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| |
| #endif /*ATEST_DRV_DPMAIF_AP*/ |
| |
| #ifdef ATEST_DRV_DPMAIF_UT |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATDPMAIF_TASK0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATDPMAIF_TASK0, MOD_ATCLDMAT0) |
| |
| /*task's parameters*/ |
| task_name("DPMAIF_UT_TASK0") |
| task_queue_name("QDPMAIF_UT_TASK0") |
| task_priority(TASK_PRIORITY_DRVTEST_DPMAIF_UT, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(dpmaif_ut_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| |
| #endif /*ATEST_DRV_DPMAIF_UT*/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_MDCIRQ |
| // Core0 |
| task_index(INDX_DT_MDCIRQ) |
| task_module_map(INDX_DT_MDCIRQ, MOD_DT_MDCIRQ) |
| task_name("0MDCIRQ") |
| task_queue_name("0MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE1 |
| task_index(INDX_DT_MDCIRQ1) |
| task_module_map(INDX_DT_MDCIRQ1, MOD_DT_MDCIRQ1) |
| task_name("1MDCIRQ") |
| task_queue_name("1MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create1) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE1_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE2 |
| task_index(INDX_DT_MDCIRQ2) |
| task_module_map(INDX_DT_MDCIRQ2, MOD_DT_MDCIRQ2) |
| task_name("2MDCIRQ") |
| task_queue_name("2MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create2) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE2_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| // Core1 |
| task_index(INDX_DT_MDCIRQ3) |
| task_module_map(INDX_DT_MDCIRQ3, MOD_DT_MDCIRQ3) |
| task_name("3MDCIRQ") |
| task_queue_name("3MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create3) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE3_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE4 |
| task_index(INDX_DT_MDCIRQ4) |
| task_module_map(INDX_DT_MDCIRQ4, MOD_DT_MDCIRQ4) |
| task_name("4MDCIRQ") |
| task_queue_name("4MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create4) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE4_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE5 |
| task_index(INDX_DT_MDCIRQ5) |
| task_module_map(INDX_DT_MDCIRQ5, MOD_DT_MDCIRQ5) |
| task_name("5MDCIRQ") |
| task_queue_name("5MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create5) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE5_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| // Core2 |
| task_index(INDX_DT_MDCIRQ6) |
| task_module_map(INDX_DT_MDCIRQ6, MOD_DT_MDCIRQ6) |
| task_name("6MDCIRQ") |
| task_queue_name("6MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create6) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE6_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE7 |
| task_index(INDX_DT_MDCIRQ7) |
| task_module_map(INDX_DT_MDCIRQ7, MOD_DT_MDCIRQ7) |
| task_name("7MDCIRQ") |
| task_queue_name("7MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create7) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE7_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE8 |
| task_index(INDX_DT_MDCIRQ8) |
| task_module_map(INDX_DT_MDCIRQ8, MOD_DT_MDCIRQ8) |
| task_name("8MDCIRQ") |
| task_queue_name("8MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create8) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE8_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| // Core3 |
| task_index(INDX_DT_MDCIRQ9) |
| task_module_map(INDX_DT_MDCIRQ9, MOD_DT_MDCIRQ9) |
| task_name("9MDCIRQ") |
| task_queue_name("9MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create9) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE9_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE10 |
| task_index(INDX_DT_MDCIRQ10) |
| task_module_map(INDX_DT_MDCIRQ10, MOD_DT_MDCIRQ10) |
| task_name("10MDCIRQ") |
| task_queue_name("10MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create10) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE10_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| //VPE11 |
| task_index(INDX_DT_MDCIRQ11) |
| task_module_map(INDX_DT_MDCIRQ11, MOD_DT_MDCIRQ11) |
| task_name("11MDCIRQ") |
| task_queue_name("11MDCIRQ Q") |
| task_priority(TASK_PRIORITY_DRVTEST_MDCIRQ, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_mdcirq_task_create11) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE11_RESERVED) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_MDCIRQ */ |
| |
| #ifdef ATEST_DRV_DHL_ULSP |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_DHL_DT0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DHL_DT0, MOD_DHL_DT0) |
| |
| /*task's parameters*/ |
| task_name("DHL_DT0") |
| task_queue_name("QDHL_DT0") |
| task_priority(TASK_PRIORITY_DRVTEST_DHL_DT0, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(drvtest_dhl_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| #ifdef __SLEEP_IT_IDLE__ |
| task_affinity_group(SMP_NORMAL_Group) |
| #else |
| task_affinity_group(VPE0_Group) |
| #endif |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_DHL_DT1) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_DHL_DT1, MOD_DHL_DT1) |
| |
| /*task's parameters*/ |
| task_name("DHL_DT1") |
| task_queue_name("QDHL_DT1") |
| task_priority(TASK_PRIORITY_DRVTEST_DHL_DT1, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(8192) |
| task_create_function(drvtest_dhl_dt1_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| |
| #endif /*ATEST_DRV_DHL_ULSP*/ |
| |
| #ifdef ATEST_DRV_PCIE |
| /*************************Task CFG Begin****************/ |
| /*task_indx_type*/ |
| task_index(INDX_ATHIF_TASK0) |
| /*module_type and mod_task_g*/ |
| task_module_map(INDX_ATHIF_TASK0, MOD_ATHIFT0) |
| |
| /*task's parameters*/ |
| task_name("ATPCIE0") |
| task_queue_name("QATPCIE0") |
| task_priority(TASK_PRIORITY_ATHIF_TASK0, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(atpcie_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(20) |
| task_internal_queue_size(20) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(VPE0_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| /*************************Task CFG END******************/ |
| #endif /*ATEST_DRV_PCIE*/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_CHE |
| task_index(INDX_DT_CHE) |
| task_module_map(INDX_DT_CHE, MOD_DT_CHE) |
| task_name("DTCHE") |
| task_queue_name("DTCHE Q") |
| task_priority(TASK_PRIORITY_DRVTEST_CHE, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_che_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| task_affinity_group(SMP_NORMAL_Group) |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_CHE */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG Begin****************/ |
| #ifdef ATEST_DRV_TIA |
| task_index(INDX_DT_TIA) |
| task_module_map(INDX_DT_TIA, MOD_DT_TIA) |
| task_name("DTTIA") |
| task_queue_name("DTTIA Q") |
| task_priority(TASK_PRIORITY_DRVTEST_TIA, KAL_TASK_INITIAL_PRIORITY) |
| task_stack_size(4096) |
| task_create_function(drvtest_tia_task_create) |
| task_stack_internalRAM(KAL_FALSE) |
| task_external_queue_size(10) |
| task_internal_queue_size(0) |
| task_boot_mode(NORMAL_M) |
| #ifdef MTK_SLEEP_ENABLE |
| task_affinity_group(VPE0_Group) |
| #else |
| task_affinity_group(SMP_NORMAL_Group) |
| #endif |
| task_affinity_group_id(AFFI_GROUP_ID_NONE) |
| #endif /* end of ATEST_DRV_CHE */ |
| /*************************Task CFG END******************/ |
| |
| /*************************Task CFG END******************/ |
| |
| #endif /* end of TASK_PRIORITY_MACRO */ |
| |