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