]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/services/memalloc/common/v2_0/cdl/memalloc.cdl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / services / memalloc / common / v2_0 / cdl / memalloc.cdl
index 5ecf1ea978aa04c6371eae8b06afaff31166c478..31a98b18d71ab0406ded5c09f8c249ab2c9a2667 100644 (file)
@@ -176,11 +176,11 @@ cdl_package CYGPKG_MEMALLOC {
             }
 
            cdl_option CYGIMP_MEMALLOC_ALLOCATOR_DLMALLOC_USE_MEMCPY {
-                display       "Use system memcpy() and memset()"
+                display       "Use system memmove() and memset()"
                 requires      CYGPKG_ISOINFRA
                 default_value { 0 != CYGPKG_ISOINFRA }
                 description   "
-                    This may be used to control whether memset() and memcpy()
+                    This may be used to control whether memset() and memmove()
                     are used within the implementation. The alternative is
                     to use some macro equivalents, which some people report
                     are faster in some circumstances."
@@ -305,6 +305,20 @@ cdl_package CYGPKG_MEMALLOC {
                            be set to a header which provides the equivalent
                            definitions to <pkgconf/heaps.hxx>."
         }
+        
+        cdl_component CYGBLD_MEMALLOC_MALLOC_EXTERNAL_JOIN_H {
+            display       "Use external implementation of joining multiple heaps"
+            flavor        booldata
+            default_value 0
+            description   "The default implementation of joining multiple heaps
+                           is fine for the case where there are multiple disjoint
+                           memory regions of the same type. However, in a system
+                           there might be e.g. a small amount of internal SRAM and
+                           a large amount of external DRAM. The SRAM is faster and
+                           the DRAM is slower. An application can implement some 
+                           heuristic to choose which pool to allocate from. This
+                           heuristic can be highly application specific."
+        }
 
         cdl_interface CYGINT_MEMALLOC_MALLOC_ALLOCATORS {
             display       "malloc() allocator implementations"
@@ -382,7 +396,7 @@ cdl_package CYGPKG_MEMALLOC {
             display "Additional compiler flags"
             flavor  data
             no_define
-            default_value { "" }
+            default_value { "-fno-rtti -Woverloaded-virtual" }
             description   "
                 This option modifies the set of compiler flags for
                 building this package. These flags are used in addition
@@ -393,7 +407,7 @@ cdl_package CYGPKG_MEMALLOC {
             display "Suppressed compiler flags"
             flavor  data
             no_define
-            default_value { "" }
+            default_value { "-Wno-pointer-sign" }
             description   "
                 This option modifies the set of compiler flags for
                 building this package. These flags are removed from