Home | History | Annotate | Download | only in include
      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 GKI (if not defined in bdroid_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 bdroid_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 RFC_DYNAMIC_MEMORY
     51 #define RFC_DYNAMIC_MEMORY  FALSE
     52 #endif
     53 
     54 #ifndef TCS_DYNAMIC_MEMORY
     55 #define TCS_DYNAMIC_MEMORY  FALSE
     56 #endif
     57 
     58 #ifndef OBX_DYNAMIC_MEMORY
     59 #define OBX_DYNAMIC_MEMORY  FALSE
     60 #endif
     61 
     62 #ifndef BNEP_DYNAMIC_MEMORY
     63 #define BNEP_DYNAMIC_MEMORY FALSE
     64 #endif
     65 
     66 #ifndef AVDT_DYNAMIC_MEMORY
     67 #define AVDT_DYNAMIC_MEMORY FALSE
     68 #endif
     69 
     70 #ifndef AVCT_DYNAMIC_MEMORY
     71 #define AVCT_DYNAMIC_MEMORY FALSE
     72 #endif
     73 
     74 #ifndef MCA_DYNAMIC_MEMORY
     75 #define MCA_DYNAMIC_MEMORY FALSE
     76 #endif
     77 
     78 #ifndef GATT_DYNAMIC_MEMORY
     79 #define GATT_DYNAMIC_MEMORY  FALSE
     80 #endif
     81 
     82 #ifndef SMP_DYNAMIC_MEMORY
     83 #define SMP_DYNAMIC_MEMORY  FALSE
     84 #endif
     85 
     86 /****************************************************************************
     87 ** Define memory usage for each PROFILE component (if not defined in bdroid_buildcfg.h)
     88 **  The default for each component is to use static memory allocations.
     89 */
     90 #ifndef A2D_DYNAMIC_MEMORY
     91 #define A2D_DYNAMIC_MEMORY  FALSE
     92 #endif
     93 
     94 #ifndef VDP_DYNAMIC_MEMORY
     95 #define VDP_DYNAMIC_MEMORY  FALSE
     96 #endif
     97 
     98 #ifndef AVRC_DYNAMIC_MEMORY
     99 #define AVRC_DYNAMIC_MEMORY FALSE
    100 #endif
    101 
    102 #ifndef BIP_DYNAMIC_MEMORY
    103 #define BIP_DYNAMIC_MEMORY  FALSE
    104 #endif
    105 
    106 #ifndef BPP_DYNAMIC_MEMORY
    107 #define BPP_DYNAMIC_MEMORY  FALSE
    108 #endif
    109 
    110 #ifndef CTP_DYNAMIC_MEMORY
    111 #define CTP_DYNAMIC_MEMORY  FALSE
    112 #endif
    113 
    114 #ifndef DUN_DYNAMIC_MEMORY
    115 #define DUN_DYNAMIC_MEMORY  FALSE
    116 #endif
    117 
    118 #ifndef FTP_DYNAMIC_MEMORY
    119 #define FTP_DYNAMIC_MEMORY  FALSE
    120 #endif
    121 
    122 #ifndef GAP_DYNAMIC_MEMORY
    123 #define GAP_DYNAMIC_MEMORY  FALSE
    124 #endif
    125 
    126 #ifndef GOEP_DYNAMIC_MEMORY
    127 #define GOEP_DYNAMIC_MEMORY FALSE
    128 #endif
    129 
    130 #ifndef HCRP_DYNAMIC_MEMORY
    131 #define HCRP_DYNAMIC_MEMORY FALSE
    132 #endif
    133 
    134 #ifndef HFP_DYNAMIC_MEMORY
    135 #define HFP_DYNAMIC_MEMORY  FALSE
    136 #endif
    137 
    138 #ifndef HID_DYNAMIC_MEMORY
    139 #define HID_DYNAMIC_MEMORY  FALSE
    140 #endif
    141 
    142 #ifndef HSP2_DYNAMIC_MEMORY
    143 #define HSP2_DYNAMIC_MEMORY FALSE
    144 #endif
    145 
    146 #ifndef ICP_DYNAMIC_MEMORY
    147 #define ICP_DYNAMIC_MEMORY  FALSE
    148 #endif
    149 
    150 #ifndef OPP_DYNAMIC_MEMORY
    151 #define OPP_DYNAMIC_MEMORY  FALSE
    152 #endif
    153 
    154 #ifndef PAN_DYNAMIC_MEMORY
    155 #define PAN_DYNAMIC_MEMORY  FALSE
    156 #endif
    157 
    158 #ifndef SPP_DYNAMIC_MEMORY
    159 #define SPP_DYNAMIC_MEMORY  FALSE
    160 #endif
    161 
    162 #ifndef SLIP_DYNAMIC_MEMORY
    163 #define SLIP_DYNAMIC_MEMORY  FALSE
    164 #endif
    165 
    166 #ifndef LLCP_DYNAMIC_MEMORY
    167 #define LLCP_DYNAMIC_MEMORY  FALSE
    168 #endif
    169 
    170 /****************************************************************************
    171 ** Define memory usage for BTA (if not defined in bdroid_buildcfg.h)
    172 **  The default for each component is to use static memory allocations.
    173 */
    174 #ifndef BTA_DYNAMIC_MEMORY
    175 #define BTA_DYNAMIC_MEMORY FALSE
    176 #endif
    177 
    178 /****************************************************************************
    179 ** Define memory usage for BT Trace (if not defined in bdroid_buildcfg.h)
    180 **  The default is to use static memory allocations.
    181 */
    182 #ifndef BTTRC_DYNAMIC_MEMORY
    183 #define BTTRC_DYNAMIC_MEMORY FALSE
    184 #endif
    185 
    186 #endif  /* #ifdef DYN_MEM_H */
    187 
    188