FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/riviera/rvm/rvm_use_id_list.h @ 181:6800c2cc8c51
gsm-fw/riviera/rvm/rvm_use_id_list.h: tab fix
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 24 Nov 2013 02:08:55 +0000 |
parents | afceeeb2cba1 |
children |
comparison
equal
deleted
inserted
replaced
180:59ee5817b194 | 181:6800c2cc8c51 |
---|---|
13 */ | 13 */ |
14 | 14 |
15 /* | 15 /* |
16 * Revision History: | 16 * Revision History: |
17 * | 17 * |
18 * Date Author Modification | 18 * Date Author Modification |
19 * ------------------------------------------------------------------- | 19 * ------------------------------------------------------------------- |
20 * 10/25/2001 David Lamy-Charrier Create. | 20 * 10/25/2001 David Lamy-Charrier Create. |
21 * 11/20/2001 Vincent Oberle Added BUILD_MESSAGE_OFFSET. | 21 * 11/20/2001 Vincent Oberle Added BUILD_MESSAGE_OFFSET. |
22 * | 22 * |
23 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved | 23 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved |
24 */ | 24 */ |
25 | 25 |
26 | 26 |
38 #define BUILD_USE_ID(cust, cluster, mask) ( (cust<<31) | ( (cluster & 0x7FFF) <<16) | (mask & 0xFFFF) ) | 38 #define BUILD_USE_ID(cust, cluster, mask) ( (cust<<31) | ( (cluster & 0x7FFF) <<16) | (mask & 0xFFFF) ) |
39 | 39 |
40 /** | 40 /** |
41 * Macro for building the message offset from the USE ID. | 41 * Macro for building the message offset from the USE ID. |
42 */ | 42 */ |
43 #define BUILD_MESSAGE_OFFSET(useid) ( (useid & 0xFFFF0000) + \ | 43 #define BUILD_MESSAGE_OFFSET(useid) ( (useid & 0xFFFF0000) + \ |
44 ((((useid & 0xAAAA) ? 1 : 0) + \ | 44 ((((useid & 0xAAAA) ? 1 : 0) + \ |
45 ((useid & 0xCCCC) ? 2 : 0) + \ | 45 ((useid & 0xCCCC) ? 2 : 0) + \ |
46 ((useid & 0xF0F0) ? 4 : 0) + \ | 46 ((useid & 0xF0F0) ? 4 : 0) + \ |
47 ((useid & 0xFF00) ? 8 : 0)) << 12) ) | 47 ((useid & 0xFF00) ? 8 : 0)) << 12) ) |
48 | 48 |
49 | 49 |
50 #define RIVIERA_USE_ID_CLUSTER_1 (1) | 50 #define RIVIERA_USE_ID_CLUSTER_1 (1) |
51 | 51 |
52 #define DRIVERS_USE_ID_CLUSTER_1 (10) | 52 #define DRIVERS_USE_ID_CLUSTER_1 (10) |
88 * Riviera insfrastructure | 88 * Riviera insfrastructure |
89 */ | 89 */ |
90 /*@{*/ | 90 /*@{*/ |
91 | 91 |
92 /* this one is only used for trace purpose */ | 92 /* this one is only used for trace purpose */ |
93 #define RVM_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0001) | 93 #define RVM_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0001) |
94 | 94 |
95 #define RVT_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0002) | 95 #define RVT_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0002) |
96 | 96 |
97 #define TI_PRF_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0004) | 97 #define TI_PRF_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0004) |
98 | 98 |
99 /*@}*/ | 99 /*@}*/ |
100 | 100 |
105 * | 105 * |
106 * Drivers | 106 * Drivers |
107 */ | 107 */ |
108 /*@{*/ | 108 /*@{*/ |
109 | 109 |
110 #define R2D_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0001) | 110 #define R2D_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0001) |
111 | 111 |
112 #define RTC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0002) | 112 #define RTC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0002) |
113 | 113 |
114 #define FFS_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0004) | 114 #define FFS_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0004) |
115 | 115 |
116 #define KPD_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0008) | 116 #define KPD_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0008) |
117 | 117 |
118 #define SPI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0010) | 118 #define SPI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0010) |
119 | 119 |
120 /* Replacing PWR_USE_ID */ | 120 /* Replacing PWR_USE_ID */ |
121 #define LCC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) | 121 #define LCC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) |
122 | 122 |
123 | 123 |
124 #define RGUI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0040) | 124 #define RGUI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0040) |
125 | 125 |
126 /*@}*/ | 126 /*@}*/ |
127 | 127 |
128 | 128 |
129 | 129 |
133 * | 133 * |
134 * Bluetooth related SWE | 134 * Bluetooth related SWE |
135 */ | 135 */ |
136 /*@{*/ | 136 /*@{*/ |
137 | 137 |
138 #define HCI_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0001) | 138 #define HCI_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0001) |
139 | 139 |
140 #define L2CAP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0002) | 140 #define L2CAP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0002) |
141 | 141 |
142 #define BTCTRL_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0004) | 142 #define BTCTRL_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0004) |
143 | 143 |
144 #define RFC_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0008) | 144 #define RFC_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0008) |
145 | 145 |
146 #define SPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0010) | 146 #define SPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0010) |
147 | 147 |
148 #define HS_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0020) | 148 #define HS_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0020) |
149 | 149 |
150 #define HSG_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0040) | 150 #define HSG_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0040) |
151 | 151 |
152 #define SDP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0080) | 152 #define SDP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0080) |
153 | 153 |
154 #define DUN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0100) | 154 #define DUN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0100) |
155 | 155 |
156 #define FAX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0200) | 156 #define FAX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0200) |
157 | 157 |
158 #define OBX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0400) | 158 #define OBX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0400) |
159 | 159 |
160 #define OPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0800) | 160 #define OPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0800) |
161 | 161 |
162 #define FTP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x1000) | 162 #define FTP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x1000) |
163 | 163 |
164 #define SYN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x2000) | 164 #define SYN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x2000) |
165 | 165 |
166 /*@}*/ | 166 /*@}*/ |
167 | 167 |
168 | 168 |
169 | 169 |
172 * | 172 * |
173 * Services | 173 * Services |
174 */ | 174 */ |
175 /*@{*/ | 175 /*@{*/ |
176 | 176 |
177 #define EXPL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0001) | 177 #define EXPL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0001) |
178 | 178 |
179 #define AUDIO_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0002) | 179 #define AUDIO_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0002) |
180 | 180 |
181 #define ETM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0004) | 181 #define ETM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0004) |
182 | 182 |
183 #define DAR_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0008) | 183 #define DAR_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0008) |
184 | 184 |
185 #define MKS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0010) | 185 #define MKS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0010) |
186 | 186 |
187 #define MPM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0020) | 187 #define MPM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0020) |
188 | 188 |
189 #define LLS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0040) | 189 #define LLS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0040) |
190 | 190 |
191 #define ATP_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0080) | 191 #define ATP_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0080) |
192 | 192 |
193 #define ATP_UART_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0100) | 193 #define ATP_UART_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0100) |
194 | 194 |
195 #define MDC_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0200) | 195 #define MDC_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0200) |
196 | 196 |
197 #define TTY_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0400) | 197 #define TTY_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0400) |
198 | 198 |
199 #define DCM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0800) | 199 #define DCM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0800) |
200 | 200 |
201 #define DCFG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) | 201 #define DCFG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) |
202 | 202 |
203 #define MMS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) | 203 #define MMS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) |
204 /*@}*/ | 204 /*@}*/ |
205 | 205 |
206 | 206 |
207 /** | 207 /** |
208 * @name Services cluster - 2 | 208 * @name Services cluster - 2 |
209 * | 209 * |
210 * Services | 210 * Services |
211 */ | 211 */ |
212 /*@{*/ | 212 /*@{*/ |
213 | 213 |
214 #define MFW_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0001) | 214 #define MFW_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0001) |
215 | 215 |
216 #define SMBS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0002) | 216 #define SMBS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0002) |
217 | 217 |
218 #define AUDIO_BGD_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0004) | 218 #define AUDIO_BGD_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0004) |
219 | 219 |
220 #define IMG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0008) | 220 #define IMG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0008) |
221 | 221 |
222 #define MDL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0010) | 222 #define MDL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0010) |
223 | 223 |
224 /*@}*/ | 224 /*@}*/ |
225 | 225 |
226 | 226 |
227 /** | 227 /** |
232 /*@{*/ | 232 /*@{*/ |
233 | 233 |
234 #define RTEST_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0001) | 234 #define RTEST_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0001) |
235 | 235 |
236 /* maybe put in another cluster */ | 236 /* maybe put in another cluster */ |
237 #define TUT_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0002) | 237 #define TUT_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0002) |
238 | 238 |
239 /*@}*/ | 239 /*@}*/ |
240 | 240 |
241 | 241 |
242 /** | 242 /** |
244 * | 244 * |
245 * Java related SWEs | 245 * Java related SWEs |
246 */ | 246 */ |
247 /*@{*/ | 247 /*@{*/ |
248 | 248 |
249 #define KIL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0001) | 249 #define KIL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0001) |
250 | 250 |
251 #define KGC_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0002) | 251 #define KGC_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0002) |
252 | 252 |
253 #define KCL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0004) | 253 #define KCL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0004) |
254 | 254 |
255 #define KMM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0008) | 255 #define KMM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0008) |
256 | 256 |
257 #define KNM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0010) | 257 #define KNM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0010) |
258 | 258 |
259 #define UVM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0020) | 259 #define UVM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0020) |
260 | 260 |
261 #define KZP_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0040) | 261 #define KZP_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0040) |
262 | 262 |
263 #define KPG_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0080) | 263 #define KPG_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0080) |
264 | 264 |
265 #define JTM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0100) | 265 #define JTM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0100) |
266 | 266 |
267 /*@}*/ | 267 /*@}*/ |
268 | 268 |
269 | 269 |
270 | 270 |