forked from Imagelibrary/rtems
config: Add CONFIGURE_DIRTY_MEMORY
Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843.
This commit is contained in:
@@ -24,19 +24,6 @@
|
||||
*/
|
||||
const char *bsp_boot_cmdline;
|
||||
|
||||
#if BSP_DIRTY_MEMORY == 1
|
||||
static void bsp_dirty_memory(void)
|
||||
{
|
||||
_Memory_Fill( _Memory_Get(), 0xcf );
|
||||
}
|
||||
|
||||
RTEMS_SYSINIT_ITEM(
|
||||
bsp_dirty_memory,
|
||||
RTEMS_SYSINIT_DIRTY_MEMORY,
|
||||
RTEMS_SYSINIT_ORDER_MIDDLE
|
||||
);
|
||||
#endif
|
||||
|
||||
RTEMS_SYSINIT_ITEM(
|
||||
bsp_start,
|
||||
RTEMS_SYSINIT_BSP_START,
|
||||
|
||||
Reference in New Issue
Block a user