FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_afunc.c @ 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 |
comparison
equal
deleted
inserted
replaced
20:13c360a4885f | 21:0ec722728d69 |
---|---|
61 | 61 |
62 extern const BOOL primitives_to_patch_matrix[][MAX_NUM_OF_PATCH_IDS]; | 62 extern const BOOL primitives_to_patch_matrix[][MAX_NUM_OF_PATCH_IDS]; |
63 extern const BOOL incompatibility_matrix[][MAX_NUM_OF_PATCH_IDS]; | 63 extern const BOOL incompatibility_matrix[][MAX_NUM_OF_PATCH_IDS]; |
64 extern const BOOL semaphore_matrix[][MAX_NUM_OF_SEMAPHORES]; | 64 extern const BOOL semaphore_matrix[][MAX_NUM_OF_SEMAPHORES]; |
65 | 65 |
66 #if (CODE_VERSION == SIMULATION || ((CHIPSET == 12) || (CHIPSET == 15))) | 66 /* table reconstructed from disassembly of TCS211 binary object */ |
67 const T_SIGNAL_PATCH signal_patch_array[NUM_OF_DYN_DWNLD_PRIMITIVES] = | 67 const T_SIGNAL_PATCH signal_patch_array[NUM_OF_DYN_DWNLD_PRIMITIVES] = |
68 { | 68 { |
69 #if (L1_GTT == 1) | 69 {L1C_STOP_DEDICATED_DONE, 0}, |
70 {MMI_GTT_START_REQ, 0}, | 70 {MPHC_IMMED_ASSIGN_REQ, 2}, |
71 #endif // L1_GTT | 71 {MMI_MELODY0_E2_START_REQ, 3}, |
72 #if (L1_VOCODER_IF_CHANGE == 1) | 72 {MMI_MELODY1_E2_START_REQ, 4}, |
73 {MMI_TCH_VOCODER_CFG_REQ, 1}, | 73 {L1_BACK_MELODY_E2_UNLOAD_INSTRUMENT_CON, 5}, |
74 #endif // L1_VOCODER_IF_CHANGE | |
75 #if (AUDIO_TASK == 1) | |
76 #if (MELODY_E2 == 1) | |
77 {MMI_MELODY0_E2_START_REQ, 2}, | |
78 {MMI_MELODY1_E2_START_REQ, 3}, | |
79 #endif // AUDIO_TASK | |
80 #endif // MELODY_E2 | |
81 #if (L1_MP3 == 1) | |
82 {MMI_MP3_START_REQ, 4}, | |
83 #endif // L1_MP3 | |
84 #if (AUDIO_TASK == 1) | |
85 #if (L1_VOICE_MEMO_AMR == 1) | |
86 {MMI_VM_AMR_PLAY_START_REQ, 5}, | |
87 {MMI_VM_AMR_RECORD_START_REQ, 6}, | |
88 #endif // L1_VOICE_MEMO_AMR | |
89 #endif // AUDIO_TASK | |
90 #if (L1_AAC == 1) | |
91 {MMI_AAC_START_REQ, 7}, | |
92 #endif // L1_AAC | |
93 #if (L1_PCM_EXTRACTION == 1) | |
94 {MMI_PCM_DOWNLOAD_START_REQ, 8}, | |
95 {MMI_PCM_UPLOAD_START_REQ, 9} | |
96 #endif | |
97 }; | 74 }; |
98 #elif (CHIPSET == 10 && BOARD == 35) | |
99 const T_SIGNAL_PATCH signal_patch_array[NUM_OF_DYN_DWNLD_PRIMITIVES] = | |
100 { | |
101 #if (L1_GTT == 1) | |
102 {MMI_GTT_START_REQ, 0}, | |
103 #endif // L1_GTT | |
104 #if (L1_VOCODER_IF_CHANGE == 1) | |
105 {MMI_TCH_VOCODER_CFG_REQ, 1}, | |
106 #endif // L1_VOCODER_IF_CHANGE | |
107 #if (AUDIO_TASK == 1) | |
108 #if (L1_VOICE_MEMO_AMR == 1) | |
109 {MMI_VM_AMR_PLAY_START_REQ, 2}, | |
110 {MMI_VM_AMR_RECORD_START_REQ, 3} | |
111 #endif // L1_VOICE_MEMO_AMR | |
112 #endif // AUDIO_TASK | |
113 }; | |
114 #endif // CHIPSET | |
115 | 75 |
116 | 76 |
117 /* l1_check_flag_for_download_area */ | 77 /* l1_check_flag_for_download_area */ |
118 /* Parameters : Signal Code of the message | 78 /* Parameters : Signal Code of the message |
119 // Return : none | 79 // Return : none |