diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-12-18 14:10:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-12-18 14:10:54 +0000 |
commit | ac43f07025f638968a591cf31626ce2c66684448 (patch) | |
tree | 94bcf6f4a7d6cacd3b5bd81e0b5f7a17da557d9e /c | |
parent | 2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-ac43f07025f638968a591cf31626ce2c66684448.tar.bz2 |
2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS).
Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE).
Remove RTEMS_OUTPUT_BUILD_SUBDIRS.
* include/bsp.h: include bspopts.h.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/configure.ac | 21 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/include/bsp.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/configure.ac | 17 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/include/bsp.h | 2 |
6 files changed, 47 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/ChangeLog b/c/src/lib/libbsp/sparc/erc32/ChangeLog index 3de74e06d9..83da21f31d 100644 --- a/c/src/lib/libbsp/sparc/erc32/ChangeLog +++ b/c/src/lib/libbsp/sparc/erc32/ChangeLog @@ -1,3 +1,10 @@ +2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS). + Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE). + Remove RTEMS_OUTPUT_BUILD_SUBDIRS. + * include/bsp.h: include bspopts.h. + 2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Introduce RTEMS_BSP_CONFIGURE. diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac index 8f7e7df15d..245e5aa4ce 100644 --- a/c/src/lib/libbsp/sparc/erc32/configure.ac +++ b/c/src/lib/libbsp/sparc/erc32/configure.ac @@ -22,11 +22,20 @@ AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") RTEMS_CONFIG_BUILD_SUBDIRS(tools) ## bsp-specific options -CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0} -AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS], - [$CONSOLE_USE_INTERRUPTS], - [whether using console interrupts]) - +RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) +RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], +[The erc32 console driver can operate in either polled or interrupt mode. +Under the simulator (especially when FAST_UART is defined), polled seems to operate +better. It is common for a task to print a line (like the end of test message) and +then exit. In this case, the program returns control to the simulator command line +before the program has even queued the output to the uart. Thus sis has no chance +of getting the data out.]) + +RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[]) +RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE], +[If defined, speed up the clock ticks while the idle task is running so + time spent in the idle task is minimized. This significantly reduces + the wall time required to execute the RTEMS test suites.]) # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile @@ -40,5 +49,3 @@ startup/Makefile timer/Makefile wrapup/Makefile]) AC_OUTPUT - -RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS) diff --git a/c/src/lib/libbsp/sparc/erc32/include/bsp.h b/c/src/lib/libbsp/sparc/erc32/include/bsp.h index 6ed0df4962..3142c7499b 100644 --- a/c/src/lib/libbsp/sparc/erc32/include/bsp.h +++ b/c/src/lib/libbsp/sparc/erc32/include/bsp.h @@ -26,6 +26,8 @@ extern "C" { #endif +#include <bspopts.h> + #include <rtems.h> #include <iosupp.h> #include <erc32.h> diff --git a/c/src/lib/libbsp/sparc/leon/ChangeLog b/c/src/lib/libbsp/sparc/leon/ChangeLog index 911a3be709..3416f3ba5c 100644 --- a/c/src/lib/libbsp/sparc/leon/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon/ChangeLog @@ -1,3 +1,10 @@ +2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS). + Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE). + Remove RTEMS_OUTPUT_BUILD_SUBDIRS. + * include/bsp.h: include bspopts.h. + 2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Introduce RTEMS_BSP_CONFIGURE. diff --git a/c/src/lib/libbsp/sparc/leon/configure.ac b/c/src/lib/libbsp/sparc/leon/configure.ac index 9b478017fe..d19333dcab 100644 --- a/c/src/lib/libbsp/sparc/leon/configure.ac +++ b/c/src/lib/libbsp/sparc/leon/configure.ac @@ -21,6 +21,21 @@ RTEMS_CHECK_NETWORKING RTEMS_CONFIG_BUILD_SUBDIRS(tools) +## bsp-specific options +RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) +RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], +[The erc32 console driver can operate in either polled or interrupt mode. +Under the simulator (especially when FAST_UART is defined), polled seems to operate +better. It is common for a task to print a line (like the end of test message) and +then exit. In this case, the program returns control to the simulator command line +before the program has even queued the output to the uart. Thus sis has no chance +of getting the data out.]) + +RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[]) +RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE], +[If defined, speed up the clock ticks while the idle task is running so + time spent in the idle task is minimized. This significantly reduces + the wall time required to execute the RTEMS test suites.]) # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile @@ -33,5 +48,3 @@ startup/Makefile timer/Makefile wrapup/Makefile]) AC_OUTPUT - -RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS) diff --git a/c/src/lib/libbsp/sparc/leon/include/bsp.h b/c/src/lib/libbsp/sparc/leon/include/bsp.h index 1d9b58f1cd..a5bf534d16 100644 --- a/c/src/lib/libbsp/sparc/leon/include/bsp.h +++ b/c/src/lib/libbsp/sparc/leon/include/bsp.h @@ -27,6 +27,8 @@ extern "C" { #endif +#include <bspopts.h> + #include <rtems.h> #include <iosupp.h> #include <leon.h> |