FreeCalypso > hg > fc-selenite
comparison src/g23m-fad/tcpip/include/rvf_pool_size.h @ 1:d393cd9bb723
src/g23m-*: initial import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 04:40:46 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:b6a5e36de839 | 1:d393cd9bb723 |
---|---|
1 /****************************************************************************/ | |
2 /* */ | |
3 /* Name rvf_pool_size.h */ | |
4 /* */ | |
5 /* Function this file contains definitions for buffer pool sizes */ | |
6 /* */ | |
7 /* */ | |
8 /* */ | |
9 /* */ | |
10 /* Version 0.3 */ | |
11 /* */ | |
12 /* Date Modification */ | |
13 /* ------------------------------------ */ | |
14 /* 4/19/1999 Create */ | |
15 /* 10/27/1999 Remove declaration of ntohs, htons, ntohl, htonl */ | |
16 /* in order to avoid conflict with winsock.h */ | |
17 /* 12/23/1999 Add buffer and memory bank related definition */ | |
18 /* 07/12/2000 Implement dynamic memory allocation. */ | |
19 /* 01/13/2002 Extracted buffer pool size info from rvf_target.h */ | |
20 /* to prevent useless full recompilation when those datas */ | |
21 /* are changed */ | |
22 /* 10/01/2002 Completely reworked in order to be modular */ | |
23 /* */ | |
24 /* Author David Lamy-Charrier (dlamy@tif.ti.com) */ | |
25 /* */ | |
26 /* (C) Copyright 1999 by Texas Instruments Incorporated, All Rights Reserved*/ | |
27 /****************************************************************************/ | |
28 | |
29 #ifndef _RVF_POOL_SIZE_H | |
30 #define _RVF_POOL_SIZE_H | |
31 | |
32 #ifndef _SIMULATION_ | |
33 #include "r2d.cfg" | |
34 #include "rv.cfg" | |
35 #include "debug.cfg" | |
36 #include "board.cfg" | |
37 #include "l1sw.cfg" | |
38 #include "swconfig.cfg" | |
39 #endif | |
40 | |
41 #include "rv_defined_swe.h" | |
42 #if (defined RVM_MDC_SWE) | |
43 #include "mdc.cfg" | |
44 #endif | |
45 | |
46 /* | |
47 * Defines the memory pools used by each Riviera SWE | |
48 * | |
49 * In case of new SWE (i.e. called NEW), use the following template: | |
50 * | |
51 * #ifdef RVM_NEW_SWE | |
52 * | |
53 * #define RVF_NEW_STACK_SIZE (Stack_size) | |
54 * #define RVF_NEW_MB1_SIZE (MB1_size) | |
55 * #define RVF_NEW_MB2_SIZE (MB2_size) | |
56 * #define RVF_NEW_MB3_SIZE (MB3_size) | |
57 * | |
58 * #define RVF_NEW_POOL_SIZE (RVF_NEW_STACK_SIZE + \ | |
59 * RVF_NEW_MB1_SIZE + RVF_NEW_MB2_SIZE + RVF_NEW_MB3_SIZE) | |
60 * #else | |
61 * #define RVF_NEW_POOL_SIZE (0) | |
62 * #endif | |
63 * | |
64 | |
65 * | |
66 * ATP SWE | |
67 */ | |
68 | |
69 #ifdef RVM_ATP_SWE | |
70 /* | |
71 * Values used in atp_config.h | |
72 */ | |
73 #define RVF_ATP_MB1_SIZE (5000) | |
74 #define RVF_ATP_POOL_SIZE (RVF_ATP_MB1_SIZE) | |
75 #else | |
76 #define RVF_ATP_POOL_SIZE (0) | |
77 #endif | |
78 | |
79 /* | |
80 * ATP_UART SWE | |
81 */ | |
82 | |
83 #ifdef RVM_ATP_UART_SWE | |
84 /* | |
85 * Values used in atp_uart_env.h | |
86 */ | |
87 #define RVF_ATP_UART_STACK_SIZE (1024) | |
88 #define RVF_ATP_UART_MB1_SIZE (1024) | |
89 #define RVF_ATP_UART_POOL_SIZE (RVF_ATP_UART_STACK_SIZE + RVF_ATP_UART_MB1_SIZE) | |
90 #else | |
91 #define RVF_ATP_UART_POOL_SIZE (0) | |
92 #endif | |
93 | |
94 /* | |
95 * AUDIO SWE and background | |
96 */ | |
97 | |
98 #ifdef RVM_AUDIO_MAIN_SWE | |
99 /* | |
100 * Values used in audio_env_i.h | |
101 */ | |
102 #define RVF_AUDIO_STACK_SIZE (1280) | |
103 #define RVF_AUDIO_MB1_SIZE (512) | |
104 #define RVF_AUDIO_MB2_SIZE (768) | |
105 | |
106 #if (GSMLITE) | |
107 #define RVF_AUDIO_MB3_SIZE (0) | |
108 #elif (SPEECH_RECO) | |
109 #define RVF_AUDIO_MB3_SIZE (7382) | |
110 #else | |
111 #define RVF_AUDIO_MB3_SIZE (2048) | |
112 #endif | |
113 | |
114 #define RVF_AUDIO_POOL_SIZE (RVF_AUDIO_STACK_SIZE + \ | |
115 RVF_AUDIO_MB1_SIZE + RVF_AUDIO_MB2_SIZE + RVF_AUDIO_MB3_SIZE) | |
116 #else | |
117 #define RVF_AUDIO_POOL_SIZE (0) | |
118 #endif | |
119 | |
120 #ifdef RVM_AUDIO_BGD_SWE | |
121 /* | |
122 * Values used in audio_env_i.h | |
123 */ | |
124 #define RVF_AUDIO_BGD_STACK_SIZE (512) | |
125 #define RVF_AUDIO_BGD_MB1_SIZE (256) | |
126 | |
127 #define RVF_AUDIO_BGD_POOL_SIZE (RVF_AUDIO_BGD_STACK_SIZE + \ | |
128 RVF_AUDIO_BGD_MB1_SIZE) | |
129 #else | |
130 #define RVF_AUDIO_BGD_POOL_SIZE (0) | |
131 #endif | |
132 | |
133 /* | |
134 * BTCTRL SWE | |
135 */ | |
136 | |
137 #ifdef RVM_BTCTRL_SWE | |
138 /* | |
139 * Values used in btctrl_env.h | |
140 */ | |
141 #define RVF_BTCTRL_STACK_SIZE (2000) | |
142 #define RVF_BTCTRL_MB1_SIZE (5000) | |
143 #define RVF_BTCTRL_POOL_SIZE (RVF_BTCTRL_STACK_SIZE + RVF_BTCTRL_MB1_SIZE) | |
144 #else | |
145 #define RVF_BTCTRL_POOL_SIZE (0) | |
146 #endif | |
147 | |
148 /* | |
149 * DAR SWE | |
150 */ | |
151 | |
152 #ifdef RVM_DAR_SWE | |
153 /* | |
154 * Values used in dar_env.h | |
155 */ | |
156 #define RVF_DAR_STACK_SIZE (1024) | |
157 #define RVF_DAR_MB1_SIZE (512) | |
158 #define RVF_DAR_POOL_SIZE (RVF_DAR_STACK_SIZE + RVF_DAR_MB1_SIZE) | |
159 #else | |
160 #define RVF_DAR_POOL_SIZE (0) | |
161 #endif | |
162 | |
163 /* | |
164 * DEV1 SWE | |
165 */ | |
166 | |
167 #ifdef RVM_DEV1_SWE | |
168 /* | |
169 * Values used in dev1_env.h | |
170 */ | |
171 #define RVF_DEV1_STACK_SIZE (2000) | |
172 #define RVF_DEV1_MB1_SIZE (5000) | |
173 #define RVF_DEV1_POOL_SIZE (RVF_DEV1_STACK_SIZE + RVF_DEV1_MB1_SIZE) | |
174 #else | |
175 #define RVF_DEV1_POOL_SIZE (0) | |
176 #endif | |
177 | |
178 /* | |
179 * DEV2 SWE | |
180 */ | |
181 | |
182 #ifdef RVM_DEV2_SWE | |
183 /* | |
184 * Values used in dev2_env.h | |
185 */ | |
186 #define RVF_DEV2_STACK_SIZE (2000) | |
187 #define RVF_DEV2_MB1_SIZE (5000) | |
188 #define RVF_DEV2_POOL_SIZE (RVF_DEV2_STACK_SIZE + RVF_DEV2_MB1_SIZE) | |
189 #else | |
190 #define RVF_DEV2_POOL_SIZE (0) | |
191 #endif | |
192 | |
193 /* | |
194 * DEV3 SWE | |
195 */ | |
196 | |
197 #ifdef RVM_DEV3_SWE | |
198 /* | |
199 * Values used in dev3_env.h | |
200 */ | |
201 #define RVF_DEV3_STACK_SIZE (2000) | |
202 #define RVF_DEV3_MB1_SIZE (5000) | |
203 #define RVF_DEV3_POOL_SIZE (RVF_DEV3_STACK_SIZE + RVF_DEV3_MB1_SIZE) | |
204 #else | |
205 #define RVF_DEV3_POOL_SIZE (0) | |
206 #endif | |
207 | |
208 /* | |
209 * DUN_GW SWE | |
210 */ | |
211 | |
212 #ifdef RVM_DUN_GW_SWE | |
213 /* | |
214 * Values used in dun_GW_env.h | |
215 */ | |
216 #define RVF_DUN_GW_STACK_SIZE (1024) | |
217 #define RVF_DUN_GW_MB1_SIZE (1024) | |
218 #define RVF_DUN_GW_MB2_SIZE (4096) | |
219 #define RVF_DUN_GW_MB3_SIZE (4096) | |
220 #define RVF_DUN_GW_POOL_SIZE (RVF_DUN_GW_STACK_SIZE + \ | |
221 RVF_DUN_GW_MB1_SIZE + RVF_DUN_GW_MB2_SIZE + RVF_DUN_GW_MB3_SIZE) | |
222 #else | |
223 #define RVF_DUN_GW_POOL_SIZE (0) | |
224 #endif | |
225 | |
226 /* | |
227 * ETM SWE | |
228 */ | |
229 | |
230 #ifdef RVM_ETM_SWE | |
231 /* | |
232 * Values used in etm_env.h | |
233 */ | |
234 #define RVF_ETM_STACK_SIZE (1024) | |
235 #define RVF_ETM_MB1_SIZE (2048) | |
236 #define RVF_ETM_POOL_SIZE (RVF_ETM_STACK_SIZE + RVF_ETM_MB1_SIZE) | |
237 #else | |
238 #define RVF_ETM_POOL_SIZE (0) | |
239 #endif | |
240 | |
241 /* | |
242 * EXPL SWE | |
243 */ | |
244 | |
245 #ifdef RVM_EXPL_SWE | |
246 /* | |
247 * Values used in expl_env.h | |
248 */ | |
249 #define RVF_EXPL_STACK_SIZE (2000) | |
250 #define RVF_EXPL_MB1_SIZE (5000) | |
251 #define RVF_EXPL_POOL_SIZE (RVF_EXPL_STACK_SIZE + RVF_EXPL_MB1_SIZE) | |
252 #else | |
253 #define RVF_EXPL_POOL_SIZE (0) | |
254 #endif | |
255 | |
256 /* | |
257 * FAX_GW SWE | |
258 */ | |
259 | |
260 #ifdef RVM_FAX_GW_SWE | |
261 /* | |
262 * Values used in fax_GW_env.h | |
263 */ | |
264 #define RVF_FAX_GW_STACK_SIZE (1024) | |
265 #define RVF_FAX_GW_MB1_SIZE (1024) | |
266 #define RVF_FAX_GW_MB2_SIZE (4096) | |
267 #define RVF_FAX_GW_MB3_SIZE (4096) | |
268 #define RVF_FAX_GW_POOL_SIZE (RVF_FAX_GW_STACK_SIZE + \ | |
269 RVF_FAX_GW_MB1_SIZE + RVF_FAX_GW_MB2_SIZE + RVF_FAX_GW_MB3_SIZE) | |
270 #else | |
271 #define RVF_FAX_GW_POOL_SIZE (0) | |
272 #endif | |
273 | |
274 /* | |
275 * FFS SWE | |
276 */ | |
277 | |
278 #ifdef RVM_FFS_SWE | |
279 /* | |
280 * Values used in ffs_env.h | |
281 */ | |
282 #define RVF_FFS_STACK_SIZE (512) | |
283 | |
284 #if (!GSMLITE) | |
285 #define RVF_FFS_MB1_SIZE (8192) | |
286 #else | |
287 #define RVF_FFS_MB1_SIZE (4096) | |
288 #endif | |
289 | |
290 #define RVF_FFS_POOL_SIZE (RVF_FFS_STACK_SIZE + RVF_FFS_MB1_SIZE) | |
291 #else | |
292 #define RVF_FFS_POOL_SIZE (0) | |
293 #endif | |
294 | |
295 /* | |
296 * FTP SWE | |
297 */ | |
298 | |
299 #ifdef RVM_FTP_SWE | |
300 /* | |
301 * Values used in ftp_env.h | |
302 */ | |
303 #define RVF_FTP_STACK_SIZE (4000) | |
304 #define RVF_FTP_MB1_SIZE (5000) | |
305 #define RVF_FTP_MB2_SIZE (5000) | |
306 #define RVF_FTP_MB3_SIZE (5000) | |
307 #define RVF_FTP_POOL_SIZE (RVF_FTP_STACK_SIZE + \ | |
308 RVF_FTP_MB1_SIZE + RVF_FTP_MB2_SIZE + RVF_FTP_MB3_SIZE) | |
309 #else | |
310 #define RVF_FTP_POOL_SIZE (0) | |
311 #endif | |
312 | |
313 /* | |
314 * HCI SWE | |
315 */ | |
316 | |
317 #ifdef RVM_HCI_SWE | |
318 /* | |
319 * Values used in hci_env.h | |
320 */ | |
321 #define RVF_HCI_MB1_SIZE (10000) | |
322 #define RVF_HCI_MB2_SIZE (10000) | |
323 #define RVF_HCI_POOL_SIZE (RVF_HCI_MB1_SIZE + RVF_HCI_MB2_SIZE) | |
324 #else | |
325 #define RVF_HCI_POOL_SIZE (0) | |
326 #endif | |
327 | |
328 /* | |
329 * HS SWE | |
330 */ | |
331 | |
332 #ifdef RVM_HS_SWE | |
333 /* | |
334 * Values used in hs_config.h | |
335 */ | |
336 #define RVF_HS_STACK_SIZE (1000) | |
337 #define RVF_HS_MB1_SIZE (5000) | |
338 #define RVF_HS_MB2_SIZE (5000) | |
339 #define RVF_HS_MB3_SIZE (5000) | |
340 #define RVF_HS_POOL_SIZE (RVF_HS_STACK_SIZE + \ | |
341 RVF_HS_MB1_SIZE + RVF_HS_MB2_SIZE + RVF_HS_MB3_SIZE) | |
342 #else | |
343 #define RVF_HS_POOL_SIZE (0) | |
344 #endif | |
345 | |
346 /* | |
347 * HSG SWE | |
348 */ | |
349 | |
350 #ifdef RVM_HSG_SWE | |
351 /* | |
352 * Values used in hsg_config.h | |
353 */ | |
354 #define RVF_HSG_STACK_SIZE (1000) | |
355 #define RVF_HSG_MB1_SIZE (5000) | |
356 #define RVF_HSG_MB2_SIZE (5000) | |
357 #define RVF_HSG_MB3_SIZE (5000) | |
358 #define RVF_HSG_POOL_SIZE (RVF_HSG_STACK_SIZE + \ | |
359 RVF_HSG_MB1_SIZE + RVF_HSG_MB2_SIZE + RVF_HSG_MB3_SIZE) | |
360 #else | |
361 #define RVF_HSG_POOL_SIZE (0) | |
362 #endif | |
363 | |
364 /* | |
365 * KCL SWE | |
366 */ | |
367 | |
368 #ifdef RVM_KCL_SWE | |
369 /* | |
370 * Values used in kcl_env.h | |
371 */ | |
372 #define RVF_KCL_MB1_SIZE (500) | |
373 #define RVF_KCL_POOL_SIZE (RVF_KCL_MB1_SIZE) | |
374 #else | |
375 #define RVF_KCL_POOL_SIZE (0) | |
376 #endif | |
377 | |
378 /* | |
379 * KGC SWE | |
380 */ | |
381 | |
382 #ifdef RVM_KGC_SWE | |
383 /* | |
384 * Values used in kgc_env.h | |
385 */ | |
386 #define RVF_KGC_MB1_SIZE (500) | |
387 #define RVF_KGC_POOL_SIZE (RVF_KGC_MB1_SIZE) | |
388 #else | |
389 #define RVF_KGC_POOL_SIZE (0) | |
390 #endif | |
391 | |
392 /* | |
393 * KIL SWE | |
394 */ | |
395 | |
396 #ifdef RVM_KIL_SWE | |
397 /* | |
398 * Values used in kil_env.h | |
399 */ | |
400 #define RVF_KIL_MB1_SIZE (500) | |
401 #define RVF_KIL_POOL_SIZE (RVF_KIL_MB1_SIZE) | |
402 #else | |
403 #define RVF_KIL_POOL_SIZE (0) | |
404 #endif | |
405 | |
406 /* | |
407 * KMM SWE | |
408 */ | |
409 | |
410 #ifdef RVM_KMM_SWE | |
411 /* | |
412 * Values used in kmm_env.h | |
413 */ | |
414 #define RVF_KMM_MB1_SIZE (500) | |
415 #define RVF_KMM_POOL_SIZE (RVF_KMM_MB1_SIZE) | |
416 #else | |
417 #define RVF_KMM_POOL_SIZE (0) | |
418 #endif | |
419 | |
420 /* | |
421 * KNM SWE | |
422 */ | |
423 | |
424 #ifdef RVM_KNM_SWE | |
425 /* | |
426 * Values used in knm_env.h | |
427 */ | |
428 #define RVF_KNM_MB1_SIZE (500) | |
429 #define RVF_KNM_POOL_SIZE (RVF_KNM_MB1_SIZE) | |
430 #else | |
431 #define RVF_KNM_POOL_SIZE (0) | |
432 #endif | |
433 | |
434 /* | |
435 * KPD SWE | |
436 */ | |
437 | |
438 #ifdef RVM_KPD_SWE | |
439 /* | |
440 * Values used in kpd_env.h | |
441 */ | |
442 #define RVF_KPD_STACK_SIZE (1000) | |
443 | |
444 #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9)) | |
445 #define RVF_KPD_MB1_SIZE (716) | |
446 #elif ((BOARD == 34) || (BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43)) | |
447 #define RVF_KPD_MB1_SIZE (788) | |
448 #elif defined _WINDOWS | |
449 #define RVF_KPD_MB1_SIZE (788) | |
450 #endif /* BOARD */ | |
451 | |
452 #define RVF_KPD_POOL_SIZE (RVF_KPD_STACK_SIZE + RVF_KPD_MB1_SIZE) | |
453 #else | |
454 #define RVF_KPD_POOL_SIZE (0) | |
455 #endif | |
456 | |
457 /* | |
458 * KPG SWE | |
459 */ | |
460 | |
461 #ifdef RVM_KPG_SWE | |
462 /* | |
463 * Values used in kpg_env.h | |
464 */ | |
465 #define RVF_KPG_MB1_SIZE (500) | |
466 #define RVF_KPG_POOL_SIZE (RVF_KPG_MB1_SIZE) | |
467 #else | |
468 #define RVF_KPG_POOL_SIZE (0) | |
469 #endif | |
470 | |
471 /* | |
472 * KZP SWE | |
473 */ | |
474 | |
475 #ifdef RVM_KZP_SWE | |
476 /* | |
477 * Values used in kzp_env.h | |
478 */ | |
479 #define RVF_KZP_MB1_SIZE (500) | |
480 #define RVF_KZP_POOL_SIZE (RVF_KZP_MB1_SIZE) | |
481 #else | |
482 #define RVF_KZP_POOL_SIZE (0) | |
483 #endif | |
484 | |
485 /* | |
486 * L2CAP SWE | |
487 */ | |
488 | |
489 #ifdef RVM_L2CAP_SWE | |
490 /* | |
491 * Values used in l2cap_env.h | |
492 */ | |
493 #define RVF_L2CAP_STACK_SIZE (1024) | |
494 #define RVF_L2CAP_MB1_SIZE (3072) | |
495 #define RVF_L2CAP_MB2_SIZE (2048) | |
496 #define RVF_L2CAP_MB3_SIZE (1024) | |
497 #define RVF_L2CAP_POOL_SIZE (RVF_L2CAP_STACK_SIZE + \ | |
498 RVF_L2CAP_MB1_SIZE + RVF_L2CAP_MB2_SIZE + RVF_L2CAP_MB3_SIZE) | |
499 #else | |
500 #define RVF_L2CAP_POOL_SIZE (0) | |
501 #endif | |
502 | |
503 /* | |
504 * LLS SWE | |
505 */ | |
506 | |
507 #ifdef RVM_LLS_SWE | |
508 /* | |
509 * Values used in lls_env.h | |
510 */ | |
511 #define RVF_LLS_MB1_SIZE (50) | |
512 #define RVF_LLS_POOL_SIZE (RVF_LLS_MB1_SIZE) | |
513 #else | |
514 #define RVF_LLS_POOL_SIZE (0) | |
515 #endif | |
516 | |
517 /* | |
518 * MKS SWE | |
519 */ | |
520 | |
521 #ifdef RVM_MKS_SWE | |
522 /* | |
523 * Values used in mks_env.h | |
524 */ | |
525 #define RVF_MKS_STACK_SIZE (500) | |
526 #define RVF_MKS_MB1_SIZE (500) | |
527 #define RVF_MKS_POOL_SIZE (RVF_MKS_STACK_SIZE + RVF_MKS_MB1_SIZE) | |
528 #else | |
529 #define RVF_MKS_POOL_SIZE (0) | |
530 #endif | |
531 | |
532 /* | |
533 * MPM SWE | |
534 */ | |
535 | |
536 #ifdef RVM_MPM_SWE | |
537 /* | |
538 * Values used in mpm_env.h | |
539 */ | |
540 #define RVF_MPM_STACK_SIZE (2000) | |
541 #define RVF_MPM_MB1_SIZE (100000) | |
542 #define RVF_MPM_POOL_SIZE (RVF_MPM_STACK_SIZE + RVF_MPM_MB1_SIZE) | |
543 #else | |
544 #define RVF_MPM_POOL_SIZE (0) | |
545 #endif | |
546 | |
547 /* | |
548 * OBX SWE | |
549 */ | |
550 | |
551 #ifdef RVM_OBX_SWE | |
552 /* | |
553 * Values used in obx_env.h | |
554 */ | |
555 #define RVF_OBX_STACK_SIZE (2000) | |
556 #define RVF_OBX_MB1_SIZE (3000) | |
557 #define RVF_OBX_MB2_SIZE (2000) | |
558 #define RVF_OBX_MB3_SIZE (1500) | |
559 #define RVF_OBX_POOL_SIZE (RVF_OBX_STACK_SIZE + \ | |
560 RVF_OBX_MB1_SIZE + RVF_OBX_MB2_SIZE + RVF_OBX_MB3_SIZE) | |
561 #else | |
562 #define RVF_OBX_POOL_SIZE (0) | |
563 #endif | |
564 | |
565 /* | |
566 * OPP SWE | |
567 */ | |
568 | |
569 #ifdef RVM_OPP_SWE | |
570 /* | |
571 * Values used in opp_env.h | |
572 */ | |
573 #define RVF_OPP_STACK_SIZE (2000) | |
574 #define RVF_OPP_MB1_SIZE (1500) | |
575 #define RVF_OPP_MB2_SIZE (1500) | |
576 #define RVF_OPP_MB3_SIZE (1500) | |
577 #define RVF_OPP_POOL_SIZE (RVF_OPP_STACK_SIZE + \ | |
578 RVF_OPP_MB1_SIZE + RVF_OPP_MB2_SIZE + RVF_OPP_MB3_SIZE) | |
579 #else | |
580 #define RVF_OPP_POOL_SIZE (0) | |
581 #endif | |
582 | |
583 /* | |
584 * PWR SWE | |
585 */ | |
586 | |
587 #ifdef RVM_PWR_SWE | |
588 /* | |
589 * Values used in pwr_env.h | |
590 */ | |
591 #define RVF_PWR_MB1_SIZE (1000) | |
592 #define RVF_PWR_POOL_SIZE (RVF_PWR_MB1_SIZE) | |
593 | |
594 #else | |
595 #define RVF_PWR_POOL_SIZE (0) | |
596 #endif | |
597 | |
598 /* | |
599 * R2D SWE | |
600 */ | |
601 | |
602 #ifdef RVM_R2D_SWE | |
603 /* | |
604 * Values used in r2d_env.h (Stack) & r2d_inits.c (Memory Banks) | |
605 */ | |
606 #define RVF_R2D_STACK_SIZE (1000) | |
607 | |
608 #if (R2D_LCD_TEST == 1) | |
609 #if defined (_WINDOWS) | |
610 #define RVF_R2D_MB1_SIZE (4000) | |
611 #else | |
612 #define RVF_R2D_MB1_SIZE (3000) | |
613 #endif | |
614 #elif ((BOARD == 7) || (BOARD == 8) || (BOARD == 9)) | |
615 /* #if ((R2D_EMBEDDED_LCD == R2D_MIRRORED_LCD) || (R2D_EMBEDDED_LCD == R2D_SIMPLE_LCD)) */ | |
616 #define RVF_R2D_MB1_SIZE (2000) /* B or C-Sample with B&W LCD (default setting) */ | |
617 /* #elif (R2D_EMBEDDED_LCD == R2D_BOARD_COLOR_LCD) */ | |
618 /* #define RVF_R2D_MB1_SIZE (3000) */ /* C-Sample with Color LCD */ | |
619 #elif ((BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43)) | |
620 /* #elif ((R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE) || (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE)) */ | |
621 #define RVF_R2D_MB1_SIZE (4000) /* D-Sample */ | |
622 #elif defined (_WINDOWS) | |
623 /* #elif (R2D_EMBEDDED_LCD == R2D_PC_COLOR_LCD) */ | |
624 #define RVF_R2D_MB1_SIZE (4000) /* ColorPC */ | |
625 /* #elif (R2D_EMBEDDED_LCD == R2D_PC_CSAMPLE) */ | |
626 /* #define RVF_R2D_MB1_SIZE (XXXX) */ | |
627 /* #elif (R2D_EMBEDDED_LCD == R2D_PC_DSAMPLE) */ | |
628 /* #define RVF_R2D_MB1_SIZE (XXXX) */ | |
629 /* #elif (R2D_EMBEDDED_LCD == R2D_CUSTOMER_LCD) */ | |
630 /* #define RVF_R2D_MB1_SIZE (XXXX) */ | |
631 /* #elif (R2D_EMBEDDED_LCD == R2D_HORIZONTAL_LCD) */ | |
632 /* #define RVF_R2D_MB1_SIZE (XXXX) */ | |
633 #endif | |
634 | |
635 #define RVF_R2D_POOL_SIZE (RVF_R2D_STACK_SIZE + RVF_R2D_MB1_SIZE) | |
636 #else | |
637 #define RVF_R2D_POOL_SIZE (0) | |
638 #endif | |
639 | |
640 /* | |
641 * RFCOMM SWE | |
642 */ | |
643 | |
644 #ifdef RVM_RFCOMM_SWE | |
645 /* | |
646 * Values used in rfc_env.h | |
647 */ | |
648 #define RVF_RFCOMM_STACK_SIZE (1024) | |
649 #define RVF_RFCOMM_MB1_SIZE (5000) | |
650 #define RVF_RFCOMM_MB2_SIZE (5000) | |
651 /* Memory Bank created dynamically */ | |
652 /* #define RVF_RFCOMM_MB3_SIZE (To Be defined) */ | |
653 #define RVF_RFCOMM_POOL_SIZE (RVF_RFCOMM_STACK_SIZE + \ | |
654 RVF_RFCOMM_MB1_SIZE + RVF_RFCOMM_MB2_SIZE) | |
655 /* RVF_RFCOMM_MB1_SIZE + RVF_RFCOMM_MB2_SIZE + RVF_RFCOMM_MB3_SIZE) */ | |
656 #else | |
657 #define RVF_RFCOMM_POOL_SIZE (0) | |
658 #endif | |
659 | |
660 /* | |
661 * RGUI SWE | |
662 */ | |
663 | |
664 #ifdef RVM_RGUI_SWE | |
665 /* | |
666 * Values used in rgui_env.c | |
667 */ | |
668 #define RVF_RGUI_STACK_SIZE (8000) | |
669 #define RVF_RGUI_MB1_SIZE (9000) | |
670 #define RVF_RGUI_POOL_SIZE (RVF_RGUI_STACK_SIZE + RVF_RGUI_MB1_SIZE) | |
671 #else | |
672 #define RVF_RGUI_POOL_SIZE (0) | |
673 #endif | |
674 | |
675 /* | |
676 * RNET SWE | |
677 */ | |
678 | |
679 #ifdef RVM_RNET_SWE | |
680 /* | |
681 * Values used in rnet_env.h | |
682 */ | |
683 #define RVF_RNET_MB1_SIZE (500) | |
684 #define RVF_RNET_POOL_SIZE (RVF_RNET_MB1_SIZE) | |
685 #else | |
686 #define RVF_RNET_POOL_SIZE (0) | |
687 #endif | |
688 | |
689 /* | |
690 * RNET_BR SWE | |
691 */ | |
692 | |
693 #ifdef RVM_RNET_BR_SWE | |
694 /* | |
695 * Values used in rnet_br_env.h | |
696 */ | |
697 #define RVF_RNET_BR_MB1_SIZE (8000) | |
698 #define RVF_RNET_BR_POOL_SIZE (RVF_RNET_BR_MB1_SIZE) | |
699 #else | |
700 #define RVF_RNET_BR_POOL_SIZE (0) | |
701 #endif | |
702 | |
703 /* | |
704 * RNET_RT SWE | |
705 */ | |
706 | |
707 #ifdef RVM_RNET_RT_SWE | |
708 /* | |
709 * Values used in rnet_rt_env.h | |
710 */ | |
711 #define RVF_RNET_RT_STACK_SIZE (2048) //21/02/03 : 2048 initially | |
712 #define RVF_RNET_RT_MB1_BUFPOOL_SIZE (65536) | |
713 #define RVF_RNET_RT_MB1_MSGPOOL_SIZE (512) | |
714 #define RVF_RNET_RT_MB1_VARIABLE_SIZE (30000) // initially 20000 | |
715 #define RVF_RNET_RT_POOL_SIZE (RVF_RNET_RT_STACK_SIZE + \ | |
716 RVF_RNET_RT_MB1_BUFPOOL_SIZE + \ | |
717 RVF_RNET_RT_MB1_MSGPOOL_SIZE + \ | |
718 RVF_RNET_RT_MB1_VARIABLE_SIZE) | |
719 #else | |
720 #define RVF_RNET_RT_POOL_SIZE (0) | |
721 #endif | |
722 | |
723 /* | |
724 * RNET_WS SWE | |
725 */ | |
726 | |
727 #ifdef RVM_RNET_WS_SWE | |
728 /* | |
729 * Values used in rnet_ws_env.h | |
730 */ | |
731 #define RVF_RNET_WS_STACK_SIZE (2000) | |
732 #define RVF_RNET_WS_MB1_SIZE (5000) | |
733 #define RVF_RNET_WS_POOL_SIZE (RVF_RNET_WS_STACK_SIZE + RVF_RNET_WS_MB1_SIZE) | |
734 #else | |
735 #define RVF_RNET_WS_POOL_SIZE (0) | |
736 #endif | |
737 | |
738 /* | |
739 * DCM SWE | |
740 */ | |
741 | |
742 #ifdef RVM_DCM_SWE | |
743 /* | |
744 * Values used in dcm_env.h | |
745 */ | |
746 | |
747 #define RVF_DCM_STACK_SIZE (1024) // old one : 1024 | |
748 #define RVF_DCM_MB1_SIZE (2048) | |
749 #define RVF_DCM_POOL_SIZE (RVF_DCM_STACK_SIZE + RVF_DCM_MB1_SIZE) | |
750 #else | |
751 #define RVF_DCM_POOL_SIZE (0) | |
752 #endif | |
753 | |
754 /* | |
755 * RTC SWE | |
756 */ | |
757 | |
758 #ifdef RVM_RTC_SWE | |
759 /* | |
760 * Values used in rtc_env.h | |
761 */ | |
762 #define RVF_RTC_STACK_SIZE (700) | |
763 #define RVF_RTC_MB1_SIZE (100) | |
764 #define RVF_RTC_POOL_SIZE (RVF_RTC_STACK_SIZE + RVF_RTC_MB1_SIZE) | |
765 #else | |
766 #define RVF_RTC_POOL_SIZE (0) | |
767 #endif | |
768 | |
769 /* | |
770 * RTEST SWE | |
771 */ | |
772 | |
773 #ifdef RVM_RTEST_SWE | |
774 /* | |
775 * Values used in rtest_env.h | |
776 */ | |
777 #define RVF_RTEST_STACK_SIZE (1024) | |
778 #define RVF_RTEST_MB1_SIZE (190000) // + 550000) //190000 | |
779 #define RVF_RTEST_POOL_SIZE (RVF_RTEST_STACK_SIZE + RVF_RTEST_MB1_SIZE) | |
780 #else | |
781 #define RVF_RTEST_POOL_SIZE (0) | |
782 #endif | |
783 | |
784 /* | |
785 * RVM SWE; This SWE is of course always enabled. | |
786 * | |
787 * Values used in rvm_i.h | |
788 */ | |
789 #define RVF_RVM_STACK_SIZE (1500) | |
790 | |
791 #if (defined BLUETOOTH) || (defined TEST) || (TI_PROFILER == 1) || (TI_NUC_MONITOR == 1) | |
792 #define RVF_RVM_MB1_SIZE (10000) | |
793 #else | |
794 #if (GSMLITE) | |
795 #define RVF_RVM_MB1_SIZE (1000) | |
796 #else | |
797 #define RVF_RVM_MB1_SIZE (3000) | |
798 #endif | |
799 #endif | |
800 #define RVF_RVM_MB2_SIZE (500) | |
801 | |
802 #if (GSMLITE) | |
803 #define RVF_RVM_MB3_SIZE (2700) | |
804 #define RVF_RVM_MB4_SIZE (0) | |
805 #define RVF_RVM_MB5_SIZE (0) | |
806 #define RVF_RVM_COMPENSATOR_POOL_SIZE (500) | |
807 #else | |
808 #define RVF_RVM_MB3_SIZE (6000) | |
809 #define RVF_RVM_MB4_SIZE (3000) | |
810 #define RVF_RVM_MB5_SIZE (3000) | |
811 #define RVF_RVM_COMPENSATOR_POOL_SIZE (12500) | |
812 #endif | |
813 | |
814 #define RVF_RVM_POOL_SIZE (RVF_RVM_STACK_SIZE + RVF_RVM_MB1_SIZE + \ | |
815 RVF_RVM_MB2_SIZE + RVF_RVM_MB3_SIZE + \ | |
816 RVF_RVM_MB4_SIZE + RVF_RVM_MB5_SIZE +\ | |
817 RVF_RVM_COMPENSATOR_POOL_SIZE ) | |
818 | |
819 /* | |
820 * SDP SWE | |
821 */ | |
822 | |
823 #ifdef RVM_SDP_SWE | |
824 /* | |
825 * Values used in sdp_env.h | |
826 */ | |
827 #define RVF_SDP_STACK_SIZE (1024) | |
828 #define RVF_SDP_MB1_SIZE (4096) | |
829 #define RVF_SDP_MB2_SIZE (1024) | |
830 #define RVF_SDP_MB3_SIZE (1024) | |
831 #define RVF_SDP_POOL_SIZE (RVF_SDP_STACK_SIZE + \ | |
832 RVF_SDP_MB1_SIZE + RVF_SDP_MB2_SIZE + RVF_SDP_MB3_SIZE) | |
833 #else | |
834 #define RVF_SDP_POOL_SIZE (0) | |
835 #endif | |
836 | |
837 /* | |
838 * SPI SWE | |
839 */ | |
840 | |
841 #ifdef RVM_SPI_SWE | |
842 /* | |
843 * Values used in spi_env.h | |
844 */ | |
845 #define RVF_SPI_STACK_SIZE (1000) | |
846 #define RVF_SPI_MB1_SIZE (256) | |
847 #define RVF_SPI_POOL_SIZE (RVF_SPI_STACK_SIZE + RVF_SPI_MB1_SIZE) | |
848 #else | |
849 #define RVF_SPI_POOL_SIZE (0) | |
850 #endif | |
851 | |
852 /* | |
853 * SPP SWE | |
854 */ | |
855 | |
856 #ifdef RVM_SPP_SWE | |
857 /* | |
858 * Values used in spp_env.h | |
859 */ | |
860 #define RVF_SPP_STACK_SIZE (1024) | |
861 #define RVF_SPP_MB1_SIZE (5000) | |
862 #define RVF_SPP_POOL_SIZE (RVF_SPP_STACK_SIZE + RVF_SPP_MB1_SIZE) | |
863 #else | |
864 #define RVF_SPP_POOL_SIZE (0) | |
865 #endif | |
866 | |
867 /* | |
868 * SYN SWE | |
869 */ | |
870 | |
871 #ifdef RVM_SYN_SWE | |
872 /* | |
873 * Values used in syn_env.h | |
874 */ | |
875 #define RVF_SYN_STACK_SIZE (2000) | |
876 #define RVF_SYN_MB1_SIZE (5000) | |
877 #define RVF_SYN_MB2_SIZE (5000) | |
878 #define RVF_SYN_MB3_SIZE (5000) | |
879 #define RVF_SYN_POOL_SIZE (RVF_SYN_STACK_SIZE + \ | |
880 RVF_SYN_MB1_SIZE + RVF_SYN_MB2_SIZE + RVF_SYN_MB3_SIZE) | |
881 #else | |
882 #define RVF_SYN_POOL_SIZE (0) | |
883 #endif | |
884 | |
885 /* | |
886 * TI_PRF SWE | |
887 */ | |
888 | |
889 #ifdef RVM_TI_PRF_SWE | |
890 /* | |
891 * Values used in ti_profiler_env.h | |
892 */ | |
893 #define RVF_TI_PRF_STACK_SIZE (1000) | |
894 | |
895 #if (TI_NUC_MONITOR == 1) | |
896 #define RVF_TI_PRF_MB1_SIZE (1080000) | |
897 #else | |
898 #define RVF_TI_PRF_MB1_SIZE (400) | |
899 #endif | |
900 | |
901 #define RVF_TI_PRF_POOL_SIZE (RVF_TI_PRF_STACK_SIZE + RVF_TI_PRF_MB1_SIZE) | |
902 #else | |
903 #define RVF_TI_PRF_POOL_SIZE (0) | |
904 #endif | |
905 | |
906 /* | |
907 * TRACE SWE | |
908 */ | |
909 | |
910 #ifdef RVM_RVT_SWE | |
911 /* | |
912 * Values used in rvt_def_i.h | |
913 */ | |
914 #define RVF_TRACE_STACK_SIZE (512) | |
915 | |
916 #ifdef TEST | |
917 #define RVF_TRACE_MB1_SIZE (25000) | |
918 #elif (!GSMLITE) | |
919 #define RVF_TRACE_MB1_SIZE (5000) | |
920 #else | |
921 #define RVF_TRACE_MB1_SIZE (4000) | |
922 #endif | |
923 | |
924 #define RVF_TRACE_POOL_SIZE (RVF_TRACE_STACK_SIZE + RVF_TRACE_MB1_SIZE) | |
925 #else | |
926 #define RVF_TRACE_POOL_SIZE (0) | |
927 #endif | |
928 | |
929 /* | |
930 * TUT SWE | |
931 */ | |
932 | |
933 #ifdef RVM_TUT_SWE | |
934 /* | |
935 * Values used in tut_env.h | |
936 */ | |
937 #define RVF_TUT_STACK_SIZE (1024) | |
938 #define RVF_TUT_MB1_SIZE (512) | |
939 #define RVF_TUT_POOL_SIZE (RVF_TUT_STACK_SIZE + RVF_TUT_MB1_SIZE) | |
940 #else | |
941 #define RVF_TUT_POOL_SIZE (0) | |
942 #endif | |
943 | |
944 /* | |
945 * UVM SWE | |
946 */ | |
947 | |
948 #ifdef RVM_UVM_SWE | |
949 /* | |
950 * Values used in uvm_env.h | |
951 */ | |
952 #define RVF_UVM_STACK_SIZE (20000) | |
953 #define RVF_UVM_MB1_SIZE (350000) | |
954 #define RVF_UVM_MB2_SIZE (800000) | |
955 #define RVF_UVM_MB3_SIZE (250000) | |
956 #define RVF_UVM_POOL_SIZE (RVF_UVM_STACK_SIZE + \ | |
957 RVF_UVM_MB1_SIZE + RVF_UVM_MB2_SIZE + RVF_UVM_MB3_SIZE) | |
958 #else | |
959 #define RVF_UVM_POOL_SIZE (0) | |
960 #endif | |
961 | |
962 /* | |
963 * JTM SWE | |
964 */ | |
965 | |
966 #ifdef RVM_JTM_SWE | |
967 /* | |
968 * Values used in jtm_env.h | |
969 */ | |
970 #define RVF_JTM_STACK_SIZE (4096) | |
971 #define RVF_JTM_MB1_SIZE (30000) | |
972 #define RVF_JTM_POOL_SIZE (RVF_JTM_STACK_SIZE + RVF_JTM_MB1_SIZE) | |
973 #else | |
974 #define RVF_JTM_POOL_SIZE (0) | |
975 #endif | |
976 | |
977 /* | |
978 * MDC SWE | |
979 */ | |
980 | |
981 #ifdef RVM_MDC_SWE | |
982 /* | |
983 * Values used in mdc_env.h | |
984 */ | |
985 | |
986 #ifdef MIDI_PLAYER | |
987 #define RVF_MDC_MB1_SIZE (24000) | |
988 #elif defined IMEL_PLAYER | |
989 #define RVF_MDC_MB1_SIZE (4000) | |
990 #elif defined DGP_PLAYER | |
991 #define RVF_MDC_MB1_SIZE (4000) | |
992 #endif | |
993 | |
994 #define RVF_MDC_POOL_SIZE (RVF_MDC_MB1_SIZE) | |
995 #else | |
996 #define RVF_MDC_POOL_SIZE (0) | |
997 #endif | |
998 | |
999 /* | |
1000 * TTY SWE | |
1001 */ | |
1002 | |
1003 #ifdef RVM_TTY_SWE | |
1004 /* | |
1005 * Values used in tty_env.h | |
1006 */ | |
1007 #define RVF_TTY_STACK_SIZE (2000) | |
1008 #define RVF_TTY_MB1_SIZE (5300) | |
1009 #define RVF_TTY_POOL_SIZE (RVF_TTY_STACK_SIZE + \ | |
1010 RVF_TTY_MB1_SIZE) | |
1011 #else | |
1012 #define RVF_TTY_POOL_SIZE (0) | |
1013 #endif | |
1014 | |
1015 /* | |
1016 * Obigo SWEs | |
1017 */ | |
1018 /* MSFE SWE */ | |
1019 #ifdef RVM_MSFE_SWE | |
1020 #define RVF_MSFE_STACK_SIZE (512) | |
1021 #define RVF_MSFE_MB1_SIZE (25000) | |
1022 #define RVF_MSFE_POOL_SIZE (RVF_MSFE_STACK_SIZE + RVF_MSFE_MB1_SIZE) | |
1023 #else | |
1024 #define RVF_MSFE_POOL_SIZE (0) | |
1025 #endif | |
1026 /* MSME SWE */ | |
1027 #ifdef RVM_MSME_SWE | |
1028 #define RVF_MSME_STACK_SIZE (512) | |
1029 #define RVF_MSME_MB1_SIZE (20000) | |
1030 #define RVF_MSME_POOL_SIZE (RVF_MSME_STACK_SIZE + RVF_MSME_MB1_SIZE) | |
1031 #else | |
1032 #define RVF_MSME_POOL_SIZE (0) | |
1033 #endif | |
1034 /* STKE SWE */ | |
1035 #ifdef RVM_STKE_SWE | |
1036 #define RVF_STKE_STACK_SIZE (512) | |
1037 #define RVF_STKE_MB1_SIZE (20000) | |
1038 #define RVF_STKE_POOL_SIZE (RVF_STKE_STACK_SIZE + RVF_STKE_MB1_SIZE) | |
1039 #else | |
1040 #define RVF_STKE_POOL_SIZE (0) | |
1041 #endif | |
1042 /* BRSE SWE */ | |
1043 #ifdef RVM_BRSE_SWE | |
1044 #define RVF_BRSE_STACK_SIZE (512) | |
1045 #define RVF_BRSE_MB1_SIZE (75000) | |
1046 #define RVF_BRSE_POOL_SIZE (RVF_BRSE_STACK_SIZE + RVF_BRSE_MB1_SIZE) | |
1047 #else | |
1048 #define RVF_BRSE_POOL_SIZE (0) | |
1049 #endif | |
1050 /* BRAE SWE */ | |
1051 #ifdef RVM_BRAE_SWE | |
1052 #define RVF_BRAE_STACK_SIZE (512) | |
1053 #define RVF_BRAE_MB1_SIZE (10000) | |
1054 #define RVF_BRAE_POOL_SIZE (RVF_BRAE_STACK_SIZE + RVF_BRAE_MB1_SIZE) | |
1055 #else | |
1056 #define RVF_BRAE_POOL_SIZE (0) | |
1057 #endif | |
1058 /* IT1E SWE */ | |
1059 #ifdef RVM_IT1E_SWE | |
1060 #define RVF_IT1E_STACK_SIZE (512) | |
1061 #define RVF_IT1E_MB1_SIZE (512) | |
1062 #define RVF_IT1E_POOL_SIZE (RVF_IT1E_STACK_SIZE + RVF_IT1E_MB1_SIZE) | |
1063 #else | |
1064 #define RVF_IT1E_POOL_SIZE (0) | |
1065 #endif | |
1066 /* IT2E SWE */ | |
1067 #ifdef RVM_IT2E_SWE | |
1068 #define RVF_IT2E_STACK_SIZE (512) | |
1069 #define RVF_IT2E_MB1_SIZE (512) | |
1070 #define RVF_IT2E_POOL_SIZE (RVF_IT2E_STACK_SIZE + RVF_IT2E_MB1_SIZE) | |
1071 #else | |
1072 #define RVF_IT2E_POOL_SIZE (0) | |
1073 #endif | |
1074 | |
1075 /* | |
1076 * MFW SWE | |
1077 */ | |
1078 #ifdef RVM_MFW_SWE | |
1079 /* | |
1080 * Values used in mfw_env.h | |
1081 */ | |
1082 #define RVF_MFW_STACK_SIZE (2000) | |
1083 #define RVF_MFW_MB1_SIZE (125000) | |
1084 #define RVF_MFW_POOL_SIZE (RVF_MFW_STACK_SIZE + \ | |
1085 RVF_MFW_MB1_SIZE) | |
1086 #else | |
1087 #define RVF_MFW_POOL_SIZE (0) | |
1088 #endif | |
1089 | |
1090 /* | |
1091 * SMBS SWE | |
1092 */ | |
1093 | |
1094 #ifdef RVM_SMBS_SWE | |
1095 /* | |
1096 * Values used in smbs_env.h | |
1097 */ | |
1098 #define RVF_SMBS_STACK_SIZE (5000) | |
1099 #define RVF_SMBS_MB1_SIZE (10000) | |
1100 #define RVF_SMBS_POOL_SIZE (RVF_SMBS_STACK_SIZE + \ | |
1101 RVF_SMBS_MB1_SIZE) | |
1102 #else | |
1103 #define RVF_SMBS_POOL_SIZE (0) | |
1104 #endif | |
1105 | |
1106 /* define the memory pools used by the RVF */ | |
1107 | |
1108 /* define RVF_NB_POOLS to 1 or 2 if you want to use 2 buffers in RAM, | |
1109 for example 1 in internal RAM, 1 in external RAM */ | |
1110 #define RVF_NB_POOLS 1 | |
1111 | |
1112 /* 500 corresponds to a "hard-coded" value for RVM_STACKS Memory Bank defined in rvm_i.h */ | |
1113 #define RVF_POOL_0_SIZE (RVF_ATP_POOL_SIZE + RVF_ATP_UART_POOL_SIZE + RVF_AUDIO_POOL_SIZE + \ | |
1114 RVF_BTCTRL_POOL_SIZE + RVF_DAR_POOL_SIZE + RVF_DEV1_POOL_SIZE + \ | |
1115 RVF_DEV2_POOL_SIZE + RVF_DEV3_POOL_SIZE + RVF_DUN_GW_POOL_SIZE + \ | |
1116 RVF_ETM_POOL_SIZE + RVF_EXPL_POOL_SIZE + RVF_FAX_GW_POOL_SIZE + \ | |
1117 RVF_FFS_POOL_SIZE + RVF_FTP_POOL_SIZE + RVF_HCI_POOL_SIZE + \ | |
1118 RVF_HS_POOL_SIZE + RVF_HSG_POOL_SIZE + RVF_KCL_POOL_SIZE + \ | |
1119 RVF_KGC_POOL_SIZE + RVF_KIL_POOL_SIZE + RVF_KMM_POOL_SIZE + \ | |
1120 RVF_KNM_POOL_SIZE + RVF_KPD_POOL_SIZE + RVF_KPG_POOL_SIZE + \ | |
1121 RVF_KZP_POOL_SIZE + RVF_L2CAP_POOL_SIZE + RVF_LLS_POOL_SIZE + \ | |
1122 RVF_MKS_POOL_SIZE + RVF_TTY_POOL_SIZE + RVF_MPM_POOL_SIZE + \ | |
1123 RVF_OBX_POOL_SIZE + RVF_OPP_POOL_SIZE + RVF_PWR_POOL_SIZE + \ | |
1124 RVF_R2D_POOL_SIZE + RVF_RFCOMM_POOL_SIZE + RVF_RGUI_POOL_SIZE + \ | |
1125 RVF_RNET_POOL_SIZE + RVF_RNET_BR_POOL_SIZE + RVF_MDC_POOL_SIZE + \ | |
1126 RVF_RNET_RT_POOL_SIZE + RVF_RNET_WS_POOL_SIZE + RVF_RTC_POOL_SIZE + \ | |
1127 RVF_RTEST_POOL_SIZE + RVF_RVM_POOL_SIZE + RVF_SDP_POOL_SIZE + \ | |
1128 RVF_SPI_POOL_SIZE + RVF_SPP_POOL_SIZE + RVF_SYN_POOL_SIZE + \ | |
1129 RVF_TI_PRF_POOL_SIZE + RVF_TRACE_POOL_SIZE + RVF_TUT_POOL_SIZE + \ | |
1130 RVF_UVM_POOL_SIZE + RVF_JTM_POOL_SIZE + RVF_DCM_POOL_SIZE + \ | |
1131 RVF_MSFE_POOL_SIZE + RVF_MSME_POOL_SIZE + RVF_STKE_POOL_SIZE + \ | |
1132 RVF_BRSE_POOL_SIZE + RVF_IT1E_POOL_SIZE + RVF_IT2E_POOL_SIZE + \ | |
1133 RVF_BRAE_POOL_SIZE + RVF_MFW_POOL_SIZE + RVF_SMBS_POOL_SIZE + \ | |
1134 RVF_AUDIO_BGD_POOL_SIZE ) | |
1135 | |
1136 #if (RVF_NB_POOLS > 1 ) | |
1137 #define RVF_POOL_1_SIZE 0 | |
1138 #endif | |
1139 | |
1140 /* define the memory usage ratio */ | |
1141 /* e.g. the ratio between the sum of the memory banks sizes and the memory available in the system */ | |
1142 /* for example: 90 for 90 % to be sure to always satisfy memory requests*/ | |
1143 /* 120 for 120 % to optimize memory usage */ | |
1144 #define RVF_MEM_USAGE_RATIO 100 | |
1145 | |
1146 #endif /* _RVF_POOL_SIZE_H */ | |
1147 |