From 2d07ce6d2145b4bdc6a9075e0727cde2a50180a6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 4 Feb 2020 15:26:31 +0100 Subject: config: Add CONFIGURE_DIRTY_MEMORY Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843. --- cpukit/include/rtems/confdefs.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/include/rtems/confdefs.h') diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 982e3ddb56..659fee936f 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -2802,6 +2802,14 @@ struct _reent *__getreent(void) #endif }; + #ifdef CONFIGURE_DIRTY_MEMORY + RTEMS_SYSINIT_ITEM( + _Memory_Dirty_free_areas, + RTEMS_SYSINIT_DIRTY_MEMORY, + RTEMS_SYSINIT_ORDER_MIDDLE + ); + #endif + #ifdef CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY const bool _Memory_Zero_before_use = true; -- cgit v1.2.3