}
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."
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"
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
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