1 /******************************************************************************
2  *
3  *  Copyright (C) 2002-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 each CORE component (if not defined in bdroid_buildcfg.h)
23 **  The default for each component is to use static memory allocations.
24 */
25 #ifndef BTU_DYNAMIC_MEMORY
26 #define BTU_DYNAMIC_MEMORY  FALSE
27 #endif
28 
29 #ifndef BTM_DYNAMIC_MEMORY
30 #define BTM_DYNAMIC_MEMORY  FALSE
31 #endif
32 
33 #ifndef SDP_DYNAMIC_MEMORY
34 #define SDP_DYNAMIC_MEMORY  FALSE
35 #endif
36 
37 #ifndef L2C_DYNAMIC_MEMORY
38 #define L2C_DYNAMIC_MEMORY  FALSE
39 #endif
40 
41 #ifndef RFC_DYNAMIC_MEMORY
42 #define RFC_DYNAMIC_MEMORY  FALSE
43 #endif
44 
45 #ifndef TCS_DYNAMIC_MEMORY
46 #define TCS_DYNAMIC_MEMORY  FALSE
47 #endif
48 
49 #ifndef BNEP_DYNAMIC_MEMORY
50 #define BNEP_DYNAMIC_MEMORY FALSE
51 #endif
52 
53 #ifndef AVDT_DYNAMIC_MEMORY
54 #define AVDT_DYNAMIC_MEMORY FALSE
55 #endif
56 
57 #ifndef AVCT_DYNAMIC_MEMORY
58 #define AVCT_DYNAMIC_MEMORY FALSE
59 #endif
60 
61 #ifndef MCA_DYNAMIC_MEMORY
62 #define MCA_DYNAMIC_MEMORY FALSE
63 #endif
64 
65 #ifndef GATT_DYNAMIC_MEMORY
66 #define GATT_DYNAMIC_MEMORY  FALSE
67 #endif
68 
69 #ifndef SMP_DYNAMIC_MEMORY
70 #define SMP_DYNAMIC_MEMORY  FALSE
71 #endif
72 
73 /****************************************************************************
74 ** Define memory usage for each PROFILE component (if not defined in bdroid_buildcfg.h)
75 **  The default for each component is to use static memory allocations.
76 */
77 #ifndef A2D_DYNAMIC_MEMORY
78 #define A2D_DYNAMIC_MEMORY  FALSE
79 #endif
80 
81 #ifndef VDP_DYNAMIC_MEMORY
82 #define VDP_DYNAMIC_MEMORY  FALSE
83 #endif
84 
85 #ifndef AVRC_DYNAMIC_MEMORY
86 #define AVRC_DYNAMIC_MEMORY FALSE
87 #endif
88 
89 #ifndef BIP_DYNAMIC_MEMORY
90 #define BIP_DYNAMIC_MEMORY  FALSE
91 #endif
92 
93 #ifndef BPP_DYNAMIC_MEMORY
94 #define BPP_DYNAMIC_MEMORY  FALSE
95 #endif
96 
97 #ifndef CTP_DYNAMIC_MEMORY
98 #define CTP_DYNAMIC_MEMORY  FALSE
99 #endif
100 
101 #ifndef FTP_DYNAMIC_MEMORY
102 #define FTP_DYNAMIC_MEMORY  FALSE
103 #endif
104 
105 #ifndef HCRP_DYNAMIC_MEMORY
106 #define HCRP_DYNAMIC_MEMORY FALSE
107 #endif
108 
109 #ifndef HFP_DYNAMIC_MEMORY
110 #define HFP_DYNAMIC_MEMORY  FALSE
111 #endif
112 
113 #ifndef HID_DYNAMIC_MEMORY
114 #define HID_DYNAMIC_MEMORY  FALSE
115 #endif
116 
117 #ifndef HSP2_DYNAMIC_MEMORY
118 #define HSP2_DYNAMIC_MEMORY FALSE
119 #endif
120 
121 #ifndef ICP_DYNAMIC_MEMORY
122 #define ICP_DYNAMIC_MEMORY  FALSE
123 #endif
124 
125 #ifndef OPP_DYNAMIC_MEMORY
126 #define OPP_DYNAMIC_MEMORY  FALSE
127 #endif
128 
129 #ifndef PAN_DYNAMIC_MEMORY
130 #define PAN_DYNAMIC_MEMORY  FALSE
131 #endif
132 
133 #ifndef SPP_DYNAMIC_MEMORY
134 #define SPP_DYNAMIC_MEMORY  FALSE
135 #endif
136 
137 #ifndef SLIP_DYNAMIC_MEMORY
138 #define SLIP_DYNAMIC_MEMORY  FALSE
139 #endif
140 
141 #ifndef LLCP_DYNAMIC_MEMORY
142 #define LLCP_DYNAMIC_MEMORY  FALSE
143 #endif
144 
145 /****************************************************************************
146 ** Define memory usage for BTA (if not defined in bdroid_buildcfg.h)
147 **  The default for each component is to use static memory allocations.
148 */
149 #ifndef BTA_DYNAMIC_MEMORY
150 #define BTA_DYNAMIC_MEMORY FALSE
151 #endif
152 
153 #endif  /* #ifdef DYN_MEM_H */
154 
155