Clearly mark SMP support as experimental in 4.11

This commit is contained in:
Sebastian Huber
2016-01-11 08:29:08 +01:00
parent cb7c6f53f7
commit 1bdf578e52
4 changed files with 26 additions and 14 deletions

View File

@@ -2,8 +2,8 @@ AC_DEFUN([RTEMS_ENABLE_SMP],
[ [
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(smp, AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing [AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])], (SMP)])],
[case "${enableval}" in [case "${enableval}" in
yes) case "${RTEMS_CPU}" in yes) case "${RTEMS_CPU}" in
@@ -13,5 +13,9 @@ AC_ARG_ENABLE(smp,
;; ;;
no) RTEMS_HAS_SMP=no ;; no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no]) esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
]) ])

View File

@@ -2,8 +2,8 @@ AC_DEFUN([RTEMS_ENABLE_SMP],
[ [
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(smp, AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing [AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])], (SMP)])],
[case "${enableval}" in [case "${enableval}" in
yes) case "${RTEMS_CPU}" in yes) case "${RTEMS_CPU}" in
@@ -13,5 +13,9 @@ AC_ARG_ENABLE(smp,
;; ;;
no) RTEMS_HAS_SMP=no ;; no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no]) esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
]) ])

View File

@@ -2,8 +2,8 @@ AC_DEFUN([RTEMS_ENABLE_SMP],
[ [
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(smp, AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing [AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])], (SMP)])],
[case "${enableval}" in [case "${enableval}" in
yes) case "${RTEMS_CPU}" in yes) case "${RTEMS_CPU}" in
@@ -13,5 +13,9 @@ AC_ARG_ENABLE(smp,
;; ;;
no) RTEMS_HAS_SMP=no ;; no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no]) esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
]) ])

View File

@@ -17,11 +17,11 @@ available on
@item SPARC. @item SPARC.
@end itemize @end itemize
It must be explicitly enabled via the @code{--enable-smp} configure command It must be explicitly enabled via the @code{--enable-experimental-smp}
line option. To enable SMP in the application configuration see configure command line option. To enable SMP in the application configuration
@ref{Configuring a System Enable SMP Support for Applications}. The default see @ref{Configuring a System Enable SMP Support for Applications}. The
scheduler for SMP applications supports up to 32 processors and is a global default scheduler for SMP applications supports up to 32 processors and is a
fixed priority scheduler, see also @ref{Configuring a System Configuring global fixed priority scheduler, see also @ref{Configuring a System Configuring
Clustered/Partitioned Schedulers}. For example applications see Clustered/Partitioned Schedulers}. For example applications see
@file{testsuites/smptests}. @file{testsuites/smptests}.