FreeCalypso > hg > tcs211-l1-reconst
changeset 21:0ec722728d69
signal_patch_array reconstructed from disassembly, l1_dyn_dwl_afunc.c compiles
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 21 Oct 2015 22:55:18 +0000 |
parents | 13c360a4885f |
children | 3358b8e6922f |
files | chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_afunc.c |
diffstat | 1 files changed, 6 insertions(+), 46 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_afunc.c Wed Oct 21 22:36:52 2015 +0000 +++ b/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_afunc.c Wed Oct 21 22:55:18 2015 +0000 @@ -63,55 +63,15 @@ extern const BOOL incompatibility_matrix[][MAX_NUM_OF_PATCH_IDS]; extern const BOOL semaphore_matrix[][MAX_NUM_OF_SEMAPHORES]; -#if (CODE_VERSION == SIMULATION || ((CHIPSET == 12) || (CHIPSET == 15))) +/* table reconstructed from disassembly of TCS211 binary object */ const T_SIGNAL_PATCH signal_patch_array[NUM_OF_DYN_DWNLD_PRIMITIVES] = { -#if (L1_GTT == 1) - {MMI_GTT_START_REQ, 0}, -#endif // L1_GTT -#if (L1_VOCODER_IF_CHANGE == 1) - {MMI_TCH_VOCODER_CFG_REQ, 1}, -#endif // L1_VOCODER_IF_CHANGE -#if (AUDIO_TASK == 1) -#if (MELODY_E2 == 1) - {MMI_MELODY0_E2_START_REQ, 2}, - {MMI_MELODY1_E2_START_REQ, 3}, -#endif // AUDIO_TASK -#endif // MELODY_E2 -#if (L1_MP3 == 1) - {MMI_MP3_START_REQ, 4}, -#endif // L1_MP3 -#if (AUDIO_TASK == 1) -#if (L1_VOICE_MEMO_AMR == 1) - {MMI_VM_AMR_PLAY_START_REQ, 5}, - {MMI_VM_AMR_RECORD_START_REQ, 6}, -#endif // L1_VOICE_MEMO_AMR -#endif // AUDIO_TASK -#if (L1_AAC == 1) - {MMI_AAC_START_REQ, 7}, -#endif // L1_AAC -#if (L1_PCM_EXTRACTION == 1) - {MMI_PCM_DOWNLOAD_START_REQ, 8}, - {MMI_PCM_UPLOAD_START_REQ, 9} -#endif + {L1C_STOP_DEDICATED_DONE, 0}, + {MPHC_IMMED_ASSIGN_REQ, 2}, + {MMI_MELODY0_E2_START_REQ, 3}, + {MMI_MELODY1_E2_START_REQ, 4}, + {L1_BACK_MELODY_E2_UNLOAD_INSTRUMENT_CON, 5}, }; -#elif (CHIPSET == 10 && BOARD == 35) -const T_SIGNAL_PATCH signal_patch_array[NUM_OF_DYN_DWNLD_PRIMITIVES] = -{ -#if (L1_GTT == 1) - {MMI_GTT_START_REQ, 0}, -#endif // L1_GTT -#if (L1_VOCODER_IF_CHANGE == 1) - {MMI_TCH_VOCODER_CFG_REQ, 1}, -#endif // L1_VOCODER_IF_CHANGE -#if (AUDIO_TASK == 1) -#if (L1_VOICE_MEMO_AMR == 1) - {MMI_VM_AMR_PLAY_START_REQ, 2}, - {MMI_VM_AMR_RECORD_START_REQ, 3} -#endif // L1_VOICE_MEMO_AMR -#endif // AUDIO_TASK -}; -#endif // CHIPSET /* l1_check_flag_for_download_area */