summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-20 07:33:59 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-25 07:18:37 +0100
commit03aff2cf85b514f34cba2e798928471795fd80be (patch)
tree0b32e454d5d7a25d65c04e16c21dbaca77853e84 /cpukit/include/rtems/confdefs.h
parentconfig: Add <rtems/confdefs/bdbuf.h> (diff)
downloadrtems-03aff2cf85b514f34cba2e798928471795fd80be.tar.bz2
config: Add <rtems/confdefs/malloc.h>
Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Move the default configuration to library files so that application configurations do not include the definitions for the default case. Update #3053. Update #3875.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r--cpukit/include/rtems/confdefs.h40
1 files changed, 1 insertions, 39 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index 15e921629b..4f1ba45de8 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -53,6 +53,7 @@
#include <rtems/confdefs/bdbuf.h>
#include <rtems/confdefs/libio.h>
#include <rtems/confdefs/libpci.h>
+#include <rtems/confdefs/malloc.h>
#include <rtems/confdefs/percpu.h>
#include <rtems/confdefs/scheduler.h>
@@ -104,45 +105,6 @@ extern "C" {
#endif
/**
- * @defgroup ConfigurationMalloc RTEMS Malloc configuration
- *
- * This module contains parameters related to configuration of the RTEMS
- * Malloc implementation.
- */
-/**@{*/
-#include <rtems/malloc.h>
-
-#ifdef CONFIGURE_INIT
- /**
- * This configures the sbrk() support for the malloc family.
- * By default it is assumed that the BSP provides all available
- * RAM to the malloc family implementation so sbrk()'ing to get
- * more memory would always fail anyway.
- */
- const rtems_heap_extend_handler rtems_malloc_extend_handler =
- #ifdef CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
- rtems_heap_extend_via_sbrk;
- #else
- rtems_heap_null_extend;
- #endif
-#endif
-
-#ifdef CONFIGURE_INIT
- /**
- * This configures the malloc family plugin which dirties memory
- * allocated. This is helpful for finding unitialized data structure
- * problems.
- */
- rtems_malloc_dirtier_t rtems_malloc_dirty_helper =
- #if defined(CONFIGURE_MALLOC_DIRTY)
- rtems_malloc_dirty_memory;
- #else
- NULL;
- #endif
-#endif
-/**@}*/ /* end of Malloc Configuration */
-
-/**
* @defgroup ConfigurationHelpers Configuration Helpers
*
* @ingroup Configuration