1 /******************************************************************************
2  *
3  *  Copyright (C) 1999-2012 Broadcom Corporation
4  *
5  *  Licensed under the Apache License, Version 2.0 (the "License");
6  *  you may not use this file except in compliance with the License.
7  *  You may obtain a copy of the License at:
8  *
9  *  http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *  Unless required by applicable law or agreed to in writing, software
12  *  distributed under the License is distributed on an "AS IS" BASIS,
13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *  See the License for the specific language governing permissions and
15  *  limitations under the License.
16  *
17  ******************************************************************************/
18 #ifndef DYN_MEM_H
19 #define DYN_MEM_H
20 
21 /****************************************************************************
22 ** Define memory usage for GKI (if not defined in buildcfg.h)
23 **  The default for GKI is to use static memory allocation for its control
24 **  block.
25 */
26 #ifndef GKI_DYNAMIC_MEMORY
27 #define GKI_DYNAMIC_MEMORY  FALSE
28 #endif
29 
30 /****************************************************************************
31 ** Define memory usage for each CORE component (if not defined in buildcfg.h)
32 **  The default for each component is to use static memory allocations.
33 */
34 #ifndef BTU_DYNAMIC_MEMORY
35 #define BTU_DYNAMIC_MEMORY  FALSE
36 #endif
37 
38 #ifndef BTM_DYNAMIC_MEMORY
39 #define BTM_DYNAMIC_MEMORY  FALSE
40 #endif
41 
42 #ifndef SDP_DYNAMIC_MEMORY
43 #define SDP_DYNAMIC_MEMORY  FALSE
44 #endif
45 
46 #ifndef L2C_DYNAMIC_MEMORY
47 #define L2C_DYNAMIC_MEMORY  FALSE
48 #endif
49 
50 #ifndef A2MP_DYNAMIC_MEMORY
51 #define A2MP_DYNAMIC_MEMORY  FALSE
52 #endif
53 
54 #ifndef RFC_DYNAMIC_MEMORY
55 #define RFC_DYNAMIC_MEMORY  FALSE
56 #endif
57 
58 #ifndef TCS_DYNAMIC_MEMORY
59 #define TCS_DYNAMIC_MEMORY  FALSE
60 #endif
61 
62 #ifndef OBX_DYNAMIC_MEMORY
63 #define OBX_DYNAMIC_MEMORY  FALSE
64 #endif
65 
66 #ifndef BNEP_DYNAMIC_MEMORY
67 #define BNEP_DYNAMIC_MEMORY FALSE
68 #endif
69 
70 #ifndef AVDT_DYNAMIC_MEMORY
71 #define AVDT_DYNAMIC_MEMORY FALSE
72 #endif
73 
74 #ifndef AVCT_DYNAMIC_MEMORY
75 #define AVCT_DYNAMIC_MEMORY FALSE
76 #endif
77 
78 #ifndef MCA_DYNAMIC_MEMORY
79 #define MCA_DYNAMIC_MEMORY FALSE
80 #endif
81 
82 #ifndef GATT_DYNAMIC_MEMORY
83 #define GATT_DYNAMIC_MEMORY  FALSE
84 #endif
85 
86 #ifndef SMP_DYNAMIC_MEMORY
87 #define SMP_DYNAMIC_MEMORY  FALSE
88 #endif
89 
90 #ifndef BRCM_DYNAMIC_MEMORY
91 #define BRCM_DYNAMIC_MEMORY  FALSE
92 #endif
93 
94 /****************************************************************************
95 ** Define memory usage for each PROFILE component (if not defined in buildcfg.h)
96 **  The default for each component is to use static memory allocations.
97 */
98 #ifndef A2D_DYNAMIC_MEMORY
99 #define A2D_DYNAMIC_MEMORY  FALSE
100 #endif
101 
102 #ifndef VDP_DYNAMIC_MEMORY
103 #define VDP_DYNAMIC_MEMORY  FALSE
104 #endif
105 
106 #ifndef AVRC_DYNAMIC_MEMORY
107 #define AVRC_DYNAMIC_MEMORY FALSE
108 #endif
109 
110 #ifndef BIP_DYNAMIC_MEMORY
111 #define BIP_DYNAMIC_MEMORY  FALSE
112 #endif
113 
114 #ifndef BPP_DYNAMIC_MEMORY
115 #define BPP_DYNAMIC_MEMORY  FALSE
116 #endif
117 
118 #ifndef CTP_DYNAMIC_MEMORY
119 #define CTP_DYNAMIC_MEMORY  FALSE
120 #endif
121 
122 #ifndef DUN_DYNAMIC_MEMORY
123 #define DUN_DYNAMIC_MEMORY  FALSE
124 #endif
125 
126 #ifndef FTP_DYNAMIC_MEMORY
127 #define FTP_DYNAMIC_MEMORY  FALSE
128 #endif
129 
130 #ifndef GAP_DYNAMIC_MEMORY
131 #define GAP_DYNAMIC_MEMORY  FALSE
132 #endif
133 
134 #ifndef GOEP_DYNAMIC_MEMORY
135 #define GOEP_DYNAMIC_MEMORY FALSE
136 #endif
137 
138 #ifndef HCRP_DYNAMIC_MEMORY
139 #define HCRP_DYNAMIC_MEMORY FALSE
140 #endif
141 
142 #ifndef HFP_DYNAMIC_MEMORY
143 #define HFP_DYNAMIC_MEMORY  FALSE
144 #endif
145 
146 #ifndef HID_DYNAMIC_MEMORY
147 #define HID_DYNAMIC_MEMORY  FALSE
148 #endif
149 
150 #ifndef HSP2_DYNAMIC_MEMORY
151 #define HSP2_DYNAMIC_MEMORY FALSE
152 #endif
153 
154 #ifndef ICP_DYNAMIC_MEMORY
155 #define ICP_DYNAMIC_MEMORY  FALSE
156 #endif
157 
158 #ifndef OPP_DYNAMIC_MEMORY
159 #define OPP_DYNAMIC_MEMORY  FALSE
160 #endif
161 
162 #ifndef PAN_DYNAMIC_MEMORY
163 #define PAN_DYNAMIC_MEMORY  FALSE
164 #endif
165 
166 #ifndef SPP_DYNAMIC_MEMORY
167 #define SPP_DYNAMIC_MEMORY  FALSE
168 #endif
169 
170 #ifndef SLIP_DYNAMIC_MEMORY
171 #define SLIP_DYNAMIC_MEMORY  FALSE
172 #endif
173 
174 #ifndef LLCP_DYNAMIC_MEMORY
175 #define LLCP_DYNAMIC_MEMORY  FALSE
176 #endif
177 
178 /****************************************************************************
179 ** Define memory usage for BTA (if not defined in buildcfg.h)
180 **  The default for each component is to use static memory allocations.
181 */
182 #ifndef BTA_DYNAMIC_MEMORY
183 #define BTA_DYNAMIC_MEMORY FALSE
184 #endif
185 
186 /****************************************************************************
187 ** Define memory usage for BT Trace (if not defined in buildcfg.h)
188 **  The default is to use static memory allocations.
189 */
190 #ifndef BTTRC_DYNAMIC_MEMORY
191 #define BTTRC_DYNAMIC_MEMORY FALSE
192 #endif
193 
194 #endif  /* #ifdef DYN_MEM_H */
195 
196