forked from Imagelibrary/rtems
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* aclocal/bsp-bootcard-options.m4: New file. * aclocal/bsp-bootcards-handles-ram-allocation.m4: Removed.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* aclocal/bsp-bootcard-options.m4: New file.
|
||||
* aclocal/bsp-bootcards-handles-ram-allocation.m4: Removed.
|
||||
|
||||
2008-09-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libchip/serial/ns16550.c: Enable interrupt code only for PowerPC or
|
||||
|
||||
19
c/src/aclocal/bsp-bootcard-options.m4
Normal file
19
c/src/aclocal/bsp-bootcard-options.m4
Normal file
@@ -0,0 +1,19 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to
|
||||
dnl provide each BSPs configure script with the standard options allowed
|
||||
dnl by boot_card(). Currently, this is
|
||||
dnl
|
||||
dnl - Can optionally dirty memory at boot time.
|
||||
dnl
|
||||
|
||||
dnl To be used in bsp-configure scripts
|
||||
|
||||
AC_DEFUN([BSP_BOOTCARD_OPTIONS],
|
||||
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
|
||||
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
|
||||
[If defined, then PSIM 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.])
|
||||
)
|
||||
@@ -1,35 +0,0 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION - some autoconf voodoo to
|
||||
dnl indicate that the BSP is using the shared RAM allocation code in
|
||||
dnl bootcard.c. This is a new way of doing things that will reduce the
|
||||
dnl size of each BSP's bspstart.c and open the door for another round
|
||||
dnl of benefits for BSPs that use this scheme.
|
||||
dnl
|
||||
dnl Benefits:
|
||||
dnl - Reduced code in bspstart.c
|
||||
dnl - Can optionally dirty memory at boot time.
|
||||
dnl
|
||||
dnl NOTE: This macro is intended to be temporary. When most of the
|
||||
dnl BSPs use the new shared method, we need to either bulk edit
|
||||
dnl the remaining BSPs to eliminate code using the old way. Or
|
||||
dnl switch the sense of this macro to be required on BSPs using
|
||||
dnl the old way.
|
||||
dnl
|
||||
dnl AGAIN: This is intended to be temporary. Please help by
|
||||
dnl updating BSPs to use the new scheme.
|
||||
|
||||
dnl To be used in bsp-configure scripts
|
||||
|
||||
AC_DEFUN([RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION],
|
||||
[AC_DEFINE_UNQUOTED([BSP_BOOTCARD_HANDLES_RAM_ALLOCATION],
|
||||
[1],
|
||||
[BSP uses shared logic in bootcard.c]
|
||||
)
|
||||
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
|
||||
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
|
||||
[If defined, then PSIM 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.])
|
||||
])
|
||||
Reference in New Issue
Block a user