comparison nuc-fw/riviera/rvm/rvm_pool_size.h @ 118:21de8d8e6ea7

checking in Riviera code from the Sotomodem version
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 29 Oct 2013 07:03:45 +0000
parents
children dd56546ad9e0
comparison
equal deleted inserted replaced
117:e40d8661ecab 118:21de8d8e6ea7
1 /**
2 * @file rvm_pool_size.h
3 *
4 * Declarations of:
5 * - the memory bank sizes and their watermark
6 * - the SWE stack size
7 * - the pool size needed (generally the sum of memory bank and stack sizes)
8 *
9 * @author Vincent Oberle
10 * @version 0.1
11 */
12
13 /*
14 * History:
15 *
16 * Date Author Modification
17 * -------------------------------------------------------------------
18 * 07/08/2003 Vincent Oberle Extracted from rvf_pool_size.h
19 * 17/09/2003 Gary Totney Calibrated MB3 for 30 tasks
20 *
21 *
22 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
23 */
24
25 #ifndef __RVM_POOL_SIZE_H_
26 #define __RVM_POOL_SIZE_H_
27
28
29 #ifndef _WINDOWS
30 #include "rv.cfg" // TEST
31 #include "debug.cfg" // TI_PROFILER, TI_NUC_MONITOR
32 #include "board.cfg" // BOARD
33 #include "swconfig.cfg" // GSMLITE
34 #endif
35
36 /*
37 * RVM SWE; This SWE is of course always enabled.
38 *
39 * Values used in rvm_i.h
40 */
41
42 #define RVF_RVM_STACK_SIZE (1500)
43
44 #if (defined BLUETOOTH) || (TEST==1) || (TI_PROFILER == 1) || (TI_NUC_MONITOR == 1)
45 #define RVF_RVM_MB1_SIZE (13000)
46 #else
47 #if (GSMLITE)
48 #define RVF_RVM_MB1_SIZE (1200)
49 #else
50 #define RVF_RVM_MB1_SIZE (6000)
51 #endif
52 #endif
53 #define RVF_RVM_MB2_SIZE (700)
54
55 #if (GSMLITE)
56 #define RVF_RVM_MB3_SIZE (3200)
57 #define RVF_RVM_MB4_SIZE (0)
58 #define RVF_RVM_MB5_SIZE (0)
59 #define RVF_RVM_COMPENSATOR_POOL_SIZE (1000)
60 #else
61 #define RVF_RVM_MB3_SIZE (9000)
62 #define RVF_RVM_MB4_SIZE (3000)
63 #define RVF_RVM_MB5_SIZE (3000)
64 #define RVF_RVM_COMPENSATOR_POOL_SIZE (12500+3000)
65 #endif
66
67
68 #define RVF_RVM_POOL_SIZE (RVF_RVM_STACK_SIZE + RVF_RVM_MB1_SIZE + \
69 RVF_RVM_MB2_SIZE + RVF_RVM_MB3_SIZE + \
70 RVF_RVM_MB4_SIZE + RVF_RVM_MB5_SIZE +\
71 RVF_RVM_COMPENSATOR_POOL_SIZE )
72
73
74
75 #endif /*__RVM_POOL_SIZE_H_*/