From bfc54b08c844f7d26b2c35643ee3c8b49d4103b2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Jan 2008 21:09:54 +0000 Subject: [PATCH] 2008-01-09 Joel Sherrill * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY. --- cpukit/ChangeLog | 4 ++++ cpukit/sapi/include/confdefs.h | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 898e823518..2dfb1b9454 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2008-01-09 Joel Sherrill + + * sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY. + 2008-01-09 Joel Sherrill * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index a51c6b95ff..2fc0781ad0 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -266,6 +266,15 @@ extern int rtems_telnetd_maximum_ptys; #endif #endif +#ifdef CONFIGURE_INIT + rtems_malloc_dirtier_t *rtems_malloc_dirty_helper = + #if defined(CONFIGURE_MALLOC_DIRTY) + rtems_malloc_dirty_memory; + #else + NULL; + #endif +#endif + /* * Default User Initialization Task Table. This table guarantees that * one user initialization table is defined.