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:
Sebastian Huber
2020-02-04 15:26:31 +01:00
parent 8ecbc3826e
commit 2d07ce6d21
7 changed files with 55 additions and 23 deletions

View File

@@ -1,17 +1,9 @@
dnl
dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by boot_card()
dnl and other required parts of the BSP Framework. Currently, this is
dnl
dnl - Can optionally dirty memory at boot time.
dnl and other required parts of the BSP Framework.
dnl
dnl To be used in bsp-configure scripts
AC_DEFUN([RTEMS_BSP_BOOTCARD_OPTIONS],[
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
[If defined, then the BSP Framework will put a non-zero pattern into
the RTEMS Workspace and C program heap. This should assist in finding
code that assumes memory starts set to zero.])
])
AC_DEFUN([RTEMS_BSP_BOOTCARD_OPTIONS],[])