FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/riviera/rvm/rvm_use_id_list.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /** | |
2 * @file rvm_use_id_list.h | |
3 * | |
4 * List of common SWE USE IDs. | |
5 * | |
6 * Note on USE ID management: | |
7 * This file should only contain USE ID of SWE part of the standard TI releases. | |
8 * Development SWE as well as customer SWE should use the rvm_ext_use_id_list.h | |
9 * file for their USE IDs. | |
10 * | |
11 * @author David Lamy-Charrier (d-lamy@ti.com) | |
12 * @version 0.1 | |
13 */ | |
14 | |
15 /* | |
16 * Revision History: | |
17 * | |
18 * Date Author Modification | |
19 * ------------------------------------------------------------------- | |
20 * 10/25/2001 David Lamy-Charrier Create. | |
21 * 11/20/2001 Vincent Oberle Added BUILD_MESSAGE_OFFSET. | |
22 * | |
23 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved | |
24 */ | |
25 | |
26 | |
27 #ifndef __RVM_USE_ID_LIST_H_ | |
28 #define __RVM_USE_ID_LIST_H_ | |
29 | |
30 | |
31 /** | |
32 * Macro used to build the use_id from the cust, offset and mask parameters. | |
33 * | |
34 * IMPORTANT: The mask parameter must a 16-bit unsigned integer with only one | |
35 * bit at 1 and others at 0. | |
36 * E.g. possible values are 0x0001, 0x0002, 0x0004, 0x0008, 0x0010... 0x8000. | |
37 */ | |
38 #define BUILD_USE_ID(cust, cluster, mask) ( (cust<<31) | ( (cluster & 0x7FFF) <<16) | (mask & 0xFFFF) ) | |
39 | |
40 /** | |
41 * Macro for building the message offset from the USE ID. | |
42 */ | |
43 #define BUILD_MESSAGE_OFFSET(useid) ( (useid & 0xFFFF0000) + \ | |
44 ((((useid & 0xAAAA) ? 1 : 0) + \ | |
45 ((useid & 0xCCCC) ? 2 : 0) + \ | |
46 ((useid & 0xF0F0) ? 4 : 0) + \ | |
47 ((useid & 0xFF00) ? 8 : 0)) << 12) ) | |
48 | |
49 | |
50 #define RIVIERA_USE_ID_CLUSTER_1 (1) | |
51 | |
52 #define DRIVERS_USE_ID_CLUSTER_1 (10) | |
53 | |
54 #define BLUETOOTH_USE_ID_CLUSTER_1 (20) | |
55 | |
56 #define SERVICES_USE_ID_CLUSTER_1 (30) | |
57 #define SERVICES_USE_ID_CLUSTER_2 (31) | |
58 | |
59 #define TEST_USE_ID_CLUSTER_1 (40) | |
60 | |
61 #define CONDAT_USE_ID_CLUSTER_1 (50) | |
62 | |
63 #define JAVA_USE_ID_CLUSTER_1 (60) | |
64 | |
65 #define TCPIP_USE_ID_CLUSTER_1 (70) | |
66 | |
67 #define OBIGO_USE_ID_CLUSTER_1 (80) | |
68 #define OBIGO_USE_ID_CLUSTER_2 (81) | |
69 | |
70 #define WIDCOMM_BT_USE_ID_CLUSTER_1 (90) | |
71 | |
72 /** | |
73 * @name Widcomm cluster | |
74 * | |
75 * Riviera insfrastructure | |
76 */ | |
77 /*@{*/ | |
78 | |
79 | |
80 #define BTU_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0002) | |
81 #define GKI_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0004) | |
82 #define BTH_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0008) | |
83 #define BTUI_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0010) | |
84 #define RPC_USE_ID BUILD_USE_ID( 0, WIDCOMM_BT_USE_ID_CLUSTER_1, 0x0020) | |
85 /** | |
86 * @name Riviera cluster | |
87 * | |
88 * Riviera insfrastructure | |
89 */ | |
90 /*@{*/ | |
91 | |
92 /* this one is only used for trace purpose */ | |
93 #define RVM_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0001) | |
94 | |
95 #define RVT_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0002) | |
96 | |
97 #define TI_PRF_USE_ID BUILD_USE_ID( 0, RIVIERA_USE_ID_CLUSTER_1, 0x0004) | |
98 | |
99 /*@}*/ | |
100 | |
101 | |
102 | |
103 /** | |
104 * @name Driver cluster | |
105 * | |
106 * Drivers | |
107 */ | |
108 /*@{*/ | |
109 | |
110 #define R2D_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0001) | |
111 | |
112 #define RTC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0002) | |
113 | |
114 #define FFS_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0004) | |
115 | |
116 #define KPD_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0008) | |
117 | |
118 #define SPI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0010) | |
119 | |
120 /* Replacing PWR_USE_ID */ | |
121 #define LCC_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0020) | |
122 | |
123 | |
124 #define RGUI_USE_ID BUILD_USE_ID( 0, DRIVERS_USE_ID_CLUSTER_1, 0x0040) | |
125 | |
126 /*@}*/ | |
127 | |
128 | |
129 | |
130 | |
131 /** | |
132 * @name Bluetooth cluster | |
133 * | |
134 * Bluetooth related SWE | |
135 */ | |
136 /*@{*/ | |
137 | |
138 #define HCI_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0001) | |
139 | |
140 #define L2CAP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0002) | |
141 | |
142 #define BTCTRL_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0004) | |
143 | |
144 #define RFC_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0008) | |
145 | |
146 #define SPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0010) | |
147 | |
148 #define HS_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0020) | |
149 | |
150 #define HSG_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0040) | |
151 | |
152 #define SDP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0080) | |
153 | |
154 #define DUN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0100) | |
155 | |
156 #define FAX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0200) | |
157 | |
158 #define OBX_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0400) | |
159 | |
160 #define OPP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x0800) | |
161 | |
162 #define FTP_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x1000) | |
163 | |
164 #define SYN_USE_ID BUILD_USE_ID( 0, BLUETOOTH_USE_ID_CLUSTER_1, 0x2000) | |
165 | |
166 /*@}*/ | |
167 | |
168 | |
169 | |
170 /** | |
171 * @name Services cluster | |
172 * | |
173 * Services | |
174 */ | |
175 /*@{*/ | |
176 | |
177 #define EXPL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0001) | |
178 | |
179 #define AUDIO_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0002) | |
180 | |
181 #define ETM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0004) | |
182 | |
183 #define DAR_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0008) | |
184 | |
185 #define MKS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0010) | |
186 | |
187 #define MPM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0020) | |
188 | |
189 #define LLS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0040) | |
190 | |
191 #define ATP_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0080) | |
192 | |
193 #define ATP_UART_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0100) | |
194 | |
195 #define MDC_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0200) | |
196 | |
197 #define TTY_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0400) | |
198 | |
199 #define DCM_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x0800) | |
200 | |
201 #define DCFG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) | |
202 | |
203 #define MMS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_1, 0x1000) | |
204 /*@}*/ | |
205 | |
206 | |
207 /** | |
208 * @name Services cluster - 2 | |
209 * | |
210 * Services | |
211 */ | |
212 /*@{*/ | |
213 | |
214 #define MFW_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0001) | |
215 | |
216 #define SMBS_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0002) | |
217 | |
218 #define AUDIO_BGD_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0004) | |
219 | |
220 #define IMG_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0008) | |
221 | |
222 #define MDL_USE_ID BUILD_USE_ID( 0, SERVICES_USE_ID_CLUSTER_2, 0x0010) | |
223 | |
224 /*@}*/ | |
225 | |
226 | |
227 /** | |
228 * @name Test cluster | |
229 * | |
230 * Tests related SWEs | |
231 */ | |
232 /*@{*/ | |
233 | |
234 #define RTEST_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0001) | |
235 | |
236 /* maybe put in another cluster */ | |
237 #define TUT_USE_ID BUILD_USE_ID( 0, TEST_USE_ID_CLUSTER_1, 0x0002) | |
238 | |
239 /*@}*/ | |
240 | |
241 | |
242 /** | |
243 * @name J2ME cluster | |
244 * | |
245 * Java related SWEs | |
246 */ | |
247 /*@{*/ | |
248 | |
249 #define KIL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0001) | |
250 | |
251 #define KGC_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0002) | |
252 | |
253 #define KCL_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0004) | |
254 | |
255 #define KMM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0008) | |
256 | |
257 #define KNM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0010) | |
258 | |
259 #define UVM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0020) | |
260 | |
261 #define KZP_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0040) | |
262 | |
263 #define KPG_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0080) | |
264 | |
265 #define JTM_USE_ID BUILD_USE_ID( 0, JAVA_USE_ID_CLUSTER_1, 0x0100) | |
266 | |
267 /*@}*/ | |
268 | |
269 | |
270 | |
271 /** | |
272 * @name Stack TCP/IP cluster | |
273 * | |
274 * Stack TCP/IP. | |
275 */ | |
276 /*@{*/ | |
277 #define RNET_USE_ID BUILD_USE_ID( 0, TCPIP_USE_ID_CLUSTER_1, 0x0001) | |
278 | |
279 #define RNET_WS_USE_ID BUILD_USE_ID( 0, TCPIP_USE_ID_CLUSTER_1, 0x0002) | |
280 | |
281 #define RNET_RT_USE_ID BUILD_USE_ID( 0, TCPIP_USE_ID_CLUSTER_1, 0x0004) | |
282 | |
283 #define RNET_BR_USE_ID BUILD_USE_ID( 0, TCPIP_USE_ID_CLUSTER_1, 0x0008) | |
284 | |
285 /*@}*/ | |
286 | |
287 | |
288 /** | |
289 * @name Condat cluster | |
290 * | |
291 * Condat related SWEs | |
292 */ | |
293 /*@{*/ | |
294 | |
295 #define CONDAT_FRM_USE_ID BUILD_USE_ID( 0, CONDAT_USE_ID_CLUSTER_1, 0x0001) | |
296 | |
297 | |
298 /*@}*/ | |
299 | |
300 | |
301 | |
302 /** | |
303 * @name Obigo cluster | |
304 * | |
305 * Obigo related SWE's | |
306 */ | |
307 /*@{*/ | |
308 #define MSME_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0001) | |
309 | |
310 #define MSFE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0002) | |
311 | |
312 #define STKE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0004) | |
313 | |
314 #define BRSE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0008) | |
315 | |
316 #define BRAE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0010) | |
317 | |
318 #define PHSE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0020) | |
319 | |
320 #define MMSE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0040) | |
321 | |
322 #define SLSE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0080) | |
323 | |
324 #define SMAE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0100) | |
325 | |
326 #define MEAE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0200) | |
327 | |
328 #define SECE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0400) | |
329 | |
330 #define SELE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x0800) | |
331 | |
332 #define PRSE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x1000) | |
333 | |
334 #define JAAE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x2000) | |
335 | |
336 #define JASE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_1, 0x4000) | |
337 /*@{*/ | |
338 | |
339 | |
340 /** | |
341 * @name Obigo second cluster | |
342 * | |
343 * Obigo related test SWE's | |
344 */ | |
345 #define EMAE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0001) | |
346 | |
347 #define EMSE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0002) | |
348 | |
349 #define IT1E_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0004) | |
350 | |
351 #define IT2E_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0008) | |
352 | |
353 #define IT0E_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0010) | |
354 | |
355 #define UISE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0020) | |
356 | |
357 #define UIAE_USE_ID BUILD_USE_ID( 0, OBIGO_USE_ID_CLUSTER_2, 0x0040) | |
358 /*@{*/ | |
359 | |
360 | |
361 #endif /* __RVM_USE_ID_LIST_H_ */ | |
362 |