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/****************************************************************************
91** Define memory usage for each PROFILE component (if not defined in buildcfg.h)
92**  The default for each component is to use static memory allocations.
93*/
94#ifndef A2D_DYNAMIC_MEMORY
95#define A2D_DYNAMIC_MEMORY  FALSE
96#endif
97
98#ifndef VDP_DYNAMIC_MEMORY
99#define VDP_DYNAMIC_MEMORY  FALSE
100#endif
101
102#ifndef AVRC_DYNAMIC_MEMORY
103#define AVRC_DYNAMIC_MEMORY FALSE
104#endif
105
106#ifndef BIP_DYNAMIC_MEMORY
107#define BIP_DYNAMIC_MEMORY  FALSE
108#endif
109
110#ifndef BPP_DYNAMIC_MEMORY
111#define BPP_DYNAMIC_MEMORY  FALSE
112#endif
113
114#ifndef CTP_DYNAMIC_MEMORY
115#define CTP_DYNAMIC_MEMORY  FALSE
116#endif
117
118#ifndef DUN_DYNAMIC_MEMORY
119#define DUN_DYNAMIC_MEMORY  FALSE
120#endif
121
122#ifndef FTP_DYNAMIC_MEMORY
123#define FTP_DYNAMIC_MEMORY  FALSE
124#endif
125
126#ifndef GAP_DYNAMIC_MEMORY
127#define GAP_DYNAMIC_MEMORY  FALSE
128#endif
129
130#ifndef GOEP_DYNAMIC_MEMORY
131#define GOEP_DYNAMIC_MEMORY FALSE
132#endif
133
134#ifndef HCRP_DYNAMIC_MEMORY
135#define HCRP_DYNAMIC_MEMORY FALSE
136#endif
137
138#ifndef HFP_DYNAMIC_MEMORY
139#define HFP_DYNAMIC_MEMORY  FALSE
140#endif
141
142#ifndef HID_DYNAMIC_MEMORY
143#define HID_DYNAMIC_MEMORY  FALSE
144#endif
145
146#ifndef HSP2_DYNAMIC_MEMORY
147#define HSP2_DYNAMIC_MEMORY FALSE
148#endif
149
150#ifndef ICP_DYNAMIC_MEMORY
151#define ICP_DYNAMIC_MEMORY  FALSE
152#endif
153
154#ifndef OPP_DYNAMIC_MEMORY
155#define OPP_DYNAMIC_MEMORY  FALSE
156#endif
157
158#ifndef PAN_DYNAMIC_MEMORY
159#define PAN_DYNAMIC_MEMORY  FALSE
160#endif
161
162#ifndef SPP_DYNAMIC_MEMORY
163#define SPP_DYNAMIC_MEMORY  FALSE
164#endif
165
166#ifndef SLIP_DYNAMIC_MEMORY
167#define SLIP_DYNAMIC_MEMORY  FALSE
168#endif
169
170#ifndef LLCP_DYNAMIC_MEMORY
171#define LLCP_DYNAMIC_MEMORY  FALSE
172#endif
173
174/****************************************************************************
175** Define memory usage for BTA (if not defined in buildcfg.h)
176**  The default for each component is to use static memory allocations.
177*/
178#ifndef BTA_DYNAMIC_MEMORY
179#define BTA_DYNAMIC_MEMORY FALSE
180#endif
181
182/****************************************************************************
183** Define memory usage for BT Trace (if not defined in buildcfg.h)
184**  The default is to use static memory allocations.
185*/
186#ifndef BTTRC_DYNAMIC_MEMORY
187#define BTTRC_DYNAMIC_MEMORY FALSE
188#endif
189
190#endif  /* #ifdef DYN_MEM_H */
191
192