comparison src/cs/riviera/rvf/rvf_pool_size.h @ 0:945cf7f506b2

src/cs: chipsetsw import from tcs211-fcmodem binary blobs and LCD demo files have been excluded, all line endings are LF only
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 22:50:11 +0000
parents
children 3f3c98f8b85d
comparison
equal deleted inserted replaced
-1:000000000000 0:945cf7f506b2
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 /* 07/08/2003 Rework */
24 /* */
25 /* Author David Lamy-Charrier (dlamy@tif.ti.com) */
26 /* */
27 /* (C) Copyright 1999 by Texas Instruments Incorporated, All Rights Reserved*/
28 /****************************************************************************/
29
30 #ifndef _RVF_POOL_SIZE_H
31 #define _RVF_POOL_SIZE_H
32
33 #ifndef _WINDOWS
34 #include "config/r2d.cfg"
35 #include "config/rv.cfg"
36 #include "config/debug.cfg"
37 #include "config/board.cfg"
38 #include "config/l1sw.cfg"
39 #include "config/swconfig.cfg"
40 #endif
41
42 #include "rv/rv_defined_swe.h"
43 #include "config/mdc.cfg"
44
45
46 /*
47 * RPC SWE
48 */
49 #ifdef RVM_RPC_SWE
50 #include "widcomm/rpc/rpc_pool_size.h"
51 #define RVF_RPC_POOL_SIZE (RPC_POOL_SIZE)
52 #else
53 #define RVF_RPC_POOL_SIZE (0)
54 #endif
55
56 /*
57 * BTA SWE
58 */
59 #ifdef RVM_BTA_SWE
60 #include "widcomm/bta/bta_pool_size.h"
61 #define RVF_BTA_POOL_SIZE (BTA_POOL_SIZE)
62 #else
63 #define RVF_BTA_POOL_SIZE (0)
64 #endif
65
66 /*
67 * BTU SWE
68 */
69 #ifdef RVM_BTU_SWE
70 #include "widcomm/btu/btu_pool_size.h"
71 #define RVF_BTU_POOL_SIZE (BTU_POOL_SIZE)
72 #else
73 #define RVF_BTU_POOL_SIZE (0)
74 #endif
75
76 /*
77 * BTUI SWE
78 */
79 #ifdef RVM_BTUI_SWE
80 #include "widcomm/btui/btui_pool_size.h"
81 #define RVF_BTUI_POOL_SIZE (BTUI_POOL_SIZE)
82 #else
83 #define RVF_BTUI_POOL_SIZE (0)
84 #endif
85
86 /*
87 * BTH SWE
88 */
89 #ifdef RVM_BTH_SWE
90 #include "widcomm/hci/pc/bth/bth_pool_size.h"
91 #define RVF_BTH_POOL_SIZE (BTU_POOL_SIZE)
92 #else
93 #define RVF_BTH_POOL_SIZE (0)
94 #endif
95
96 /*
97 * GKI SWE
98 */
99 #ifdef RVM_GKI_SWE
100 #include "widcomm/gki/gki_pool_size.h"
101 #define RVF_GKI_POOL_SIZE (GKI_POOL_SIZE)
102 #else
103 #define RVF_GKI_POOL_SIZE (0)
104 #endif
105
106 /*
107 * HCI SWE
108 */
109 #ifdef RVM_HCI_SWE
110 #include "widcomm/hci/hci_pool_size.h"
111 #define RVF_HCI_POOL_SIZE (HCI_POOL_SIZE)
112 #else
113 #define RVF_HCI_POOL_SIZE (0)
114 #endif
115
116
117
118 /*
119 * ATP SWE
120 */
121 #ifdef RVM_ATP_SWE
122 #include "atp/atp_pool_size.h"
123 #define RVF_ATP_POOL_SIZE (ATP_POOL_SIZE)
124 #else
125 #define RVF_ATP_POOL_SIZE (0)
126 #endif
127
128 /*
129 * ATP_UART SWE
130 */
131 #ifdef RVM_ATP_UART_SWE
132 #include "atp/atp_pool_size.h"
133 #define RVF_ATP_UART_POOL_SIZE (ATP_UART_POOL_SIZE)
134 #else
135 #define RVF_ATP_UART_POOL_SIZE (0)
136 #endif
137
138 /*
139 * AUDIO SWE and background
140 */
141 #ifdef RVM_AUDIO_MAIN_SWE
142 #include "audio/audio_pool_size.h"
143 #define RVF_AUDIO_POOL_SIZE (AUDIO_POOL_SIZE)
144 #else
145 #define RVF_AUDIO_POOL_SIZE (0)
146 #endif
147
148 #ifdef RVM_AUDIO_BGD_SWE
149 #include "audio/audio_pool_size.h"
150 #define RVF_AUDIO_BGD_POOL_SIZE (AUDIO_BGD_POOL_SIZE)
151 #else
152 #define RVF_AUDIO_BGD_POOL_SIZE (0)
153 #endif
154
155 /*
156 * DAR SWE
157 */
158 #ifdef RVM_DAR_SWE
159 #include "dar/dar_pool_size.h"
160 #define RVF_DAR_POOL_SIZE (DAR_POOL_SIZE)
161 #else
162 #define RVF_DAR_POOL_SIZE (0)
163 #endif
164
165 /*
166 * ETM SWE
167 */
168 #ifdef RVM_ETM_SWE
169 #include "etm/etm_pool_size.h"
170 #define RVF_ETM_POOL_SIZE (ETM_POOL_SIZE)
171 #else
172 #define RVF_ETM_POOL_SIZE (0)
173 #endif
174
175 /*
176 * FFS SWE
177 */
178 #ifdef RVM_FFS_SWE
179 #include "ffs/ffs_pool_size.h"
180 #define RVF_FFS_POOL_SIZE (FFS_POOL_SIZE)
181 #else
182 #define RVF_FFS_POOL_SIZE (0)
183 #endif
184
185
186 /*
187 * KCL SWE
188 */
189 #ifdef RVM_KCL_SWE
190 #include "j2me_k/kcl/kcl_pool_size.h"
191 #define RVF_KCL_POOL_SIZE (KCL_POOL_SIZE)
192 #else
193 #define RVF_KCL_POOL_SIZE (0)
194 #endif
195
196 /*
197 * KGC SWE
198 */
199 #ifdef RVM_KGC_SWE
200 #include "j2me_k/kgc/kgc_pool_size.h"
201 #define RVF_KGC_POOL_SIZE (KGC_POOL_SIZE)
202 #else
203 #define RVF_KGC_POOL_SIZE (0)
204 #endif
205
206 /*
207 * KIL SWE
208 */
209 #ifdef RVM_KIL_SWE
210 #include "j2me_k/kil/kil_pool_size.h"
211 #define RVF_KIL_POOL_SIZE (KIL_POOL_SIZE)
212 #else
213 #define RVF_KIL_POOL_SIZE (0)
214 #endif
215
216 /*
217 * KMM SWE
218 */
219 #ifdef RVM_KMM_SWE
220 #include "j2me_k/kmm/kmm_pool_size.h"
221 #define RVF_KMM_POOL_SIZE (KMM_POOL_SIZE)
222 #else
223 #define RVF_KMM_POOL_SIZE (0)
224 #endif
225
226 /*
227 * KNM SWE
228 */
229 #ifdef RVM_KNM_SWE
230 #include "j2me_k/knm/knm_pool_size.h"
231 #define RVF_KNM_POOL_SIZE (KNM_POOL_SIZE)
232 #else
233 #define RVF_KNM_POOL_SIZE (0)
234 #endif
235
236 /*
237 * KPG SWE
238 */
239 #ifdef RVM_KPG_SWE
240 #include "j2me_k/kpg/kpg_pool_size.h"
241 #define RVF_KPG_POOL_SIZE (KPG_POOL_SIZE)
242 #else
243 #define RVF_KPG_POOL_SIZE (0)
244 #endif
245
246 /*
247 * KZP SWE
248 */
249 #ifdef RVM_KZP_SWE
250 #include "j2me_k/kzp/kzp_pool_size.h"
251 #define RVF_KZP_POOL_SIZE (KZP_POOL_SIZE)
252 #else
253 #define RVF_KZP_POOL_SIZE (0)
254 #endif
255
256
257 /*
258 * KPD SWE
259 */
260 #ifdef RVM_KPD_SWE
261 #include "kpd/kpd_pool_size.h"
262 #define RVF_KPD_POOL_SIZE (KPD_POOL_SIZE)
263 #else
264 #define RVF_KPD_POOL_SIZE (0)
265 #endif
266
267
268 /*
269 * LLS SWE
270 */
271 #ifdef RVM_LLS_SWE
272 #include "lls/lls_pool_size.h"
273 #define RVF_LLS_POOL_SIZE (LLS_POOL_SIZE)
274 #else
275 #define RVF_LLS_POOL_SIZE (0)
276 #endif
277
278 /*
279 * MKS SWE
280 */
281 #ifdef RVM_MKS_SWE
282 #include "mks/mks_pool_size.h"
283 #define RVF_MKS_POOL_SIZE (MKS_POOL_SIZE)
284 #else
285 #define RVF_MKS_POOL_SIZE (0)
286 #endif
287
288 /*
289 * MPM SWE
290 */
291 #ifdef RVM_MPM_SWE
292 #include "mpm/mpm_pool_size.h"
293 #define RVF_MPM_POOL_SIZE (MPM_POOL_SIZE)
294 #else
295 #define RVF_MPM_POOL_SIZE (0)
296 #endif
297
298 /*
299 * PWR SWE
300 */
301 #ifdef RVM_PWR_SWE
302 #include "pwr/pwr_pool_size.h"
303 #define RVF_PWR_POOL_SIZE (PWR_POOL_SIZE)
304 #else
305 #define RVF_PWR_POOL_SIZE (0)
306 #endif
307
308 /*
309 * LCC (PWR) SWE
310 */
311
312 #ifdef RVM_LCC_SWE
313 #include "lcc/lcc_pool_size.h"
314 #define RVF_LCC_POOL_SIZE (LCC_POOL_SIZE)
315 #else
316 #define RVF_LCC_POOL_SIZE (0)
317 #endif
318
319 /*
320 * R2D SWE
321 */
322 #ifdef RVM_R2D_SWE
323 #include "r2d/r2d_pool_size.h"
324 #define RVF_R2D_POOL_SIZE (R2D_POOL_SIZE)
325 #else
326 #define RVF_R2D_POOL_SIZE (0)
327 #endif
328
329 /*
330 * RGUI SWE
331 */
332 #ifdef RVM_RGUI_SWE
333 #include "rgui/rgui_pool_size.h"
334 #define RVF_RGUI_POOL_SIZE (RGUI_POOL_SIZE)
335 #else
336 #define RVF_RGUI_POOL_SIZE (0)
337 #endif
338
339
340 /*
341 * RNET SWE
342 */
343 #ifdef RVM_RNET_SWE
344 #include "rnet/rnet_pool_size.h"
345 #define RVF_RNET_POOL_SIZE (RNET_POOL_SIZE)
346 #else
347 #define RVF_RNET_POOL_SIZE (0)
348 #endif
349
350 /*
351 * RNET_BR SWE
352 */
353 #ifdef RVM_RNET_BR_SWE
354 #include "rnet/rnet_br/rnet_br_pool_size.h"
355 #define RVF_RNET_BR_POOL_SIZE (RNET_BR_POOL_SIZE)
356 #else
357 #define RVF_RNET_BR_POOL_SIZE (0)
358 #endif
359
360 /*
361 * RNET_RT SWE
362 */
363 #ifdef RVM_RNET_RT_SWE
364 #include "rnet/rnet_rt/rnet_rt_pool_size.h"
365 #define RVF_RNET_RT_POOL_SIZE (RNET_RT_POOL_SIZE)
366 #else
367 #define RVF_RNET_RT_POOL_SIZE (0)
368 #endif
369
370 /*
371 * RNET_WS SWE
372 */
373 #ifdef RVM_RNET_WS_SWE
374 #include "rnet/rnet_ws/rnet_ws_pool_size.h"
375 #define RVF_RNET_WS_POOL_SIZE (RNET_WS_POOL_SIZE)
376 #else
377 #define RVF_RNET_WS_POOL_SIZE (0)
378 #endif
379
380
381 /*
382 * DCM SWE
383 */
384 #ifdef RVM_DCM_SWE
385 #include "dcm/dcm_pool_size.h"
386 #define RVF_DCM_POOL_SIZE (DCM_POOL_SIZE)
387 #else
388 #define RVF_DCM_POOL_SIZE (0)
389 #endif
390
391 /*
392 * DCFG SWE
393 */
394
395 #ifdef RVM_DCFG_SWE
396 #include "dcfg/dcfg_pool_size.h"
397 #define RVF_DCFG_POOL_SIZE (DCFG_POOL_SIZE)
398 #else
399 #define RVF_DCFG_POOL_SIZE (0)
400 #endif
401
402 /*
403 * RTC SWE
404 */
405 #ifdef RVM_RTC_SWE
406 #include "rtc/rtc_pool_size.h"
407 #define RVF_RTC_POOL_SIZE (RTC_POOL_SIZE)
408 #else
409 #define RVF_RTC_POOL_SIZE (0)
410 #endif
411
412 /*
413 * RTEST SWE
414 */
415 #ifdef RVM_RTEST_SWE
416 #include "tests/rtest/rtest_pool_size.h"
417 #define RVF_RTEST_POOL_SIZE (RTEST_POOL_SIZE)
418 #else
419 #define RVF_RTEST_POOL_SIZE (0)
420 #endif
421
422 /*
423 * RVM SWE; This SWE is of course always enabled.
424 * TO CLEAN??
425 */
426 #include "rvm/rvm_pool_size.h"
427
428
429 /*
430 * SPI SWE
431 */
432 #ifdef RVM_SPI_SWE
433 #include "spi/spi_pool_size.h"
434 #define RVF_SPI_POOL_SIZE (SPI_POOL_SIZE)
435 #else
436 #define RVF_SPI_POOL_SIZE (0)
437 #endif
438
439
440
441 /*
442 * TI_PRF SWE
443 */
444 #ifdef RVM_TI_PRF_SWE
445 #include "rvt/ti_profiler/ti_prf_pool_size.h"
446 #define RVF_TI_PRF_POOL_SIZE (TI_PRF_POOL_SIZE)
447 #else
448 #define RVF_TI_PRF_POOL_SIZE (0)
449 #endif
450
451 /*
452 * TRACE SWE
453 */
454 #ifdef RVM_RVT_SWE
455 #include "rvt/rvt_pool_size.h"
456 #define RVF_TRACE_POOL_SIZE (TRACE_POOL_SIZE)
457 #else
458 #define RVF_TRACE_POOL_SIZE (0)
459 #endif
460
461 /*
462 * TUT SWE
463 */
464 #ifdef RVM_TUT_SWE
465 #include "tut/tut_pool_size.h"
466 #define RVF_TUT_POOL_SIZE (TUT_POOL_SIZE)
467 #else
468 #define RVF_TUT_POOL_SIZE (0)
469 #endif
470
471 /*
472 * UVM SWE
473 */
474 #ifdef RVM_UVM_SWE
475 #include "j2me_k/uvm/uvm_pool_size.h"
476 #define RVF_UVM_POOL_SIZE (UVM_POOL_SIZE)
477 #else
478 #define RVF_UVM_POOL_SIZE (0)
479 #endif
480
481 /*
482 * JTM SWE
483 */
484 #ifdef RVM_JTM_SWE
485 #include "j2me_k/jtm/jtm_pool_size.h"
486 #define RVF_JTM_POOL_SIZE (JTM_POOL_SIZE)
487 #else
488 #define RVF_JTM_POOL_SIZE (0)
489 #endif
490
491 /*
492 * MDC SWE
493 */
494 #ifdef RVM_MDC_SWE
495 #include "mdc/mdc_pool_size.h"
496 #define RVF_MDC_POOL_SIZE (MDC_POOL_SIZE)
497 #else
498 #define RVF_MDC_POOL_SIZE (0)
499 #endif
500
501 /*
502 * TTY SWE
503 */
504 #ifdef RVM_TTY_SWE
505 #include "tty/tty_pool_size.h"
506 #define RVF_TTY_POOL_SIZE (TTY_POOL_SIZE)
507 #else
508 #define RVF_TTY_POOL_SIZE (0)
509 #endif
510
511
512 /*
513 * Obigo SWEs
514 */
515 /* BRAE SWE */
516 #ifdef RVM_BRAE_SWE
517 #include "obigo/brae/brae_pool_size.h"
518 #define RVF_BRAE_POOL_SIZE BRAE_POOL_SIZE
519 #else
520 #define RVF_BRAE_POOL_SIZE (0)
521 #endif
522 /* BRSE SWE */
523 #ifdef RVM_BRSE_SWE
524 #include "obigo/brse/brse_pool_size.h"
525 #define RVF_BRSE_POOL_SIZE BRSE_POOL_SIZE
526 #else
527 #define RVF_BRSE_POOL_SIZE (0)
528 #endif
529
530 /* UISE SWE */
531 #ifdef RVM_UISE_SWE
532 #include "obigo/uise/uise_pool_size.h"
533 #define RVF_UISE_POOL_SIZE UISE_POOL_SIZE
534 #else
535 #define RVF_UISE_POOL_SIZE (0)
536 #endif
537
538 /* UIAE SWE */
539 #ifdef RVM_UIAE_SWE
540 #include "obigo/uiae/uiae_pool_size.h"
541 #define RVF_UIAE_POOL_SIZE UIAE_POOL_SIZE
542 #else
543 #define RVF_UIAE_POOL_SIZE (0)
544 #endif
545
546 /* MEAE SWE */
547 #ifdef RVM_MEAE_SWE
548 #include "obigo/meae/meae_pool_size.h"
549 #define RVF_MEAE_POOL_SIZE MEAE_POOL_SIZE
550 #else
551 #define RVF_MEAE_POOL_SIZE (0)
552 #endif
553 /* MMSE SWE */
554 #ifdef RVM_MMSE_SWE
555 #include "obigo/mmse/mmse_pool_size.h"
556 #define RVF_MMSE_POOL_SIZE MMSE_POOL_SIZE
557 #else
558 #define RVF_MMSE_POOL_SIZE (0)
559 #endif
560 /* MSFE SWE */
561 #ifdef RVM_MSFE_SWE
562 #include "obigo/msfe/msfe_pool_size.h"
563 #define RVF_MSFE_POOL_SIZE MSFE_POOL_SIZE
564 #else
565 #define RVF_MSFE_POOL_SIZE (0)
566 #endif
567 /* MSME SWE */
568 #ifdef RVM_MSME_SWE
569 #include "obigo/msme/msme_pool_size.h"
570 #define RVF_MSME_POOL_SIZE MSME_POOL_SIZE
571 #else
572 #define RVF_MSME_POOL_SIZE (0)
573 #endif
574 /* PHSE SWE */
575 #ifdef RVM_PHSE_SWE
576 #include "obigo/phse/phse_pool_size.h"
577 #define RVF_PHSE_POOL_SIZE PHSE_POOL_SIZE
578 #else
579 #define RVF_PHSE_POOL_SIZE (0)
580 #endif
581 /* PRSE SWE */
582 #ifdef RVM_PRSE_SWE
583 #include "obigo/prse/prse_pool_size.h"
584 #define RVF_PRSE_POOL_SIZE PRSE_POOL_SIZE
585 #else
586 #define RVF_PRSE_POOL_SIZE (0)
587 #endif
588 /* SECE SWE */
589 #ifdef RVM_SECE_SWE
590 #include "obigo/sece/sece_pool_size.h"
591 #define RVF_SECE_POOL_SIZE SECE_POOL_SIZE
592 #else
593 #define RVF_SECE_POOL_SIZE (0)
594 #endif
595 /* SELE SWE */
596 #ifdef RVM_SELE_SWE
597 #include "obigo/sele/sele_pool_size.h"
598 #define RVF_SELE_POOL_SIZE SELE_POOL_SIZE
599 #else
600 #define RVF_SELE_POOL_SIZE (0)
601 #endif
602 /* SLSE SWE */
603 #ifdef RVM_SLSE_SWE
604 #include "obigo/slse/slse_pool_size.h"
605 #define RVF_SLSE_POOL_SIZE SLSE_POOL_SIZE
606 #else
607 #define RVF_SLSE_POOL_SIZE (0)
608 #endif
609 /* SMAE SWE */
610 #ifdef RVM_SMAE_SWE
611 #include "obigo/smae/smae_pool_size.h"
612 #define RVF_SMAE_POOL_SIZE SMAE_POOL_SIZE
613 #else
614 #define RVF_SMAE_POOL_SIZE (0)
615 #endif
616 /* STKE SWE */
617 #ifdef RVM_STKE_SWE
618 #include "obigo/stke/stke_pool_size.h"
619 #define RVF_STKE_POOL_SIZE STKE_POOL_SIZE
620 #else
621 #define RVF_STKE_POOL_SIZE (0)
622 #endif
623 /* EMAE SWE */
624 #ifdef RVM_EMAE_SWE
625 #include "obigo/emae/emae_pool_size.h"
626 #define RVF_EMAE_POOL_SIZE EMAE_POOL_SIZE
627 #else
628 #define RVF_EMAE_POOL_SIZE (0)
629 #endif
630 /* EMSE SWE */
631 #ifdef RVM_EMSE_SWE
632 #include "obigo/emse/emse_pool_size.h"
633 #define RVF_EMSE_POOL_SIZE EMSE_POOL_SIZE
634 #else
635 #define RVF_EMSE_POOL_SIZE (0)
636 #endif
637
638 /* IT0E SWE */
639 #ifdef RVM_IT0E_SWE
640 #include "obigo/tests/it0e/it0e_pool_size.h"
641 #define RVF_IT0E_POOL_SIZE IT0E_POOL_SIZE
642 #else
643 #define RVF_IT0E_POOL_SIZE (0)
644 #endif
645 /* IT1E SWE */
646 #ifdef RVM_IT1E_SWE
647 #include "obigo/tests/it1e/it1e_pool_size.h"
648 #define RVF_IT1E_POOL_SIZE IT1E_POOL_SIZE
649 #else
650 #define RVF_IT1E_POOL_SIZE (0)
651 #endif
652 /* IT2E SWE */
653 #ifdef RVM_IT2E_SWE
654 #include "obigo/tests/it2e/it2e_pool_size.h"
655 #define RVF_IT2E_POOL_SIZE IT2E_POOL_SIZE
656 #else
657 #define RVF_IT2E_POOL_SIZE (0)
658 #endif
659
660
661 /*
662 * MFW SWE
663 */
664 #ifdef RVM_MFW_SWE
665 #include "mfw/mfw_pool_size.h"
666 #define RVF_MFW_POOL_SIZE (MFW_POOL_SIZE)
667 #else
668 #define RVF_MFW_POOL_SIZE (0)
669 #endif
670
671 /*
672 * IMG SWE
673 */
674 #ifdef RVM_IMG_SWE
675 #include "img/img_pool_size.h"
676 #define RVF_IMG_POOL_SIZE IMG_POOL_SIZE
677 #else
678 #define RVF_IMG_POOL_SIZE (0)
679 #endif
680
681 /*
682 MMS
683 //TISHMMS Project add 10K for buffer mms message
684 */
685 #ifdef RVM_MMS_SWE
686 /*
687 * Values used in mms_env.h
688 */
689 #include "mms/mms_pool_size.h"
690
691 #define RVF_MMS_POOL_SIZE MMS_POOL_SIZE
692 #else
693 #define RVF_MMS_POOL_SIZE (0)
694 #endif
695
696 /*
697 * SMBS SWE
698 */
699 #ifdef RVM_SMBS_SWE
700 #include "smbs/smbs_pool_size.h"
701 #define RVF_SMBS_POOL_SIZE (SMBS_POOL_SIZE)
702 #else
703 #define RVF_SMBS_POOL_SIZE (0)
704 #endif
705
706 /*
707 * MDL SWE
708 */
709 #ifdef RVM_MDL_SWE
710 #include "mdl/mdl_pool_size.h"
711 #define RVF_MDL_POOL_SIZE (MDL_POOL_SIZE)
712 #else
713 #define RVF_MDL_POOL_SIZE (0)
714 #endif
715
716
717
718 /* define the memory pools used by the RVF */
719
720 /* define RVF_NB_POOLS to 1 or 2 if you want to use 2 buffers in RAM,
721 for example 1 in internal RAM, 1 in external RAM */
722 #define RVF_NB_POOLS 1
723 /* 500 corresponds to a "hard-coded" value for RVM_STACKS Memory Bank defined in rvm_i.h */
724 #define RVF_POOL_0_SIZE (RVF_ATP_POOL_SIZE + RVF_ATP_UART_POOL_SIZE + RVF_AUDIO_POOL_SIZE + \
725 RVF_DAR_POOL_SIZE + RVF_HCI_POOL_SIZE + RVF_ETM_POOL_SIZE + \
726 RVF_FFS_POOL_SIZE + RVF_KCL_POOL_SIZE + RVF_KGC_POOL_SIZE + \
727 RVF_KIL_POOL_SIZE + RVF_KMM_POOL_SIZE + RVF_KNM_POOL_SIZE + \
728 RVF_KPD_POOL_SIZE + RVF_KPG_POOL_SIZE + RVF_KZP_POOL_SIZE + \
729 RVF_LLS_POOL_SIZE + RVF_MKS_POOL_SIZE + RVF_TTY_POOL_SIZE + \
730 RVF_MPM_POOL_SIZE + RVF_PWR_POOL_SIZE + RVF_LCC_POOL_SIZE + \
731 RVF_R2D_POOL_SIZE + RVF_MMS_POOL_SIZE +\
732 RVF_RGUI_POOL_SIZE + RVF_RNET_POOL_SIZE + RVF_RNET_BR_POOL_SIZE + \
733 RVF_MDC_POOL_SIZE + RVF_RNET_RT_POOL_SIZE + RVF_RNET_WS_POOL_SIZE + \
734 RVF_RTC_POOL_SIZE + RVF_RTEST_POOL_SIZE + RVF_RVM_POOL_SIZE + \
735 RVF_SPI_POOL_SIZE + RVF_TI_PRF_POOL_SIZE + RVF_TRACE_POOL_SIZE + \
736 RVF_TUT_POOL_SIZE + RVF_UVM_POOL_SIZE + RVF_JTM_POOL_SIZE + \
737 RVF_DCM_POOL_SIZE + RVF_BRAE_POOL_SIZE + RVF_BRSE_POOL_SIZE + \
738 RVF_UISE_POOL_SIZE + RVF_UIAE_POOL_SIZE + RVF_MEAE_POOL_SIZE + \
739 RVF_MMSE_POOL_SIZE + \
740 RVF_MSFE_POOL_SIZE + RVF_MSME_POOL_SIZE + RVF_PHSE_POOL_SIZE + \
741 RVF_PRSE_POOL_SIZE + RVF_SECE_POOL_SIZE + RVF_SELE_POOL_SIZE + \
742 RVF_SLSE_POOL_SIZE + RVF_SMAE_POOL_SIZE + RVF_STKE_POOL_SIZE + \
743 RVF_IT0E_POOL_SIZE + RVF_EMAE_POOL_SIZE + RVF_EMSE_POOL_SIZE + \
744 RVF_IT1E_POOL_SIZE + RVF_IT2E_POOL_SIZE + RVF_IMG_POOL_SIZE + \
745 RVF_SMBS_POOL_SIZE + RVF_MFW_POOL_SIZE + RVF_AUDIO_BGD_POOL_SIZE + \
746 RVF_BTA_POOL_SIZE + RVF_BTU_POOL_SIZE + RVF_GKI_POOL_SIZE + \
747 RVF_BTUI_POOL_SIZE + RVF_BTH_POOL_SIZE + RVF_RPC_POOL_SIZE + \
748 RVF_DCFG_POOL_SIZE + RVF_MDL_POOL_SIZE)
749
750 #if (RVF_NB_POOLS > 1 )
751 #define RVF_POOL_1_SIZE 0
752 #endif
753
754 /* define the memory usage ratio */
755 /* e.g. the ratio between the sum of the memory banks sizes and the memory available in the system */
756 /* for example: 90 for 90 % to be sure to always satisfy memory requests*/
757 /* 120 for 120 % to optimize memory usage */
758 #define RVF_MEM_USAGE_RATIO 100
759
760 #endif /* _RVF_POOL_SIZE_H */
761