diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 14:18:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 14:18:21 +0200 |
commit | 22506ae9c3edc30592e6012410753296586b9e25 (patch) | |
tree | 7d66e5ae61dd031560be44403385c1988fdb3cef | |
parent | Fix BSD sections (diff) | |
parent | fstests/fsrdwr: Add block read/write test case (diff) | |
download | rtems-22506ae9c3edc30592e6012410753296586b9e25.tar.bz2 |
Merge branch 'upstream'
971 files changed, 4566 insertions, 1310 deletions
diff --git a/Makefile.am b/Makefile.am index 93b398b011..6a765a36e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,9 @@ # # top level directory for RTEMS build tree # +## +## $Id$ +## ACLOCAL_AMFLAGS = -I aclocal diff --git a/aclocal/bsp-alias.m4 b/aclocal/bsp-alias.m4 index 9aafbccee0..8a9b21a7c6 100644 --- a/aclocal/bsp-alias.m4 +++ b/aclocal/bsp-alias.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) dnl Internal subroutine to RTEMS_BSP_ALIAS AC_DEFUN([_RTEMS_BSP_ALIAS], diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4 index 6870bbf29a..ea5537685c 100644 --- a/aclocal/canonical-target-name.m4 +++ b/aclocal/canonical-target-name.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl canonicalize target cpu dnl NOTE: Most rtems targets do not fullfil autoconf's dnl target naming conventions "processor-vendor-os" diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4 index 500fcc8b6c..27a4c41ea4 100644 --- a/aclocal/check-bsps.m4 +++ b/aclocal/check-bsps.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Report all available bsps for a target within the source tree dnl dnl RTEMS_CHECK_BSPS(bsp_list) diff --git a/aclocal/check-custom-bsp.m4 b/aclocal/check-custom-bsp.m4 index 43b379c095..c4ea9d4c24 100644 --- a/aclocal/check-custom-bsp.m4 +++ b/aclocal/check-custom-bsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir diff --git a/aclocal/enable-cxx.m4 b/aclocal/enable-cxx.m4 index ddd37dc0c8..8648743c2d 100644 --- a/aclocal/enable-cxx.m4 +++ b/aclocal/enable-cxx.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_CXX], [ AC_ARG_ENABLE(cxx, diff --git a/aclocal/enable-multiprocessing.m4 b/aclocal/enable-multiprocessing.m4 index 8707c9eecf..175de9ceb0 100644 --- a/aclocal/enable-multiprocessing.m4 +++ b/aclocal/enable-multiprocessing.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING], [ AC_ARG_ENABLE(multiprocessing, diff --git a/aclocal/enable-networking.m4 b/aclocal/enable-networking.m4 index 7cede53fce..df02ef2ed7 100644 --- a/aclocal/enable-networking.m4 +++ b/aclocal/enable-networking.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_NETWORKING], [ ## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl diff --git a/aclocal/enable-posix.m4 b/aclocal/enable-posix.m4 index 272704c43e..1d55432a7b 100644 --- a/aclocal/enable-posix.m4 +++ b/aclocal/enable-posix.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_POSIX], [ ## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl diff --git a/aclocal/enable-rtems-debug.m4 b/aclocal/enable-rtems-debug.m4 index 18bb67f284..1edcea0a59 100644 --- a/aclocal/enable-rtems-debug.m4 +++ b/aclocal/enable-rtems-debug.m4 @@ -1,3 +1,5 @@ +## $Id$ + AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG], [ AC_ARG_ENABLE(rtems-debug, diff --git a/aclocal/enable-rtemsbsp.m4 b/aclocal/enable-rtemsbsp.m4 index 613a29e290..d8ffc55e09 100644 --- a/aclocal/enable-rtemsbsp.m4 +++ b/aclocal/enable-rtemsbsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Override the set of BSPs to be built. dnl used by the toplevel configure script dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list) diff --git a/aclocal/enable-smp.m4 b/aclocal/enable-smp.m4 index b290ac33ab..84561f8bbd 100644 --- a/aclocal/enable-smp.m4 +++ b/aclocal/enable-smp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_SMP], [ ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl diff --git a/aclocal/enable-tests.m4 b/aclocal/enable-tests.m4 index 9fb7fa02c9..a48168fa42 100644 --- a/aclocal/enable-tests.m4 +++ b/aclocal/enable-tests.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_TESTS], [ AC_ARG_ENABLE(tests, diff --git a/aclocal/path-ksh.m4 b/aclocal/path-ksh.m4 index 2c79b31d1e..306c4ca2e7 100644 --- a/aclocal/path-ksh.m4 +++ b/aclocal/path-ksh.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_PATH_KSH], [ dnl NOTE: prefer bash over ksh over sh diff --git a/aclocal/project-root.m4 b/aclocal/project-root.m4 index 07415fcd5a..11643b9d7f 100644 --- a/aclocal/project-root.m4 +++ b/aclocal/project-root.m4 @@ -1,3 +1,8 @@ +dnl +dnl $Id$ +dnl + +dnl dnl PROJECT_TOPdir .. relative path to the top of the build-tree dnl PROJECT_ROOT .. relative path to the top of the temporary dnl installation directory inside the build-tree diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4 index c3055df4ba..c6acfd1081 100644 --- a/aclocal/rtems-top.m4 +++ b/aclocal/rtems-top.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + # AC_DISABLE_OPTION_CHECKING is not available before 2.62 AC_PREREQ(2.62) diff --git a/c/Makefile.am b/c/Makefile.am index c88c3657b6..bc10eab84d 100644 --- a/c/Makefile.am +++ b/c/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal ## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP diff --git a/c/acinclude.m4 b/c/acinclude.m4 index 874671dd9d..38e059d9e6 100644 --- a/c/acinclude.m4 +++ b/c/acinclude.m4 @@ -1,3 +1,6 @@ +dnl $Id$ + +dnl dnl Misc utility macros for subdir handling to work around missing abilities dnl in autoconf, automake and structural issues with RTEMS dnl diff --git a/c/configure.ac b/c/configure.ac index d64d9d49f3..4763dacd86 100644 --- a/c/configure.ac +++ b/c/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/Makefile.am b/c/src/Makefile.am index aeec2ea1d1..dd737af4a2 100644 --- a/c/src/Makefile.am +++ b/c/src/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I aclocal SUBDIRS = . @BSP_SUBDIRS@ diff --git a/c/src/acinclude.m4 b/c/src/acinclude.m4 index 00815f9fc2..910bb462e3 100644 --- a/c/src/acinclude.m4 +++ b/c/src/acinclude.m4 @@ -1,3 +1,4 @@ +# $Id$ # # Some hacks for handling special config subdirectories # diff --git a/c/src/aclocal/bsp-alias.m4 b/c/src/aclocal/bsp-alias.m4 index 9aafbccee0..8a9b21a7c6 100644 --- a/c/src/aclocal/bsp-alias.m4 +++ b/c/src/aclocal/bsp-alias.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) dnl Internal subroutine to RTEMS_BSP_ALIAS AC_DEFUN([_RTEMS_BSP_ALIAS], diff --git a/c/src/aclocal/bsp-arg-enable.m4 b/c/src/aclocal/bsp-arg-enable.m4 index 83c92ee7a4..a03d78b5c2 100644 --- a/c/src/aclocal/bsp-arg-enable.m4 +++ b/c/src/aclocal/bsp-arg-enable.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE]) dnl dnl Accept --enable-FEATURE=<RTEMS_BSP>:<bsp-value> and diff --git a/c/src/aclocal/bsp-bootcard-options.m4 b/c/src/aclocal/bsp-bootcard-options.m4 index 77c7af6f21..4495bc3093 100644 --- a/c/src/aclocal/bsp-bootcard-options.m4 +++ b/c/src/aclocal/bsp-bootcard-options.m4 @@ -1,3 +1,6 @@ +dnl $Id$ +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 diff --git a/c/src/aclocal/bsp-bspcleanup-options.m4 b/c/src/aclocal/bsp-bspcleanup-options.m4 index 464effc00f..c880c21adc 100644 --- a/c/src/aclocal/bsp-bspcleanup-options.m4 +++ b/c/src/aclocal/bsp-bspcleanup-options.m4 @@ -1,3 +1,6 @@ +dnl $Id$ +dnl + dnl BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs' dnl configure script with the standard options supported by the shared dnl implementation of bsp_cleanup(). diff --git a/c/src/aclocal/bsp-configure.m4 b/c/src/aclocal/bsp-configure.m4 index c6ff76319a..75972e9e6b 100644 --- a/c/src/aclocal/bsp-configure.m4 +++ b/c/src/aclocal/bsp-configure.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl RTEMS_BSP_CONFIGURE dnl Common macro to be included by all bsp-configure.acs AC_DEFUN([RTEMS_BSP_CONFIGURE], diff --git a/c/src/aclocal/bsp-linkcmds.m4 b/c/src/aclocal/bsp-linkcmds.m4 index 397609f6e0..7304e1f5ca 100644 --- a/c/src/aclocal/bsp-linkcmds.m4 +++ b/c/src/aclocal/bsp-linkcmds.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Install a BSP's linkcmds from the source-tree into the build-tree AC_DEFUN([RTEMS_BSP_LINKCMDS],[ LINKCMDS= diff --git a/c/src/aclocal/bspopts.m4 b/c/src/aclocal/bspopts.m4 index 8fcb096f89..5526ae9077 100644 --- a/c/src/aclocal/bspopts.m4 +++ b/c/src/aclocal/bspopts.m4 @@ -1,3 +1,6 @@ +dnl $Id$ +dnl + dnl RTEMS_BSPOPTS_* - some autoconf voodoo to handle default values and dnl help-strings for per-BSP-environment variables. diff --git a/c/src/aclocal/canonical-target-name.m4 b/c/src/aclocal/canonical-target-name.m4 index a237c7ba25..230583bf8c 100644 --- a/c/src/aclocal/canonical-target-name.m4 +++ b/c/src/aclocal/canonical-target-name.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl canonicalize target cpu dnl NOTE: Most rtems targets do not fullfil autoconf's dnl target naming conventions "processor-vendor-os" diff --git a/c/src/aclocal/canonicalize-tools.m4 b/c/src/aclocal/canonicalize-tools.m4 index 75364392ce..eb3eb95827 100644 --- a/c/src/aclocal/canonicalize-tools.m4 +++ b/c/src/aclocal/canonicalize-tools.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Set target tools dnl diff --git a/c/src/aclocal/check-custom-bsp.m4 b/c/src/aclocal/check-custom-bsp.m4 index 262f48cd60..d686e6e526 100644 --- a/c/src/aclocal/check-custom-bsp.m4 +++ b/c/src/aclocal/check-custom-bsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir diff --git a/c/src/aclocal/check-cxx.m4 b/c/src/aclocal/check-cxx.m4 index e679d4e296..873cc2b422 100644 --- a/c/src/aclocal/check-cxx.m4 +++ b/c/src/aclocal/check-cxx.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_CXX], [dnl AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl diff --git a/c/src/aclocal/check-multiprocessing.m4 b/c/src/aclocal/check-multiprocessing.m4 index 5959f345d1..73f3feae51 100644 --- a/c/src/aclocal/check-multiprocessing.m4 +++ b/c/src/aclocal/check-multiprocessing.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING], [dnl AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl diff --git a/c/src/aclocal/check-networking.m4 b/c/src/aclocal/check-networking.m4 index fd1fd9d295..1679bba714 100644 --- a/c/src/aclocal/check-networking.m4 +++ b/c/src/aclocal/check-networking.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_NETWORKING], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl diff --git a/c/src/aclocal/check-posix.m4 b/c/src/aclocal/check-posix.m4 index 8ef64f06bc..1cf56ebcdf 100644 --- a/c/src/aclocal/check-posix.m4 +++ b/c/src/aclocal/check-posix.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_POSIX_API], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl diff --git a/c/src/aclocal/check-smp.m4 b/c/src/aclocal/check-smp.m4 index 37c98d05ff..e93c33c017 100644 --- a/c/src/aclocal/check-smp.m4 +++ b/c/src/aclocal/check-smp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_SMP], [dnl AC_REQUIRE([RTEMS_ENABLE_SMP])dnl diff --git a/c/src/aclocal/check-tool.m4 b/c/src/aclocal/check-tool.m4 index 2bc137cd96..4c412c074a 100644 --- a/c/src/aclocal/check-tool.m4 +++ b/c/src/aclocal/check-tool.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + ## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to ## the un-prefixed version of PROG-TO-CHECK-FOR. dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) diff --git a/c/src/aclocal/config-subdirs.m4 b/c/src/aclocal/config-subdirs.m4 index 874671dd9d..38e059d9e6 100644 --- a/c/src/aclocal/config-subdirs.m4 +++ b/c/src/aclocal/config-subdirs.m4 @@ -1,3 +1,6 @@ +dnl $Id$ + +dnl dnl Misc utility macros for subdir handling to work around missing abilities dnl in autoconf, automake and structural issues with RTEMS dnl diff --git a/c/src/aclocal/enable-cxx.m4 b/c/src/aclocal/enable-cxx.m4 index 759d81b1e9..08cb5d4191 100644 --- a/c/src/aclocal/enable-cxx.m4 +++ b/c/src/aclocal/enable-cxx.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_CXX], [ AC_ARG_ENABLE(cxx, diff --git a/c/src/aclocal/enable-multiprocessing.m4 b/c/src/aclocal/enable-multiprocessing.m4 index 035292f7de..34a0caa001 100644 --- a/c/src/aclocal/enable-multiprocessing.m4 +++ b/c/src/aclocal/enable-multiprocessing.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING], [ AC_ARG_ENABLE(multiprocessing, diff --git a/c/src/aclocal/enable-networking.m4 b/c/src/aclocal/enable-networking.m4 index 8a9dc36cbd..906ff8a6b3 100644 --- a/c/src/aclocal/enable-networking.m4 +++ b/c/src/aclocal/enable-networking.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_NETWORKING], [ ## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl diff --git a/c/src/aclocal/enable-posix.m4 b/c/src/aclocal/enable-posix.m4 index f96ec1ffcb..b250bcf307 100644 --- a/c/src/aclocal/enable-posix.m4 +++ b/c/src/aclocal/enable-posix.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_POSIX], [ ## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl diff --git a/c/src/aclocal/enable-rtemsbsp.m4 b/c/src/aclocal/enable-rtemsbsp.m4 index 91c14a9926..35d8b8bc89 100644 --- a/c/src/aclocal/enable-rtemsbsp.m4 +++ b/c/src/aclocal/enable-rtemsbsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Override the set of BSPs to be built. dnl used by the toplevel configure script dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list) diff --git a/c/src/aclocal/enable-smp.m4 b/c/src/aclocal/enable-smp.m4 index b290ac33ab..84561f8bbd 100644 --- a/c/src/aclocal/enable-smp.m4 +++ b/c/src/aclocal/enable-smp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_SMP], [ ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl diff --git a/c/src/aclocal/env-rtemsbsp.m4 b/c/src/aclocal/env-rtemsbsp.m4 index 2fcc7fe849..d32d43c460 100644 --- a/c/src/aclocal/env-rtemsbsp.m4 +++ b/c/src/aclocal/env-rtemsbsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Pass a single BSP via an environment variable dnl used by per BSP configure scripts AC_DEFUN([RTEMS_ENV_RTEMSBSP], diff --git a/c/src/aclocal/gcc-isystem.m4 b/c/src/aclocal/gcc-isystem.m4 index c0eebf6432..94098cf33c 100644 --- a/c/src/aclocal/gcc-isystem.m4 +++ b/c/src/aclocal/gcc-isystem.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check whether the gcc accepts -isystem dnl diff --git a/c/src/aclocal/gcc-pipe.m4 b/c/src/aclocal/gcc-pipe.m4 index fbc78b9ca7..2a04629bb2 100644 --- a/c/src/aclocal/gcc-pipe.m4 +++ b/c/src/aclocal/gcc-pipe.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check whether the target compiler accepts -pipe dnl diff --git a/c/src/aclocal/gcc-specs.m4 b/c/src/aclocal/gcc-specs.m4 index fad700416b..dd49bb95d4 100644 --- a/c/src/aclocal/gcc-specs.m4 +++ b/c/src/aclocal/gcc-specs.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check whether the target compiler accepts -specs dnl diff --git a/c/src/aclocal/i386-gas-code16.m4 b/c/src/aclocal/i386-gas-code16.m4 index 9c12d7bee3..7b9ce2f91c 100644 --- a/c/src/aclocal/i386-gas-code16.m4 +++ b/c/src/aclocal/i386-gas-code16.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl check for i386 gas supporting 16 bit mode dnl - binutils 2.9.1.0.7 and higher diff --git a/c/src/aclocal/path-ksh.m4 b/c/src/aclocal/path-ksh.m4 index 2c79b31d1e..306c4ca2e7 100644 --- a/c/src/aclocal/path-ksh.m4 +++ b/c/src/aclocal/path-ksh.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_PATH_KSH], [ dnl NOTE: prefer bash over ksh over sh diff --git a/c/src/aclocal/ppc.m4 b/c/src/aclocal/ppc.m4 index 6eb1fc8f85..7275685a44 100644 --- a/c/src/aclocal/ppc.m4 +++ b/c/src/aclocal/ppc.m4 @@ -1,3 +1,4 @@ +# $Id$ # # Some hacks for handling powerpc-exception subdirectories # diff --git a/c/src/aclocal/prog-cc.m4 b/c/src/aclocal/prog-cc.m4 index 64717dd3a8..50ebe4e8cd 100644 --- a/c/src/aclocal/prog-cc.m4 +++ b/c/src/aclocal/prog-cc.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check for target gcc dnl diff --git a/c/src/aclocal/prog-ccas.m4 b/c/src/aclocal/prog-ccas.m4 index edd08d841d..2efa2d89f8 100644 --- a/c/src/aclocal/prog-ccas.m4 +++ b/c/src/aclocal/prog-ccas.m4 @@ -1,3 +1,5 @@ +## $Id$ + AC_DEFUN([RTEMS_PROG_CCAS], [ AC_REQUIRE([RTEMS_PROG_CC]) diff --git a/c/src/aclocal/prog-cxx.m4 b/c/src/aclocal/prog-cxx.m4 index 7180c604d4..20175ee27c 100644 --- a/c/src/aclocal/prog-cxx.m4 +++ b/c/src/aclocal/prog-cxx.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check for target g++ dnl diff --git a/c/src/aclocal/project-root.m4 b/c/src/aclocal/project-root.m4 index a3f5cd3684..b83cdd7d47 100644 --- a/c/src/aclocal/project-root.m4 +++ b/c/src/aclocal/project-root.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + AC_DEFUN([RTEMS_PROJECT_ROOT], [dnl AC_REQUIRE([RTEMS_TOP]) diff --git a/c/src/aclocal/rtems-ampolish.m4 b/c/src/aclocal/rtems-ampolish.m4 index feb9ad20ee..df3b48075e 100644 --- a/c/src/aclocal/rtems-ampolish.m4 +++ b/c/src/aclocal/rtems-ampolish.m4 @@ -1,3 +1,5 @@ +# $Id$ + AC_DEFUN([RTEMS_AMPOLISH3], [ AC_REQUIRE([AM_INIT_AUTOMAKE]) diff --git a/c/src/aclocal/rtems-top.m4 b/c/src/aclocal/rtems-top.m4 index 2668c9e10b..74a3694b94 100644 --- a/c/src/aclocal/rtems-top.m4 +++ b/c/src/aclocal/rtems-top.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + # AC_DISABLE_OPTION_CHECKING is not available before 2.62 AC_PREREQ(2.62) diff --git a/c/src/aclocal/target.m4 b/c/src/aclocal/target.m4 index 8929a327b8..af7d3da297 100644 --- a/c/src/aclocal/target.m4 +++ b/c/src/aclocal/target.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + ## HACK: Work-around to structural issue with RTEMS ## The macros below violate most autoconf and canonicalization standards AC_DEFUN([RTEMS_CONFIG_BUILD_SUBDIRS], diff --git a/c/src/ada-tests/Makefile.am b/c/src/ada-tests/Makefile.am index ae3f49a4ab..464b5702fd 100644 --- a/c/src/ada-tests/Makefile.am +++ b/c/src/ada-tests/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + ACLOCAL_AMFLAGS = -I aclocal -I ../../../testsuites/aclocal SUBDIRS = support samples sptests tmtests diff --git a/c/src/ada-tests/aclocal/prog-gnat.m4 b/c/src/ada-tests/aclocal/prog-gnat.m4 index a2b2879c7d..6e169a8dc7 100644 --- a/c/src/ada-tests/aclocal/prog-gnat.m4 +++ b/c/src/ada-tests/aclocal/prog-gnat.m4 @@ -1,3 +1,4 @@ +## $Id$ ## ## Partially borrowed from gcc-3.2 ## diff --git a/c/src/ada-tests/configure.ac b/c/src/ada-tests/configure.ac index e7d7977278..1ef7c5af3d 100644 --- a/c/src/ada-tests/configure.ac +++ b/c/src/ada-tests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/ada-tests/mptests/Makefile.am b/c/src/ada-tests/mptests/Makefile.am index c99687e283..f81551f3e8 100644 --- a/c/src/ada-tests/mptests/Makefile.am +++ b/c/src/ada-tests/mptests/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = SUBDIRS += mp01 SUBDIRS += mp02 diff --git a/c/src/ada-tests/mptests/mp01/Makefile.am b/c/src/ada-tests/mptests/mp01/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp01/Makefile.am +++ b/c/src/ada-tests/mptests/mp01/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp01/node1/Makefile.am b/c/src/ada-tests/mptests/mp01/node1/Makefile.am index 9a8744105d..b8f6dc00b0 100644 --- a/c/src/ada-tests/mptests/mp01/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp01/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp01/node2/Makefile.am b/c/src/ada-tests/mptests/mp01/node2/Makefile.am index 1f25556519..245a0e19e9 100644 --- a/c/src/ada-tests/mptests/mp01/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp01/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp02/Makefile.am b/c/src/ada-tests/mptests/mp02/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp02/Makefile.am +++ b/c/src/ada-tests/mptests/mp02/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp02/node1/Makefile.am b/c/src/ada-tests/mptests/mp02/node1/Makefile.am index 3d25f17684..2017d8a72d 100644 --- a/c/src/ada-tests/mptests/mp02/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp02/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp02/node2/Makefile.am b/c/src/ada-tests/mptests/mp02/node2/Makefile.am index 877cb51869..3d74850f2d 100644 --- a/c/src/ada-tests/mptests/mp02/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp02/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp03/Makefile.am b/c/src/ada-tests/mptests/mp03/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp03/Makefile.am +++ b/c/src/ada-tests/mptests/mp03/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp03/node1/Makefile.am b/c/src/ada-tests/mptests/mp03/node1/Makefile.am index 859fdb3702..b63d8c1540 100644 --- a/c/src/ada-tests/mptests/mp03/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp03/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp03/node2/Makefile.am b/c/src/ada-tests/mptests/mp03/node2/Makefile.am index b7088eb4a7..75736010be 100644 --- a/c/src/ada-tests/mptests/mp03/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp03/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp04/Makefile.am b/c/src/ada-tests/mptests/mp04/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp04/Makefile.am +++ b/c/src/ada-tests/mptests/mp04/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp04/node1/Makefile.am b/c/src/ada-tests/mptests/mp04/node1/Makefile.am index 221ec1a2b8..16453ed7e7 100644 --- a/c/src/ada-tests/mptests/mp04/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp04/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp04/node2/Makefile.am b/c/src/ada-tests/mptests/mp04/node2/Makefile.am index 377564a460..4932243b78 100644 --- a/c/src/ada-tests/mptests/mp04/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp04/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp05/Makefile.am b/c/src/ada-tests/mptests/mp05/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp05/Makefile.am +++ b/c/src/ada-tests/mptests/mp05/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp05/node1/Makefile.am b/c/src/ada-tests/mptests/mp05/node1/Makefile.am index be025c259b..51b8b24319 100644 --- a/c/src/ada-tests/mptests/mp05/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp05/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp05/node2/Makefile.am b/c/src/ada-tests/mptests/mp05/node2/Makefile.am index 8f4be962ff..8af1f3db8f 100644 --- a/c/src/ada-tests/mptests/mp05/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp05/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp06/Makefile.am b/c/src/ada-tests/mptests/mp06/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp06/Makefile.am +++ b/c/src/ada-tests/mptests/mp06/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp06/node1/Makefile.am b/c/src/ada-tests/mptests/mp06/node1/Makefile.am index d5e2cd3671..edb9ba4bd9 100644 --- a/c/src/ada-tests/mptests/mp06/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp06/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp06/node2/Makefile.am b/c/src/ada-tests/mptests/mp06/node2/Makefile.am index 47c3d13d67..95278aec03 100644 --- a/c/src/ada-tests/mptests/mp06/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp06/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp07/Makefile.am b/c/src/ada-tests/mptests/mp07/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp07/Makefile.am +++ b/c/src/ada-tests/mptests/mp07/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp07/node1/Makefile.am b/c/src/ada-tests/mptests/mp07/node1/Makefile.am index 540e28f956..361df5e9c5 100644 --- a/c/src/ada-tests/mptests/mp07/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp07/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp07/node2/Makefile.am b/c/src/ada-tests/mptests/mp07/node2/Makefile.am index 9ef989f01f..e3663221ee 100644 --- a/c/src/ada-tests/mptests/mp07/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp07/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp08/Makefile.am b/c/src/ada-tests/mptests/mp08/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp08/Makefile.am +++ b/c/src/ada-tests/mptests/mp08/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp08/node1/Makefile.am b/c/src/ada-tests/mptests/mp08/node1/Makefile.am index 4e007f25a9..314d14d661 100644 --- a/c/src/ada-tests/mptests/mp08/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp08/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp08/node2/Makefile.am b/c/src/ada-tests/mptests/mp08/node2/Makefile.am index 5a804c32e4..a61e89d2d2 100644 --- a/c/src/ada-tests/mptests/mp08/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp08/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp09/Makefile.am b/c/src/ada-tests/mptests/mp09/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp09/Makefile.am +++ b/c/src/ada-tests/mptests/mp09/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp09/node1/Makefile.am b/c/src/ada-tests/mptests/mp09/node1/Makefile.am index bf40a63d59..272b640d5b 100644 --- a/c/src/ada-tests/mptests/mp09/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp09/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp09/node2/Makefile.am b/c/src/ada-tests/mptests/mp09/node2/Makefile.am index b4b631cda2..2627859ad3 100644 --- a/c/src/ada-tests/mptests/mp09/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp09/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp10/Makefile.am b/c/src/ada-tests/mptests/mp10/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp10/Makefile.am +++ b/c/src/ada-tests/mptests/mp10/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp10/node1/Makefile.am b/c/src/ada-tests/mptests/mp10/node1/Makefile.am index 49a7eadab7..eccf99ca3f 100644 --- a/c/src/ada-tests/mptests/mp10/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp10/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp10/node2/Makefile.am b/c/src/ada-tests/mptests/mp10/node2/Makefile.am index 11e8f53b29..dab6337642 100644 --- a/c/src/ada-tests/mptests/mp10/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp10/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp11/Makefile.am b/c/src/ada-tests/mptests/mp11/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp11/Makefile.am +++ b/c/src/ada-tests/mptests/mp11/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp11/node1/Makefile.am b/c/src/ada-tests/mptests/mp11/node1/Makefile.am index e791c4f219..c0c198dda1 100644 --- a/c/src/ada-tests/mptests/mp11/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp11/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp11/node2/Makefile.am b/c/src/ada-tests/mptests/mp11/node2/Makefile.am index a216808867..38de152d31 100644 --- a/c/src/ada-tests/mptests/mp11/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp11/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp12/Makefile.am b/c/src/ada-tests/mptests/mp12/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp12/Makefile.am +++ b/c/src/ada-tests/mptests/mp12/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp12/node1/Makefile.am b/c/src/ada-tests/mptests/mp12/node1/Makefile.am index 22eb8b7ea6..46d095532a 100644 --- a/c/src/ada-tests/mptests/mp12/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp12/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp12/node2/Makefile.am b/c/src/ada-tests/mptests/mp12/node2/Makefile.am index 889f100010..63a7021691 100644 --- a/c/src/ada-tests/mptests/mp12/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp12/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp13/Makefile.am b/c/src/ada-tests/mptests/mp13/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp13/Makefile.am +++ b/c/src/ada-tests/mptests/mp13/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp13/node1/Makefile.am b/c/src/ada-tests/mptests/mp13/node1/Makefile.am index aa80acd467..d55d4aea4f 100644 --- a/c/src/ada-tests/mptests/mp13/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp13/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp13/node2/Makefile.am b/c/src/ada-tests/mptests/mp13/node2/Makefile.am index c28ec60bb2..50e7f68257 100644 --- a/c/src/ada-tests/mptests/mp13/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp13/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp14/Makefile.am b/c/src/ada-tests/mptests/mp14/Makefile.am index 0ad1000d4d..037d3ad7cb 100644 --- a/c/src/ada-tests/mptests/mp14/Makefile.am +++ b/c/src/ada-tests/mptests/mp14/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = node1 node2 include $(top_srcdir)/../../../testsuites/automake/subdirs.am diff --git a/c/src/ada-tests/mptests/mp14/node1/Makefile.am b/c/src/ada-tests/mptests/mp14/node1/Makefile.am index 0dc8f8be52..0236d0cf08 100644 --- a/c/src/ada-tests/mptests/mp14/node1/Makefile.am +++ b/c/src/ada-tests/mptests/mp14/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/mptests/mp14/node2/Makefile.am b/c/src/ada-tests/mptests/mp14/node2/Makefile.am index 30d2cf8c3f..48f6bcae2a 100644 --- a/c/src/ada-tests/mptests/mp14/node2/Makefile.am +++ b/c/src/ada-tests/mptests/mp14/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/Makefile.am b/c/src/ada-tests/samples/Makefile.am index a292ae616e..9079da44fb 100644 --- a/c/src/ada-tests/samples/Makefile.am +++ b/c/src/ada-tests/samples/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = hello ticker base_sp nsecs if HAS_MP diff --git a/c/src/ada-tests/samples/base_mp/Makefile.am b/c/src/ada-tests/samples/base_mp/Makefile.am index 8621f194d9..847b3b94a4 100644 --- a/c/src/ada-tests/samples/base_mp/Makefile.am +++ b/c/src/ada-tests/samples/base_mp/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/base_mp/node1/Makefile.am b/c/src/ada-tests/samples/base_mp/node1/Makefile.am index 530766541c..5bc2153e74 100644 --- a/c/src/ada-tests/samples/base_mp/node1/Makefile.am +++ b/c/src/ada-tests/samples/base_mp/node1/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/base_mp/node2/Makefile.am b/c/src/ada-tests/samples/base_mp/node2/Makefile.am index efc208bf65..3ffab7fae1 100644 --- a/c/src/ada-tests/samples/base_mp/node2/Makefile.am +++ b/c/src/ada-tests/samples/base_mp/node2/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/base_sp/Makefile.am b/c/src/ada-tests/samples/base_sp/Makefile.am index 6575f06ccc..b792f9525d 100644 --- a/c/src/ada-tests/samples/base_sp/Makefile.am +++ b/c/src/ada-tests/samples/base_sp/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/hello/Makefile.am b/c/src/ada-tests/samples/hello/Makefile.am index ff4b51c232..7aa2d5da0f 100644 --- a/c/src/ada-tests/samples/hello/Makefile.am +++ b/c/src/ada-tests/samples/hello/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/nsecs/Makefile.am b/c/src/ada-tests/samples/nsecs/Makefile.am index bc8dd2a87b..36493b85b4 100644 --- a/c/src/ada-tests/samples/nsecs/Makefile.am +++ b/c/src/ada-tests/samples/nsecs/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/samples/ticker/Makefile.am b/c/src/ada-tests/samples/ticker/Makefile.am index b21d6c464f..14864f9065 100644 --- a/c/src/ada-tests/samples/ticker/Makefile.am +++ b/c/src/ada-tests/samples/ticker/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/Makefile.am b/c/src/ada-tests/sptests/Makefile.am index 5de1f4ea06..17131ec98e 100644 --- a/c/src/ada-tests/sptests/Makefile.am +++ b/c/src/ada-tests/sptests/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = SUBDIRS += sp01 SUBDIRS += sp02 diff --git a/c/src/ada-tests/sptests/sp01/Makefile.am b/c/src/ada-tests/sptests/sp01/Makefile.am index fbbc8374c0..04640499d3 100644 --- a/c/src/ada-tests/sptests/sp01/Makefile.am +++ b/c/src/ada-tests/sptests/sp01/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp02/Makefile.am b/c/src/ada-tests/sptests/sp02/Makefile.am index d23a4e6fdb..64f675dcd6 100644 --- a/c/src/ada-tests/sptests/sp02/Makefile.am +++ b/c/src/ada-tests/sptests/sp02/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp03/Makefile.am b/c/src/ada-tests/sptests/sp03/Makefile.am index cdb256c07f..e8a46e66df 100644 --- a/c/src/ada-tests/sptests/sp03/Makefile.am +++ b/c/src/ada-tests/sptests/sp03/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp04/Makefile.am b/c/src/ada-tests/sptests/sp04/Makefile.am index cbc8cf294b..197b8559ca 100644 --- a/c/src/ada-tests/sptests/sp04/Makefile.am +++ b/c/src/ada-tests/sptests/sp04/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp05/Makefile.am b/c/src/ada-tests/sptests/sp05/Makefile.am index c66d419a14..ad7816e761 100644 --- a/c/src/ada-tests/sptests/sp05/Makefile.am +++ b/c/src/ada-tests/sptests/sp05/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp06/Makefile.am b/c/src/ada-tests/sptests/sp06/Makefile.am index 538e0939f8..220cc7824b 100644 --- a/c/src/ada-tests/sptests/sp06/Makefile.am +++ b/c/src/ada-tests/sptests/sp06/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp07/Makefile.am b/c/src/ada-tests/sptests/sp07/Makefile.am index 52c93798c0..b5079c1fba 100644 --- a/c/src/ada-tests/sptests/sp07/Makefile.am +++ b/c/src/ada-tests/sptests/sp07/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp08/Makefile.am b/c/src/ada-tests/sptests/sp08/Makefile.am index 1514bd39a0..2e4ff1de96 100644 --- a/c/src/ada-tests/sptests/sp08/Makefile.am +++ b/c/src/ada-tests/sptests/sp08/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp09/Makefile.am b/c/src/ada-tests/sptests/sp09/Makefile.am index ba4edebc84..4cb5113f82 100644 --- a/c/src/ada-tests/sptests/sp09/Makefile.am +++ b/c/src/ada-tests/sptests/sp09/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp11/Makefile.am b/c/src/ada-tests/sptests/sp11/Makefile.am index 5c7cd28809..1060ddc619 100644 --- a/c/src/ada-tests/sptests/sp11/Makefile.am +++ b/c/src/ada-tests/sptests/sp11/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp12/Makefile.am b/c/src/ada-tests/sptests/sp12/Makefile.am index 33c5e080e3..a86d1fe4e6 100644 --- a/c/src/ada-tests/sptests/sp12/Makefile.am +++ b/c/src/ada-tests/sptests/sp12/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp13/Makefile.am b/c/src/ada-tests/sptests/sp13/Makefile.am index f54587f3a7..f33e29098b 100644 --- a/c/src/ada-tests/sptests/sp13/Makefile.am +++ b/c/src/ada-tests/sptests/sp13/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp14/Makefile.am b/c/src/ada-tests/sptests/sp14/Makefile.am index dbe01f5915..57f249548f 100644 --- a/c/src/ada-tests/sptests/sp14/Makefile.am +++ b/c/src/ada-tests/sptests/sp14/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp15/Makefile.am b/c/src/ada-tests/sptests/sp15/Makefile.am index 5804cda188..2cf45838cc 100644 --- a/c/src/ada-tests/sptests/sp15/Makefile.am +++ b/c/src/ada-tests/sptests/sp15/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp16/Makefile.am b/c/src/ada-tests/sptests/sp16/Makefile.am index fc5d075d2c..d6d523961f 100644 --- a/c/src/ada-tests/sptests/sp16/Makefile.am +++ b/c/src/ada-tests/sptests/sp16/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp17/Makefile.am b/c/src/ada-tests/sptests/sp17/Makefile.am index 7b20338c06..ea63db69d0 100644 --- a/c/src/ada-tests/sptests/sp17/Makefile.am +++ b/c/src/ada-tests/sptests/sp17/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp19/Makefile.am b/c/src/ada-tests/sptests/sp19/Makefile.am index 726b07c82d..47e31916ec 100644 --- a/c/src/ada-tests/sptests/sp19/Makefile.am +++ b/c/src/ada-tests/sptests/sp19/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp20/Makefile.am b/c/src/ada-tests/sptests/sp20/Makefile.am index 24628b8122..d8cccaa1e9 100644 --- a/c/src/ada-tests/sptests/sp20/Makefile.am +++ b/c/src/ada-tests/sptests/sp20/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp22/Makefile.am b/c/src/ada-tests/sptests/sp22/Makefile.am index 168d23befb..790b398b5a 100644 --- a/c/src/ada-tests/sptests/sp22/Makefile.am +++ b/c/src/ada-tests/sptests/sp22/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp23/Makefile.am b/c/src/ada-tests/sptests/sp23/Makefile.am index c4823a817d..fdd80caa2f 100644 --- a/c/src/ada-tests/sptests/sp23/Makefile.am +++ b/c/src/ada-tests/sptests/sp23/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp24/Makefile.am b/c/src/ada-tests/sptests/sp24/Makefile.am index 044faae303..d58120982e 100644 --- a/c/src/ada-tests/sptests/sp24/Makefile.am +++ b/c/src/ada-tests/sptests/sp24/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/sp25/Makefile.am b/c/src/ada-tests/sptests/sp25/Makefile.am index e5a25e495c..d2d45e7a6e 100644 --- a/c/src/ada-tests/sptests/sp25/Makefile.am +++ b/c/src/ada-tests/sptests/sp25/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/sptests/spname01/Makefile.am b/c/src/ada-tests/sptests/spname01/Makefile.am index ab5d8a6bdf..53a1566e98 100644 --- a/c/src/ada-tests/sptests/spname01/Makefile.am +++ b/c/src/ada-tests/sptests/spname01/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/support/Makefile.am b/c/src/ada-tests/support/Makefile.am index 88a4014be7..d0c160c1cb 100644 --- a/c/src/ada-tests/support/Makefile.am +++ b/c/src/ada-tests/support/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + EXTRA_DIST = EXTRA_DIST += address_io.adb EXTRA_DIST += address_io.ads diff --git a/c/src/ada-tests/tmtests/Makefile.am b/c/src/ada-tests/tmtests/Makefile.am index 35a12493b2..c83806638a 100644 --- a/c/src/ada-tests/tmtests/Makefile.am +++ b/c/src/ada-tests/tmtests/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + SUBDIRS = SUBDIRS += tm01 SUBDIRS += tm02 diff --git a/c/src/ada-tests/tmtests/tm01/Makefile.am b/c/src/ada-tests/tmtests/tm01/Makefile.am index 18932e9c15..7baa32c1fd 100644 --- a/c/src/ada-tests/tmtests/tm01/Makefile.am +++ b/c/src/ada-tests/tmtests/tm01/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm02/Makefile.am b/c/src/ada-tests/tmtests/tm02/Makefile.am index c8d86e77ba..bb76d67019 100644 --- a/c/src/ada-tests/tmtests/tm02/Makefile.am +++ b/c/src/ada-tests/tmtests/tm02/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm03/Makefile.am b/c/src/ada-tests/tmtests/tm03/Makefile.am index ea61d4b209..ff85838f40 100644 --- a/c/src/ada-tests/tmtests/tm03/Makefile.am +++ b/c/src/ada-tests/tmtests/tm03/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm04/Makefile.am b/c/src/ada-tests/tmtests/tm04/Makefile.am index 744e383ce7..50c2b4d00c 100644 --- a/c/src/ada-tests/tmtests/tm04/Makefile.am +++ b/c/src/ada-tests/tmtests/tm04/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm05/Makefile.am b/c/src/ada-tests/tmtests/tm05/Makefile.am index 9398956ee6..80826a2da9 100644 --- a/c/src/ada-tests/tmtests/tm05/Makefile.am +++ b/c/src/ada-tests/tmtests/tm05/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm06/Makefile.am b/c/src/ada-tests/tmtests/tm06/Makefile.am index 881effa4fe..347cb9f21c 100644 --- a/c/src/ada-tests/tmtests/tm06/Makefile.am +++ b/c/src/ada-tests/tmtests/tm06/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm07/Makefile.am b/c/src/ada-tests/tmtests/tm07/Makefile.am index d4bbd23128..175c4b4e0c 100644 --- a/c/src/ada-tests/tmtests/tm07/Makefile.am +++ b/c/src/ada-tests/tmtests/tm07/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm08/Makefile.am b/c/src/ada-tests/tmtests/tm08/Makefile.am index b37d09d337..347fb3cc87 100644 --- a/c/src/ada-tests/tmtests/tm08/Makefile.am +++ b/c/src/ada-tests/tmtests/tm08/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm09/Makefile.am b/c/src/ada-tests/tmtests/tm09/Makefile.am index e0be06a650..c028fbf8aa 100644 --- a/c/src/ada-tests/tmtests/tm09/Makefile.am +++ b/c/src/ada-tests/tmtests/tm09/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm10/Makefile.am b/c/src/ada-tests/tmtests/tm10/Makefile.am index 43b039dd38..dc998748aa 100644 --- a/c/src/ada-tests/tmtests/tm10/Makefile.am +++ b/c/src/ada-tests/tmtests/tm10/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm11/Makefile.am b/c/src/ada-tests/tmtests/tm11/Makefile.am index a5532f2301..43449e566e 100644 --- a/c/src/ada-tests/tmtests/tm11/Makefile.am +++ b/c/src/ada-tests/tmtests/tm11/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm12/Makefile.am b/c/src/ada-tests/tmtests/tm12/Makefile.am index 925aa17a5f..54f213704c 100644 --- a/c/src/ada-tests/tmtests/tm12/Makefile.am +++ b/c/src/ada-tests/tmtests/tm12/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm13/Makefile.am b/c/src/ada-tests/tmtests/tm13/Makefile.am index cc8bb32e16..a58cb16dfb 100644 --- a/c/src/ada-tests/tmtests/tm13/Makefile.am +++ b/c/src/ada-tests/tmtests/tm13/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm14/Makefile.am b/c/src/ada-tests/tmtests/tm14/Makefile.am index 0577c8a26c..e757523bc2 100644 --- a/c/src/ada-tests/tmtests/tm14/Makefile.am +++ b/c/src/ada-tests/tmtests/tm14/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm15/Makefile.am b/c/src/ada-tests/tmtests/tm15/Makefile.am index 09713d4b66..6f6e17dc7c 100644 --- a/c/src/ada-tests/tmtests/tm15/Makefile.am +++ b/c/src/ada-tests/tmtests/tm15/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm16/Makefile.am b/c/src/ada-tests/tmtests/tm16/Makefile.am index e3a598b83d..029afd4b7e 100644 --- a/c/src/ada-tests/tmtests/tm16/Makefile.am +++ b/c/src/ada-tests/tmtests/tm16/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm17/Makefile.am b/c/src/ada-tests/tmtests/tm17/Makefile.am index b46cc74a21..95141894d3 100644 --- a/c/src/ada-tests/tmtests/tm17/Makefile.am +++ b/c/src/ada-tests/tmtests/tm17/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm18/Makefile.am b/c/src/ada-tests/tmtests/tm18/Makefile.am index e1c08d484c..77be123547 100644 --- a/c/src/ada-tests/tmtests/tm18/Makefile.am +++ b/c/src/ada-tests/tmtests/tm18/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm19/Makefile.am b/c/src/ada-tests/tmtests/tm19/Makefile.am index 3ce11ecde0..fa43df22ca 100644 --- a/c/src/ada-tests/tmtests/tm19/Makefile.am +++ b/c/src/ada-tests/tmtests/tm19/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm20/Makefile.am b/c/src/ada-tests/tmtests/tm20/Makefile.am index 03ff046510..78040a20e4 100644 --- a/c/src/ada-tests/tmtests/tm20/Makefile.am +++ b/c/src/ada-tests/tmtests/tm20/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm21/Makefile.am b/c/src/ada-tests/tmtests/tm21/Makefile.am index 7adced3f74..5693666819 100644 --- a/c/src/ada-tests/tmtests/tm21/Makefile.am +++ b/c/src/ada-tests/tmtests/tm21/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm22/Makefile.am b/c/src/ada-tests/tmtests/tm22/Makefile.am index bbed77ec88..34fa545884 100644 --- a/c/src/ada-tests/tmtests/tm22/Makefile.am +++ b/c/src/ada-tests/tmtests/tm22/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm23/Makefile.am b/c/src/ada-tests/tmtests/tm23/Makefile.am index 04800ceb24..fa0c93b676 100644 --- a/c/src/ada-tests/tmtests/tm23/Makefile.am +++ b/c/src/ada-tests/tmtests/tm23/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm24/Makefile.am b/c/src/ada-tests/tmtests/tm24/Makefile.am index cb0fdcbb9a..c4af38dda6 100644 --- a/c/src/ada-tests/tmtests/tm24/Makefile.am +++ b/c/src/ada-tests/tmtests/tm24/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm25/Makefile.am b/c/src/ada-tests/tmtests/tm25/Makefile.am index d50089bb75..ebe7db81ae 100644 --- a/c/src/ada-tests/tmtests/tm25/Makefile.am +++ b/c/src/ada-tests/tmtests/tm25/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm28/Makefile.am b/c/src/ada-tests/tmtests/tm28/Makefile.am index e59b303823..906f020b4d 100644 --- a/c/src/ada-tests/tmtests/tm28/Makefile.am +++ b/c/src/ada-tests/tmtests/tm28/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tm29/Makefile.am b/c/src/ada-tests/tmtests/tm29/Makefile.am index d28cd2447a..036345477f 100644 --- a/c/src/ada-tests/tmtests/tm29/Makefile.am +++ b/c/src/ada-tests/tmtests/tm29/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tmck/Makefile.am b/c/src/ada-tests/tmtests/tmck/Makefile.am index 7bbe2d7765..8b9e678c7e 100644 --- a/c/src/ada-tests/tmtests/tmck/Makefile.am +++ b/c/src/ada-tests/tmtests/tmck/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada-tests/tmtests/tmoverhd/Makefile.am b/c/src/ada-tests/tmtests/tmoverhd/Makefile.am index 316117f789..adc2b7ea15 100644 --- a/c/src/ada-tests/tmtests/tmoverhd/Makefile.am +++ b/c/src/ada-tests/tmtests/tmoverhd/Makefile.am @@ -1,3 +1,5 @@ +## $Id$ + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../testsuites/automake/compile.am diff --git a/c/src/ada/Makefile.am b/c/src/ada/Makefile.am index c19ebf843b..7a7c2155f0 100644 --- a/c/src/ada/Makefile.am +++ b/c/src/ada/Makefile.am @@ -1,3 +1,7 @@ +# +# $Id$ +# + if RTEMS_ADA include_adadir = $(includedir)/adainclude include_ada_HEADERS = rtems.adb rtems.ads diff --git a/c/src/configure.ac b/c/src/configure.ac index d973af89bf..0e4a4fe3b2 100644 --- a/c/src/configure.ac +++ b/c/src/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/Makefile.am b/c/src/lib/Makefile.am index 5c6de71375..5b5680ccf8 100644 --- a/c/src/lib/Makefile.am +++ b/c/src/lib/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = libcpu libbsp include $(top_srcdir)/automake/subdirs.am diff --git a/c/src/lib/libbsp/Makefile.am b/c/src/lib/libbsp/Makefile.am index 4eff8b8485..306eb6ad8a 100644 --- a/c/src/lib/libbsp/Makefile.am +++ b/c/src/lib/libbsp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am SUBDIRS = @libbsp_cpu_subdir@ diff --git a/c/src/lib/libbsp/arm/gp32/include/bsp.h b/c/src/lib/libbsp/arm/gp32/include/bsp.h index eeace760a5..c7956b6dbf 100644 --- a/c/src/lib/libbsp/arm/gp32/include/bsp.h +++ b/c/src/lib/libbsp/arm/gp32/include/bsp.h @@ -10,8 +10,11 @@ | The license and distribution terms for this file may be | found in the file LICENSE in this distribution or at | http://www.rtems.com/license/LICENSE. +| +| $Id$ +--------------------------------------------------------------------------*/ + #ifndef _BSP_H #define _BSP_H diff --git a/c/src/lib/libbsp/arm/nds/clock/clock.c b/c/src/lib/libbsp/arm/nds/clock/clock.c index adc56f9fa4..b263e55862 100644 --- a/c/src/lib/libbsp/arm/nds/clock/clock.c +++ b/c/src/lib/libbsp/arm/nds/clock/clock.c @@ -1,14 +1,15 @@ -/* - * RTEMS for Nintendo DS clock driver. +/** + * @file * + * RTEMS for Nintendo DS clock driver. + */ + +/* * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at - * * http://www.rtems.com/license/LICENSE - * - * $Id$ */ #include <rtems.h> @@ -22,15 +23,21 @@ void Clock_isr(rtems_irq_hdl_param arg); /* + * forward declarations for methods in this file + */ +void Clock_driver_support_shutdown_hardware (void); +void Clock_driver_support_initialize_hardware (void); + +/* * isr registration variables. */ static rtems_irq_connect_data clock_isr_data = { .name = IRQ_TIMER0, .hdl = Clock_isr, .handle = NULL, - .on = clock_isr_on, - .off = clock_isr_off, - .isOn = clock_isr_is_on, + .on = NULL, + .off = NULL, + .isOn = NULL, }; void update_touchscreen (void); @@ -54,8 +61,7 @@ void update_touchscreen (void); /* * disable clock. */ -void -Clock_driver_support_shutdown_hardware (void) +void Clock_driver_support_shutdown_hardware (void) { BSP_remove_rtems_irq_handler (&clock_isr_data); TIMER_CR (0) &= ~(TIMER_ENABLE); @@ -64,8 +70,7 @@ Clock_driver_support_shutdown_hardware (void) /* * initialize clock on timer 0. */ -void -Clock_driver_support_initialize_hardware (void) +void Clock_driver_support_initialize_hardware (void) { uint32_t freq = 1000 / (rtems_configuration_get_microseconds_per_tick () / 1000); diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c b/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c index 081fa26606..19e24d3393 100644 --- a/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c +++ b/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c @@ -15,13 +15,13 @@ redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you - must not claim that you wrote the original software. If you use - this software in a product, an acknowledgment in the product - documentation would be appreciated but is not required. + must not claim that you wrote the original software. If you use + this software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and - must not be misrepresented as being the original software. + must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source - distribution. + distribution. ---------------------------------------------------------------------------------*/ @@ -32,7 +32,10 @@ #include <time.h> - +/* + * forward declaration to avoid warning + */ +void syncRTC(void); // Delay (in swiDelay units) for each bit transfer #define RTC_DELAY 48 diff --git a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c b/c/src/lib/libbsp/i386/pc386/clock/ckinit.c index c88d3b86ce..974a4ea86a 100644 --- a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c +++ b/c/src/lib/libbsp/i386/pc386/clock/ckinit.c @@ -1,4 +1,6 @@ -/* +/** + * @file + * * Clock Tick Device Driver * * History: @@ -10,8 +12,10 @@ * + Reworked by Joel Sherrill to use clock driver template. * This removes all boilerplate and leave original hardware * code I developed for the go32 BSP. - * - * COPYRIGHT (c) 1989-2008. + */ + +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -32,6 +36,18 @@ volatile uint32_t pc386_microseconds_per_isr; volatile uint32_t pc386_isrs_per_tick; uint32_t pc386_clock_click_count; +/* forward declaration */ +void Clock_isr(void *param); +void Clock_driver_support_at_tick_tsc(void); +void Clock_driver_support_at_tick_empty(void); +uint32_t bsp_clock_nanoseconds_since_last_tick_tsc(void); +uint32_t bsp_clock_nanoseconds_since_last_tick_i8254(void); +void Clock_isr_handler(rtems_irq_hdl_param param); +int clockIsOn(const rtems_irq_connect_data* unused); +void clockOff(const rtems_irq_connect_data* unused); +void Clock_driver_install_handler(void); +void Clock_driver_support_initialize_hardware(void); + /* * Roughly the number of cycles per tick and per nanosecond. Note that these * will be wildly inaccurate if the chip speed changes due to power saving @@ -96,12 +112,11 @@ void Clock_driver_support_at_tick_empty(void) extern volatile uint32_t Clock_driver_isrs; +/* + * Get nanoseconds using Pentium-compatible TSC register + */ uint32_t bsp_clock_nanoseconds_since_last_tick_tsc(void) { - /****** - * Get nanoseconds using Pentium-compatible TSC register - ******/ - uint64_t diff_nsec; diff_nsec = rdtsc() - pc586_tsc_at_tick; @@ -124,13 +139,11 @@ uint32_t bsp_clock_nanoseconds_since_last_tick_tsc(void) return (uint32_t)diff_nsec; } +/* + * Get nanoseconds using 8254 timer chip + */ uint32_t bsp_clock_nanoseconds_since_last_tick_i8254(void) { - - /****** - * Get nanoseconds using 8254 timer chip - ******/ - uint32_t usecs, clicks, isrs; uint32_t usecs1, usecs2; uint8_t lsb, msb; @@ -269,18 +282,13 @@ int clockIsOn(const rtems_irq_connect_data* unused) return ((i8259s_cache & 0x1) == 0); } -/* a bit of a hack since the ISR models do not match */ -rtems_isr Clock_isr( - rtems_vector_number vector -); - bool Clock_isr_enabled = false; void Clock_isr_handler( rtems_irq_hdl_param param ) { if ( Clock_isr_enabled ) - Clock_isr( 0 ); + Clock_isr( param ); } static rtems_irq_connect_data clockIrqData = { diff --git a/c/src/lib/libbsp/m32c/Makefile.am b/c/src/lib/libbsp/m32c/Makefile.am index f504c03a19..ede5014160 100644 --- a/c/src/lib/libbsp/m32c/Makefile.am +++ b/c/src/lib/libbsp/m32c/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/m32c/configure.ac b/c/src/lib/libbsp/m32c/configure.ac index 7b8b537455..3f112ab370 100644 --- a/c/src/lib/libbsp/m32c/configure.ac +++ b/c/src/lib/libbsp/m32c/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m32c],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am b/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am index b3fe1b376a..65ae609779 100644 --- a/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am +++ b/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m32c/m32cbsp/configure.ac b/c/src/lib/libbsp/m32c/m32cbsp/configure.ac index 0717a83d2d..de2dcbdaec 100644 --- a/c/src/lib/libbsp/m32c/m32cbsp/configure.ac +++ b/c/src/lib/libbsp/m32c/m32cbsp/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m32r/Makefile.am b/c/src/lib/libbsp/m32r/Makefile.am index f504c03a19..ede5014160 100644 --- a/c/src/lib/libbsp/m32r/Makefile.am +++ b/c/src/lib/libbsp/m32r/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/m32r/configure.ac b/c/src/lib/libbsp/m32r/configure.ac index a9f3fe0114..ee7d0c5ca9 100644 --- a/c/src/lib/libbsp/m32r/configure.ac +++ b/c/src/lib/libbsp/m32r/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m32r],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m32r/m32rsim/Makefile.am b/c/src/lib/libbsp/m32r/m32rsim/Makefile.am index d360747774..06480ccd49 100644 --- a/c/src/lib/libbsp/m32r/m32rsim/Makefile.am +++ b/c/src/lib/libbsp/m32r/m32rsim/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m32r/m32rsim/configure.ac b/c/src/lib/libbsp/m32r/m32rsim/configure.ac index 43e5b9fe41..1871f262d1 100644 --- a/c/src/lib/libbsp/m32r/m32rsim/configure.ac +++ b/c/src/lib/libbsp/m32r/m32rsim/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/Makefile.am b/c/src/lib/libbsp/m68k/Makefile.am index 0461d01a27..4c98eb11d7 100644 --- a/c/src/lib/libbsp/m68k/Makefile.am +++ b/c/src/lib/libbsp/m68k/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/m68k/av5282/Makefile.am b/c/src/lib/libbsp/m68k/av5282/Makefile.am index 3c37eda2cf..7c1d52f69e 100644 --- a/c/src/lib/libbsp/m68k/av5282/Makefile.am +++ b/c/src/lib/libbsp/m68k/av5282/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/av5282/configure.ac b/c/src/lib/libbsp/m68k/av5282/configure.ac index 5067057ffd..e68edc04d2 100644 --- a/c/src/lib/libbsp/m68k/av5282/configure.ac +++ b/c/src/lib/libbsp/m68k/av5282/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-av5282],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/configure.ac b/c/src/lib/libbsp/m68k/configure.ac index 3944551897..be90dbf7b4 100644 --- a/c/src/lib/libbsp/m68k/configure.ac +++ b/c/src/lib/libbsp/m68k/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/csb360/Makefile.am b/c/src/lib/libbsp/m68k/csb360/Makefile.am index ca2047b524..a537907878 100644 --- a/c/src/lib/libbsp/m68k/csb360/Makefile.am +++ b/c/src/lib/libbsp/m68k/csb360/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/csb360/configure.ac b/c/src/lib/libbsp/m68k/csb360/configure.ac index 57dce0d0f6..e14b1efc5b 100644 --- a/c/src/lib/libbsp/m68k/csb360/configure.ac +++ b/c/src/lib/libbsp/m68k/csb360/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-csb360],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/gen68302/Makefile.am b/c/src/lib/libbsp/m68k/gen68302/Makefile.am index d36190c005..fe1a77cdfd 100644 --- a/c/src/lib/libbsp/m68k/gen68302/Makefile.am +++ b/c/src/lib/libbsp/m68k/gen68302/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/gen68302/configure.ac b/c/src/lib/libbsp/m68k/gen68302/configure.ac index e74424a803..6f0372aa85 100644 --- a/c/src/lib/libbsp/m68k/gen68302/configure.ac +++ b/c/src/lib/libbsp/m68k/gen68302/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68302],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/gen68340/Makefile.am b/c/src/lib/libbsp/m68k/gen68340/Makefile.am index a7f3150fce..689ce53d02 100644 --- a/c/src/lib/libbsp/m68k/gen68340/Makefile.am +++ b/c/src/lib/libbsp/m68k/gen68340/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/gen68340/configure.ac b/c/src/lib/libbsp/m68k/gen68340/configure.ac index 408ab4df47..b15ffe3ea4 100644 --- a/c/src/lib/libbsp/m68k/gen68340/configure.ac +++ b/c/src/lib/libbsp/m68k/gen68340/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68340],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am index 710c16308f..ae439ca6c0 100644 --- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am +++ b/c/src/lib/libbsp/m68k/gen68360/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/gen68360/configure.ac b/c/src/lib/libbsp/m68k/gen68360/configure.ac index 3b9dca5532..393bb6529b 100644 --- a/c/src/lib/libbsp/m68k/gen68360/configure.ac +++ b/c/src/lib/libbsp/m68k/gen68360/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68360],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am index 0cd50c21d4..d020eb74c4 100644 --- a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am +++ b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/genmcf548x/configure.ac b/c/src/lib/libbsp/m68k/genmcf548x/configure.ac index 410d7fb959..c08987d713 100644 --- a/c/src/lib/libbsp/m68k/genmcf548x/configure.ac +++ b/c/src/lib/libbsp/m68k/genmcf548x/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-genmcf548x],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/idp/Makefile.am b/c/src/lib/libbsp/m68k/idp/Makefile.am index f13f028768..c1979c3652 100644 --- a/c/src/lib/libbsp/m68k/idp/Makefile.am +++ b/c/src/lib/libbsp/m68k/idp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/idp/configure.ac b/c/src/lib/libbsp/m68k/idp/configure.ac index bd12d3ca0f..442fb5f406 100644 --- a/c/src/lib/libbsp/m68k/idp/configure.ac +++ b/c/src/lib/libbsp/m68k/idp/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-idp],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am index 56876c6f30..54a027078b 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac index 969dbfea37..a2975f98e0 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5206elite],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am index 189a991ede..0a5f8b2d7b 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../../aclocal transform = diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac index d755f32a1b..aa6aabd6c7 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5206elite-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am index 7ef44e6ccb..a37ac2b88b 100644 --- a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf52235/configure.ac b/c/src/lib/libbsp/m68k/mcf52235/configure.ac index 188a0db241..6008b84494 100644 --- a/c/src/lib/libbsp/m68k/mcf52235/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf52235/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf52235],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am index 1758c1a3f6..4a7082db96 100644 --- a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5225x/configure.ac b/c/src/lib/libbsp/m68k/mcf5225x/configure.ac index de2ccdd021..f048dd3a15 100644 --- a/c/src/lib/libbsp/m68k/mcf5225x/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5225x/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-dpu],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am index 403b47f6b0..a1cbb4ce24 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5235/configure.ac b/c/src/lib/libbsp/m68k/mcf5235/configure.ac index 82a578c1ea..a806625dbc 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5235/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5235],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am index cb23cb99aa..b242072731 100644 --- a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5329/configure.ac b/c/src/lib/libbsp/m68k/mcf5329/configure.ac index abd82068ee..74b96505de 100644 --- a/c/src/lib/libbsp/m68k/mcf5329/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5329/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf52235],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mrm332/Makefile.am b/c/src/lib/libbsp/m68k/mrm332/Makefile.am index 6b36feb8d9..2d9ec395ec 100644 --- a/c/src/lib/libbsp/m68k/mrm332/Makefile.am +++ b/c/src/lib/libbsp/m68k/mrm332/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mrm332/configure.ac b/c/src/lib/libbsp/m68k/mrm332/configure.ac index 0826b486c6..2c7917aaf9 100644 --- a/c/src/lib/libbsp/m68k/mrm332/configure.ac +++ b/c/src/lib/libbsp/m68k/mrm332/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mrm332],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme136/Makefile.am b/c/src/lib/libbsp/m68k/mvme136/Makefile.am index a887fcccfe..9390a5c571 100644 --- a/c/src/lib/libbsp/m68k/mvme136/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme136/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme136/configure.ac b/c/src/lib/libbsp/m68k/mvme136/configure.ac index 67837e4ee7..694c2c9d1b 100644 --- a/c/src/lib/libbsp/m68k/mvme136/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme136/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme136],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme147/Makefile.am b/c/src/lib/libbsp/m68k/mvme147/Makefile.am index a9464f0f3c..4328aaa422 100644 --- a/c/src/lib/libbsp/m68k/mvme147/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme147/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme147/configure.ac b/c/src/lib/libbsp/m68k/mvme147/configure.ac index f0b83a4cda..f9786f56c5 100644 --- a/c/src/lib/libbsp/m68k/mvme147/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme147/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme147],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am index 8ca16d547c..04d42d1a27 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme147s/configure.ac b/c/src/lib/libbsp/m68k/mvme147s/configure.ac index d6c3b45e5b..4950794194 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme147s/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme147s],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am index 5272bd4fc2..988245a1e1 100644 --- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme162/configure.ac b/c/src/lib/libbsp/m68k/mvme162/configure.ac index cae8993eec..0d5cda0a1a 100644 --- a/c/src/lib/libbsp/m68k/mvme162/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme162/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme162],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am index d53b37ea54..71a248bf6c 100644 --- a/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../../aclocal sload_SOURCES = sload.c diff --git a/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac b/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac index 7b4e062215..188cb000e3 100644 --- a/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme162-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme167/Makefile.am b/c/src/lib/libbsp/m68k/mvme167/Makefile.am index 0ba3aa269f..b6f76a66e3 100644 --- a/c/src/lib/libbsp/m68k/mvme167/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme167/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme167/configure.ac b/c/src/lib/libbsp/m68k/mvme167/configure.ac index d35952391d..3872b1154e 100644 --- a/c/src/lib/libbsp/m68k/mvme167/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme167/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme167],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/ods68302/Makefile.am b/c/src/lib/libbsp/m68k/ods68302/Makefile.am index 7c773205a1..3cd01c37e1 100644 --- a/c/src/lib/libbsp/m68k/ods68302/Makefile.am +++ b/c/src/lib/libbsp/m68k/ods68302/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/ods68302/configure.ac b/c/src/lib/libbsp/m68k/ods68302/configure.ac index 6a5cf234ba..e0ed45e34e 100644 --- a/c/src/lib/libbsp/m68k/ods68302/configure.ac +++ b/c/src/lib/libbsp/m68k/ods68302/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-ods68302],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/sim68000/Makefile.am b/c/src/lib/libbsp/m68k/sim68000/Makefile.am index ba7d98df1b..c8d5223fca 100644 --- a/c/src/lib/libbsp/m68k/sim68000/Makefile.am +++ b/c/src/lib/libbsp/m68k/sim68000/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/sim68000/configure.ac b/c/src/lib/libbsp/m68k/sim68000/configure.ac index cde8a1827a..a2a24fcb97 100644 --- a/c/src/lib/libbsp/m68k/sim68000/configure.ac +++ b/c/src/lib/libbsp/m68k/sim68000/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-sim68000],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/uC5282/Makefile.am b/c/src/lib/libbsp/m68k/uC5282/Makefile.am index 6fe5787297..51c0c24f4f 100644 --- a/c/src/lib/libbsp/m68k/uC5282/Makefile.am +++ b/c/src/lib/libbsp/m68k/uC5282/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/uC5282/configure.ac b/c/src/lib/libbsp/m68k/uC5282/configure.ac index a4202bbe46..78bf436172 100644 --- a/c/src/lib/libbsp/m68k/uC5282/configure.ac +++ b/c/src/lib/libbsp/m68k/uC5282/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-uC5282],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/Makefile.am b/c/src/lib/libbsp/mips/Makefile.am index d294e842ec..2a614ac8cb 100644 --- a/c/src/lib/libbsp/mips/Makefile.am +++ b/c/src/lib/libbsp/mips/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/mips/configure.ac b/c/src/lib/libbsp/mips/configure.ac index c857921d2e..0082adb8b6 100644 --- a/c/src/lib/libbsp/mips/configure.ac +++ b/c/src/lib/libbsp/mips/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/csb350/Makefile.am b/c/src/lib/libbsp/mips/csb350/Makefile.am index a658307a40..e5671bf50f 100644 --- a/c/src/lib/libbsp/mips/csb350/Makefile.am +++ b/c/src/lib/libbsp/mips/csb350/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/csb350/configure.ac b/c/src/lib/libbsp/mips/csb350/configure.ac index 6cc4781bf5..3eeb019226 100644 --- a/c/src/lib/libbsp/mips/csb350/configure.ac +++ b/c/src/lib/libbsp/mips/csb350/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-csb350],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/csb350/include/bsp.h b/c/src/lib/libbsp/mips/csb350/include/bsp.h index 5044f6fcaa..1f555216b0 100644 --- a/c/src/lib/libbsp/mips/csb350/include/bsp.h +++ b/c/src/lib/libbsp/mips/csb350/include/bsp.h @@ -44,11 +44,6 @@ int rtems_au1x00_emac_attach(struct rtems_bsdnet_ifconfig *config, #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_au1x00_emac_attach -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/csb350/include/tm27.h b/c/src/lib/libbsp/mips/csb350/include/tm27.h index b08801155f..caac8ee980 100644 --- a/c/src/lib/libbsp/mips/csb350/include/tm27.h +++ b/c/src/lib/libbsp/mips/csb350/include/tm27.h @@ -1,11 +1,11 @@ +/** + * @file + */ + /* - * tm27.h - * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_TMTEST27 @@ -15,6 +15,8 @@ #ifndef __tm27_h #define __tm27_h +#include <bsp/irq.h> + /* * Define the interrupt mechanism for Time Test 27 */ @@ -25,7 +27,8 @@ int negate_sw_irw(uint32_t irqnum); #define MUST_WAIT_FOR_INTERRUPT 0 #define Install_tm27_vector( handler ) \ - (void) set_vector(handler, AU1X00_IRQ_SW0, 1); + rtems_interrupt_handler_install( \ + AU1X00_IRQ_SW0, "benchmark", 0, (rtems_interrupt_handler)handler, NULL ); #define Cause_tm27_intr() \ do { \ @@ -37,14 +40,9 @@ int negate_sw_irw(uint32_t irqnum); negate_sw_irq(0); \ } while(0) -#if 0 -#define Lower_tm27_intr() \ - mips_enable_in_interrupt_mask( 0xff01 ); -#else #define Lower_tm27_intr() \ do { \ continue;\ } while(0) -#endif #endif diff --git a/c/src/lib/libbsp/mips/csb350/network/network.c b/c/src/lib/libbsp/mips/csb350/network/network.c index 6183aebe61..f31029962d 100644 --- a/c/src/lib/libbsp/mips/csb350/network/network.c +++ b/c/src/lib/libbsp/mips/csb350/network/network.c @@ -337,9 +337,21 @@ void au1x00_emac_init(void *arg) /* install the interrupt handler */ if (sc->unitnumber == 0) { - set_vector(au1x00_emac_isr, AU1X00_IRQ_MAC0, 1); + rtems_interrupt_handler_install( + AU1X00_IRQ_MAC0, + "NIC0", + 0, + (rtems_interrupt_handler)au1x00_emac_isr, + NULL + ); } else { - set_vector(au1x00_emac_isr, AU1X00_IRQ_MAC1, 1); + rtems_interrupt_handler_install( + AU1X00_IRQ_MAC1, + "NIC1", + 0, + (rtems_interrupt_handler)au1x00_emac_isr, + NULL + ); } AU1X00_IC_MASKCLR(sc->int_ctrlr) = sc->int_mask; au_sync(); diff --git a/c/src/lib/libbsp/mips/genmongoosev/Makefile.am b/c/src/lib/libbsp/mips/genmongoosev/Makefile.am index 5bb48e35fd..1f27e45682 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/Makefile.am +++ b/c/src/lib/libbsp/mips/genmongoosev/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/genmongoosev/configure.ac b/c/src/lib/libbsp/mips/genmongoosev/configure.ac index 3e3c9febf4..b1b61dc356 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/configure.ac +++ b/c/src/lib/libbsp/mips/genmongoosev/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-genmongoosev],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h b/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h index 575eb6b1e7..39268003e7 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h +++ b/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h @@ -56,11 +56,6 @@ extern void assertSoftwareInterrupt(uint32_t); #define CLOCK_VECTOR MONGOOSEV_IRQ_TIMER1 -/* functions */ - -rtems_isr_entry set_vector( rtems_isr_entry, rtems_vector_number, int ); - - /* from start.S */ extern void promCopyIcacheFlush(void); extern void promCopyDcacheFlush(void); diff --git a/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h b/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h index 52f7fafdfc..ed33e7ef97 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h +++ b/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h @@ -1,11 +1,11 @@ +/** + * @file + */ + /* - * tm27.h - * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_TMTEST27 @@ -19,32 +19,18 @@ * Define the interrupt mechanism for Time Test 27 */ -#define MUST_WAIT_FOR_INTERRUPT 1 +#include <bsp/irq.h> -#if 1 +#define MUST_WAIT_FOR_INTERRUPT 1 #define Install_tm27_vector( handler ) \ - (void) set_vector( handler, MONGOOSEV_IRQ_SOFTWARE_1, 1 ); + rtems_interrupt_handler_install( \ + MONGOOSEV_IRQ_SOFTWARE_1, "benchmark", 0, \ + (rtems_interrupt_handler)handler, NULL ); #define Cause_tm27_intr() assertSoftwareInterrupt(0); #define Clear_tm27_intr() /* empty */ #define Lower_tm27_intr() /* empty */ -#else - -#define Install_tm27_vector( handler ) \ - (void) set_vector( handler, MONGOOSEV_IRQ_TIMER1, 1 ); - -#define Cause_tm27_intr() \ - do { \ - ; \ - } while(0) - -#define Clear_tm27_intr() /* empty */ - -#define Lower_tm27_intr() /* empty */ - -#endif - #endif diff --git a/c/src/lib/libbsp/mips/hurricane/Makefile.am b/c/src/lib/libbsp/mips/hurricane/Makefile.am index 0c021b398b..9b67d34115 100644 --- a/c/src/lib/libbsp/mips/hurricane/Makefile.am +++ b/c/src/lib/libbsp/mips/hurricane/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/hurricane/include/bsp.h b/c/src/lib/libbsp/mips/hurricane/include/bsp.h index 28b8be6553..1527669aef 100644 --- a/c/src/lib/libbsp/mips/hurricane/include/bsp.h +++ b/c/src/lib/libbsp/mips/hurricane/include/bsp.h @@ -67,11 +67,6 @@ extern uint32_t mips_get_timer( void ); #define RAM_START 0 #define RAM_END 0x100000 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/hurricane/startup/setvec.c b/c/src/lib/libbsp/mips/hurricane/startup/setvec.c deleted file mode 100644 index 091617d49c..0000000000 --- a/c/src/lib/libbsp/mips/hurricane/startup/setvec.c +++ /dev/null @@ -1,44 +0,0 @@ -/* set_vector - * - * This routine installs an interrupt vector on the target Board/CPU. - * This routine is allowed to be as board dependent as necessary. - * - * INPUT: - * handler - interrupt handler entry point - * vector - vector number - * type - 0 indicates raw hardware connect - * 1 indicates RTEMS interrupt connect - * - * RETURNS: - * address of previous interrupt handler - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <rtems.h> -#include <bsp.h> - -mips_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -) -{ - mips_isr_entry previous_isr; - - if ( type ) - rtems_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr ); - else { - /* XXX: install non-RTEMS ISR as "raw" interupt */ - rtems_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr ); - } - return previous_isr; -} - diff --git a/c/src/lib/libbsp/mips/jmr3904/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/Makefile.am index d001411a5f..540c123215 100644 --- a/c/src/lib/libbsp/mips/jmr3904/Makefile.am +++ b/c/src/lib/libbsp/mips/jmr3904/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/jmr3904/configure.ac b/c/src/lib/libbsp/mips/jmr3904/configure.ac index 8e7ae089a7..8b170b8a4f 100644 --- a/c/src/lib/libbsp/mips/jmr3904/configure.ac +++ b/c/src/lib/libbsp/mips/jmr3904/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-jmr3904],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/jmr3904/include/bsp.h b/c/src/lib/libbsp/mips/jmr3904/include/bsp.h index 0d226a6675..5b718624ee 100644 --- a/c/src/lib/libbsp/mips/jmr3904/include/bsp.h +++ b/c/src/lib/libbsp/mips/jmr3904/include/bsp.h @@ -34,11 +34,6 @@ extern "C" { #define BSP_FEATURE_IRQ_EXTENSION #define BSP_SHARED_HANDLER_SUPPORT 1 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/jmr3904/include/tm27.h b/c/src/lib/libbsp/mips/jmr3904/include/tm27.h index baf0baac22..027d26c4a4 100644 --- a/c/src/lib/libbsp/mips/jmr3904/include/tm27.h +++ b/c/src/lib/libbsp/mips/jmr3904/include/tm27.h @@ -1,11 +1,11 @@ +/** + * @file + */ + /* - * tm27.h - * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_TMTEST27 @@ -19,23 +19,14 @@ * Define the interrupt mechanism for Time Test 27 */ -#define MUST_WAIT_FOR_INTERRUPT 1 - -#if 0 -#define Install_tm27_vector( handler ) \ - (void) set_vector( handler, TX3904_IRQ_SOFTWARE_1, 1 ); \ +#include <bsp/irq.h> -#define Cause_tm27_intr() \ - __asm__ volatile ( "syscall 0x01" : : ); - -#define CLOCK_VECTOR TX3904_IRQ_TMR0 - -#define Clear_tm27_intr() /* empty */ +#define MUST_WAIT_FOR_INTERRUPT 1 -#define Lower_tm27_intr() /* empty */ -#else #define Install_tm27_vector( handler ) \ - (void) set_vector( handler, TX3904_IRQ_TMR0, 1 ); \ + rtems_interrupt_handler_install( \ + TX3904_IRQ_TMR0, "benchmark", 0, \ + (rtems_interrupt_handler)handler, NULL ); #define Cause_tm27_intr() \ do { \ @@ -59,5 +50,3 @@ mips_enable_in_interrupt_mask( 0xff01 ); #endif - -#endif diff --git a/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am index 9ba4343231..baaa1a7f8c 100644 --- a/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am +++ b/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../../aclocal transform = diff --git a/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac b/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac index 85b17e0cd0..19e291d13d 100644 --- a/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac +++ b/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-jmr3904-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/malta/include/bsp.h b/c/src/lib/libbsp/mips/malta/include/bsp.h index b05b2c4a10..55aab3da82 100644 --- a/c/src/lib/libbsp/mips/malta/include/bsp.h +++ b/c/src/lib/libbsp/mips/malta/include/bsp.h @@ -98,9 +98,6 @@ uint32_t simple_in_32( uint32_t base, uint32_t addr ); void simple_out_le16( uint32_t base, uint32_t addr, uint16_t val ); void simple_out_16( uint32_t base, uint32_t addr, uint16_t val ); -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am index 8d692880d0..fe53813f12 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am +++ b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h index 3c275c9fe7..4b15d4f0fd 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h +++ b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h @@ -33,11 +33,6 @@ extern "C" { #define BSP_FEATURE_IRQ_EXTENSION #define BSP_SHARED_HANDLER_SUPPORT 1 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am index 8d692880d0..fe53813f12 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am +++ b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h index 04639114fc..5e8e6caebf 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h +++ b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h @@ -33,11 +33,6 @@ extern "C" { #define BSP_FEATURE_IRQ_EXTENSION #define BSP_SHARED_HANDLER_SUPPORT 1 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/nios2/Makefile.am b/c/src/lib/libbsp/nios2/Makefile.am index 140d76ee20..e60a8966ac 100644 --- a/c/src/lib/libbsp/nios2/Makefile.am +++ b/c/src/lib/libbsp/nios2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/nios2/configure.ac b/c/src/lib/libbsp/nios2/configure.ac index c7cac07e0f..9e4ffcafdb 100644 --- a/c/src/lib/libbsp/nios2/configure.ac +++ b/c/src/lib/libbsp/nios2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-nios2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am index 1094826b55..8fa60851e8 100644 --- a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am +++ b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/nios2/nios2_iss/configure.ac b/c/src/lib/libbsp/nios2/nios2_iss/configure.ac index c038715f52..c27304fa54 100644 --- a/c/src/lib/libbsp/nios2/nios2_iss/configure.ac +++ b/c/src/lib/libbsp/nios2/nios2_iss/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-nios2-nios2_iss],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/no_cpu/Makefile.am b/c/src/lib/libbsp/no_cpu/Makefile.am index 140d76ee20..e60a8966ac 100644 --- a/c/src/lib/libbsp/no_cpu/Makefile.am +++ b/c/src/lib/libbsp/no_cpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/no_cpu/configure.ac b/c/src/lib/libbsp/no_cpu/configure.ac index 46998fe54d..afe7e53b22 100644 --- a/c/src/lib/libbsp/no_cpu/configure.ac +++ b/c/src/lib/libbsp/no_cpu/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-no_cpu],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am index 4a29945724..2a7958b134 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am +++ b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac index 801a3513d6..dd05b7d2ab 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac +++ b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-no_cpu-no_bsp],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/Makefile.am index 03a7b31c32..31e5a6024f 100644 --- a/c/src/lib/libbsp/powerpc/Makefile.am +++ b/c/src/lib/libbsp/powerpc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am index f6a63ec473..7f2688f21f 100644 --- a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am +++ b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal CLEANFILES = diff --git a/c/src/lib/libbsp/powerpc/configure.ac b/c/src/lib/libbsp/powerpc/configure.ac index 88d2126acd..d8d75fc143 100644 --- a/c/src/lib/libbsp/powerpc/configure.ac +++ b/c/src/lib/libbsp/powerpc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/ep1a/configure.ac b/c/src/lib/libbsp/powerpc/ep1a/configure.ac index 61539e4d72..b4dbb99d17 100644 --- a/c/src/lib/libbsp/powerpc/ep1a/configure.ac +++ b/c/src/lib/libbsp/powerpc/ep1a/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-ep1a],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am index a1cf57df4a..cb32aef4a9 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am +++ b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/gen5200/configure.ac b/c/src/lib/libbsp/powerpc/gen5200/configure.ac index 97d04cf1b4..d0cb78670c 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/configure.ac +++ b/c/src/lib/libbsp/powerpc/gen5200/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen5200],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am index 7a42ebcbd3..29a77bd431 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am +++ b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/gen83xx/configure.ac b/c/src/lib/libbsp/powerpc/gen83xx/configure.ac index f4e5a3d8d6..ee76369778 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/configure.ac +++ b/c/src/lib/libbsp/powerpc/gen83xx/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen83xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am index 0e7687fcb6..fdd633149f 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am +++ b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/haleakala/configure.ac b/c/src/lib/libbsp/powerpc/haleakala/configure.ac index 25e5db34c7..025050737d 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/configure.ac +++ b/c/src/lib/libbsp/powerpc/haleakala/configure.ac @@ -1,4 +1,6 @@ dnl Process this file with autoconf to produce a configure script. +dnl +dnl $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-haleakala],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) diff --git a/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h b/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h index f1a52a0490..80e0964787 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h @@ -84,14 +84,6 @@ extern "C" { #define BSP_UART_BAUD_BASE (11059200 / 16) /* Kilauea ext clock, max speed */ - /* functions */ - - rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ - ); - #endif /* ASM */ #ifdef __cplusplus diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am b/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am index da6a311c04..0134f33946 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac b/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac index 10260ceb4f..9d1e197fcd 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac +++ b/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx8xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c index e2a0c0871c..ff040975a0 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c +++ b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c @@ -443,7 +443,6 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc) int i; unsigned char *hwaddr; rtems_status_code status; - rtems_isr_entry old_handler; /* * Issue reset to FEC diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am index 9a3206d36f..e2292c9069 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal SUBDIRS = . diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am index dd832f07f4..a2f1e55302 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ## NOTE: This Makefile.am does not apply RTEMS's compilation rules. AUTOMAKE_OPTIONS = no-exeext diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac index 1debc3a7ba..d159fc1c23 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-motorola_powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am index 7a5730a9d6..ddd81381ec 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ## NOTE: This Makefile.am does not apply RTEMS's compilation rules. ACLOCAL_AMFLAGS = -I ../../../../aclocal diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am index 24b07978ab..9e55382290 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am index cf4f4d2380..aa1ead9ab6 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac index dda5286e14..cc57360b9e 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc8260ads],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h index eb7c624b87..ce587d68d2 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h @@ -81,12 +81,6 @@ void *M8260AllocateRiscTimers( int count ); extern char M8260DefaultWatchdogFeeder; #endif -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c b/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c index a1b31fd7d2..81a73eea5a 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c @@ -205,13 +205,7 @@ m8260_scc_initialize_hardware (struct m8260_hdlc_struct *sc) int i; int brg; -/* - unsigned char *hwaddr; -*/ rtems_status_code status; -/* - rtems_isr_entry old_handler; -*/ /* RxD PB14 */ m8260.pparb |= 0x00020000; diff --git a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am index e411c7a199..f214f88755 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mvme3100/configure.ac b/c/src/lib/libbsp/powerpc/mvme3100/configure.ac index aeda9537c7..e671a70149 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/configure.ac +++ b/c/src/lib/libbsp/powerpc/mvme3100/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mvme3100],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/psim/Makefile.am b/c/src/lib/libbsp/powerpc/psim/Makefile.am index a99f23ee2a..c02edb90a8 100644 --- a/c/src/lib/libbsp/powerpc/psim/Makefile.am +++ b/c/src/lib/libbsp/powerpc/psim/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/psim/configure.ac b/c/src/lib/libbsp/powerpc/psim/configure.ac index 85d88783d7..a25872879d 100644 --- a/c/src/lib/libbsp/powerpc/psim/configure.ac +++ b/c/src/lib/libbsp/powerpc/psim/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-psim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am index 0dce1cdff6..945a723f45 100644 --- a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am +++ b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac index 063b4766f9..3c86f35a60 100644 --- a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac +++ b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am index cc9c8b4a6e..d89e821958 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am +++ b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/qoriq/configure.ac b/c/src/lib/libbsp/powerpc/qoriq/configure.ac index 7b82c1dd53..8bd7523c6f 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/configure.ac +++ b/c/src/lib/libbsp/powerpc/qoriq/configure.ac @@ -1,3 +1,7 @@ +## +## $Id$ +## + AC_PREREQ(2.60) AC_INIT([rtems-c-src-lib-libbsp-powerpc-qoriq],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) AC_CONFIG_SRCDIR([bsp_specs]) diff --git a/c/src/lib/libbsp/powerpc/score603e/Makefile.am b/c/src/lib/libbsp/powerpc/score603e/Makefile.am index 264a30c7bf..3a6b0704df 100644 --- a/c/src/lib/libbsp/powerpc/score603e/Makefile.am +++ b/c/src/lib/libbsp/powerpc/score603e/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/score603e/configure.ac b/c/src/lib/libbsp/powerpc/score603e/configure.ac index feedd0a799..e7ffcdf2c2 100644 --- a/c/src/lib/libbsp/powerpc/score603e/configure.ac +++ b/c/src/lib/libbsp/powerpc/score603e/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-ep1a],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c b/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c deleted file mode 100644 index 6bb3138208..0000000000 --- a/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * This routine installs an interrupt vector on the target Board/CPU. - * This routine is allowed to be as board dependent as necessary. - * - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <rtems.h> -#include <bsp.h> - -/* - * This routine installs vector number vector. - */ -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -) -{ - rtems_isr_entry previous_isr; - rtems_status_code status; - - /* - * vectors greater than PPC603e_IRQ_LAST are handled by the General purpose - * interupt handler. - */ - if ( vector > PPC_IRQ_LAST ) { - set_EE_vector( handler, vector ); - } - else { - ; - #if 0 - status = rtems_interrupt_catch( - handler, vector, (rtems_isr_entry *) &previous_isr ); - #endif - #warning "Remove this whole method." - } - return previous_isr; -} diff --git a/c/src/lib/libbsp/powerpc/ss555/Makefile.am b/c/src/lib/libbsp/powerpc/ss555/Makefile.am index 3dc3f63466..8758be6d53 100644 --- a/c/src/lib/libbsp/powerpc/ss555/Makefile.am +++ b/c/src/lib/libbsp/powerpc/ss555/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/ss555/configure.ac b/c/src/lib/libbsp/powerpc/ss555/configure.ac index 59fcc87379..afb044c86b 100644 --- a/c/src/lib/libbsp/powerpc/ss555/configure.ac +++ b/c/src/lib/libbsp/powerpc/ss555/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx5xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am index 6a7ffca541..e0f08b4dc7 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am +++ b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac index 32957af55e..38cb34f6e8 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac +++ b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-tqm8xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/virtex/Makefile.am b/c/src/lib/libbsp/powerpc/virtex/Makefile.am index 6faa494fb6..148e003415 100644 --- a/c/src/lib/libbsp/powerpc/virtex/Makefile.am +++ b/c/src/lib/libbsp/powerpc/virtex/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/virtex/configure.ac b/c/src/lib/libbsp/powerpc/virtex/configure.ac index 33819cc86b..f65f56d918 100644 --- a/c/src/lib/libbsp/powerpc/virtex/configure.ac +++ b/c/src/lib/libbsp/powerpc/virtex/configure.ac @@ -1,4 +1,6 @@ dnl Process this file with autoconf to produce a configure script. +dnl +dnl $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) diff --git a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h index 52c9648101..148674454d 100644 --- a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h @@ -77,13 +77,6 @@ extern xilTemac_driver_attach(struct rtems_bsdnet_ifconfig*, int ); #define BSP_PPC403_CLOCK_HOOK_EXCEPTION ASM_BOOKE_DEC_VECTOR -/* functions */ - -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -); #endif /* ASM */ #ifdef __cplusplus diff --git a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am index 5952497008..d6ae5d3350 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am +++ b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am @@ -1,3 +1,4 @@ + ## ## $Id: $ ## diff --git a/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c b/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c index 050824ad1a..ef41b3d9da 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c +++ b/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c @@ -59,12 +59,6 @@ static bool auto_restart; void Clock_exit( void ); -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -); - /* * These are set by clock driver during its init */ diff --git a/c/src/lib/libbsp/sh/Makefile.am b/c/src/lib/libbsp/sh/Makefile.am index 33c5db1613..cf5212b2c0 100644 --- a/c/src/lib/libbsp/sh/Makefile.am +++ b/c/src/lib/libbsp/sh/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/sh/configure.ac b/c/src/lib/libbsp/sh/configure.ac index ca901dd673..96eea71f92 100644 --- a/c/src/lib/libbsp/sh/configure.ac +++ b/c/src/lib/libbsp/sh/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/gensh1/Makefile.am b/c/src/lib/libbsp/sh/gensh1/Makefile.am index 15583546dd..ed6e50c488 100644 --- a/c/src/lib/libbsp/sh/gensh1/Makefile.am +++ b/c/src/lib/libbsp/sh/gensh1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/gensh1/configure.ac b/c/src/lib/libbsp/sh/gensh1/configure.ac index 93c8b56400..10c3c394af 100644 --- a/c/src/lib/libbsp/sh/gensh1/configure.ac +++ b/c/src/lib/libbsp/sh/gensh1/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-gensh1],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am index 6339206624..bc54b0a17d 100644 --- a/c/src/lib/libbsp/sh/gensh2/Makefile.am +++ b/c/src/lib/libbsp/sh/gensh2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/gensh2/configure.ac b/c/src/lib/libbsp/sh/gensh2/configure.ac index 71c2d0b8b9..8d9d75073d 100644 --- a/c/src/lib/libbsp/sh/gensh2/configure.ac +++ b/c/src/lib/libbsp/sh/gensh2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-gensh2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/gensh4/Makefile.am b/c/src/lib/libbsp/sh/gensh4/Makefile.am index 70b667b2c7..b73a2da227 100644 --- a/c/src/lib/libbsp/sh/gensh4/Makefile.am +++ b/c/src/lib/libbsp/sh/gensh4/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/gensh4/configure.ac b/c/src/lib/libbsp/sh/gensh4/configure.ac index 0365e1141f..307bcf8b95 100644 --- a/c/src/lib/libbsp/sh/gensh4/configure.ac +++ b/c/src/lib/libbsp/sh/gensh4/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-gensh4],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/shsim/Makefile.am b/c/src/lib/libbsp/sh/shsim/Makefile.am index bc039bbeb5..85c8e07401 100644 --- a/c/src/lib/libbsp/sh/shsim/Makefile.am +++ b/c/src/lib/libbsp/sh/shsim/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/shsim/configure.ac b/c/src/lib/libbsp/sh/shsim/configure.ac index c1198dd48c..7da50c9190 100644 --- a/c/src/lib/libbsp/sh/shsim/configure.ac +++ b/c/src/lib/libbsp/sh/shsim/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-shsim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.c b/c/src/lib/libbsp/shared/clockdrv_shell.c deleted file mode 100644 index 7d37408f5c..0000000000 --- a/c/src/lib/libbsp/shared/clockdrv_shell.c +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Clock Tick Device Driver Shell - * - * COPYRIGHT (c) 1989-2006. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#error "Including obsolete file clockdrv_shell.c; include clockdrv_shell.h, instead" - -#include "clockdrv_shell.h" diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h index 2afd3b2375..a4e7ffbc96 100644 --- a/c/src/lib/libbsp/shared/clockdrv_shell.h +++ b/c/src/lib/libbsp/shared/clockdrv_shell.h @@ -20,7 +20,7 @@ #include <bsp.h> #if defined(CLOCK_DRIVER_USE_FAST_IDLE) && defined(CLOCK_DRIVER_ISRS_PER_TICK) -#error "clockdrv_shell.c: fast idle and N ISRs per tick is not supported" +#error "clockdrv_shell.h: Fast Idle PLUS n ISRs per tick is not supported" #endif /* @@ -56,7 +56,8 @@ void Clock_exit( void ); * * Return values: NONE */ -#ifdef BSP_FEATURE_IRQ_EXTENSION +#if defined(BSP_FEATURE_IRQ_EXTENSION) || \ + (CPU_SIMPLE_VECTORED_INTERRUPTS != TRUE) void Clock_isr(void *arg) { #else diff --git a/c/src/lib/libbsp/sparc/Makefile.am b/c/src/lib/libbsp/sparc/Makefile.am index 67bb6b68e1..2b9909c910 100644 --- a/c/src/lib/libbsp/sparc/Makefile.am +++ b/c/src/lib/libbsp/sparc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/sparc/configure.ac b/c/src/lib/libbsp/sparc/configure.ac index 8369695750..796784b2ce 100644 --- a/c/src/lib/libbsp/sparc/configure.ac +++ b/c/src/lib/libbsp/sparc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc/erc32/Makefile.am b/c/src/lib/libbsp/sparc/erc32/Makefile.am index ddb8d94c3b..615a3e098a 100644 --- a/c/src/lib/libbsp/sparc/erc32/Makefile.am +++ b/c/src/lib/libbsp/sparc/erc32/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac index 96cac6c97a..124d65bdd9 100644 --- a/c/src/lib/libbsp/sparc/erc32/configure.ac +++ b/c/src/lib/libbsp/sparc/erc32/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc-erc32],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc/leon2/configure.ac b/c/src/lib/libbsp/sparc/leon2/configure.ac index 95a1cd04cb..00b597fcf3 100644 --- a/c/src/lib/libbsp/sparc/leon2/configure.ac +++ b/c/src/lib/libbsp/sparc/leon2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc-leon2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc/leon3/configure.ac b/c/src/lib/libbsp/sparc/leon3/configure.ac index c11860035e..3f2d445e92 100644 --- a/c/src/lib/libbsp/sparc/leon3/configure.ac +++ b/c/src/lib/libbsp/sparc/leon3/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc-leon3],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc64/Makefile.am b/c/src/lib/libbsp/sparc64/Makefile.am index d294e842ec..2a614ac8cb 100644 --- a/c/src/lib/libbsp/sparc64/Makefile.am +++ b/c/src/lib/libbsp/sparc64/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/sparc64/configure.ac b/c/src/lib/libbsp/sparc64/configure.ac index 4c9b7607eb..bd48500347 100644 --- a/c/src/lib/libbsp/sparc64/configure.ac +++ b/c/src/lib/libbsp/sparc64/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc64],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc64/niagara/Makefile.am b/c/src/lib/libbsp/sparc64/niagara/Makefile.am index 089649d0e6..099591ae7d 100644 --- a/c/src/lib/libbsp/sparc64/niagara/Makefile.am +++ b/c/src/lib/libbsp/sparc64/niagara/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sparc64/niagara/configure.ac b/c/src/lib/libbsp/sparc64/niagara/configure.ac index 47d89e958a..24ca41500d 100644 --- a/c/src/lib/libbsp/sparc64/niagara/configure.ac +++ b/c/src/lib/libbsp/sparc64/niagara/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc64-sun4v],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc64/usiii/Makefile.am b/c/src/lib/libbsp/sparc64/usiii/Makefile.am index 6c169e0e64..2a25510886 100644 --- a/c/src/lib/libbsp/sparc64/usiii/Makefile.am +++ b/c/src/lib/libbsp/sparc64/usiii/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sparc64/usiii/configure.ac b/c/src/lib/libbsp/sparc64/usiii/configure.ac index fcb5814242..a67c57028f 100644 --- a/c/src/lib/libbsp/sparc64/usiii/configure.ac +++ b/c/src/lib/libbsp/sparc64/usiii/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc64-sun4u],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libcpu/Makefile.am b/c/src/lib/libcpu/Makefile.am index 7d3a43e4f6..1e983949f0 100644 --- a/c/src/lib/libcpu/Makefile.am +++ b/c/src/lib/libcpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include_libcpudir = $(includedir)/libcpu EXTRA_DIST = diff --git a/c/src/libchip/Makefile.am b/c/src/libchip/Makefile.am index 46c06b47cc..b7b78423b4 100644 --- a/c/src/libchip/Makefile.am +++ b/c/src/libchip/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_libchipdir = $(includedir)/libchip diff --git a/c/src/libchip/serial/mc68681.c b/c/src/libchip/serial/mc68681.c index 1a2e2f178f..47781c2157 100644 --- a/c/src/libchip/serial/mc68681.c +++ b/c/src/libchip/serial/mc68681.c @@ -55,7 +55,10 @@ console_fns mc68681_fns_polled = false, /* deviceOutputUsesInterrupts */ }; -extern void set_vector( rtems_isr_entry, rtems_vector_number, int ); + +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) + extern void set_vector( rtems_isr_entry, rtems_vector_number, int ); +#endif /* * Console Device Driver Entry Points @@ -432,7 +435,9 @@ MC68681_STATIC void mc68681_initialize_interrupts(int minor) Console_Port_Data[minor].bActive = FALSE; +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) set_vector(mc68681_isr, Console_Port_Tbl[minor]->ulIntVector, 1); +#endif mc68681_enable_interrupts(minor,MC68681_IMR_ENABLE_ALL_EXCEPT_TX); } diff --git a/c/src/libchip/serial/z85c30.c b/c/src/libchip/serial/z85c30.c index e6adf337a1..f5ebde84f6 100644 --- a/c/src/libchip/serial/z85c30.c +++ b/c/src/libchip/serial/z85c30.c @@ -80,7 +80,9 @@ console_fns z85c30_fns_polled = { false /* deviceOutputUsesInterrupts */ }; -extern void set_vector( rtems_isr_entry, rtems_vector_number, int ); +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) + extern void set_vector( rtems_isr_entry, rtems_vector_number, int ); +#endif /* * z85c30_initialize_port @@ -722,7 +724,9 @@ Z85C30_STATIC void z85c30_initialize_interrupts( z85c30_negate_RTS(minor); } +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) set_vector(z85c30_isr, Console_Port_Tbl[minor]->ulIntVector, 1); +#endif z85c30_enable_interrupts(minor, SCC_ENABLE_ALL_INTR_EXCEPT_TX); diff --git a/c/src/librtems++/Makefile.am b/c/src/librtems++/Makefile.am index ffc369ca09..ba7f5240cf 100644 --- a/c/src/librtems++/Makefile.am +++ b/c/src/librtems++/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal include $(top_srcdir)/../automake/compile.am diff --git a/c/src/librtems++/configure.ac b/c/src/librtems++/configure.ac index 7ca2d3899f..801ee0bb1a 100644 --- a/c/src/librtems++/configure.ac +++ b/c/src/librtems++/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-librtems++],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla],[rtems-c-src-librtems++]) diff --git a/c/src/librtems++/src/rtemsInterrupt.cc b/c/src/librtems++/src/rtemsInterrupt.cc index 5432cfcd4a..436e362a2f 100644 --- a/c/src/librtems++/src/rtemsInterrupt.cc +++ b/c/src/librtems++/src/rtemsInterrupt.cc @@ -38,6 +38,9 @@ static bool initialised = false; #include <cstdlib> +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) + +typedef void * ISR_Handler void *; rtemsInterrupt::rtemsInterrupt() : vector(0), caught(false), @@ -123,3 +126,4 @@ void rtemsInterrupt::redirector(rtems_vector_number vector) if (interrupt_table[vector]) interrupt_table[vector]->handler(); } +#endif diff --git a/c/src/make/Makefile.am b/c/src/make/Makefile.am index b3ca7c0a7a..0303118343 100644 --- a/c/src/make/Makefile.am +++ b/c/src/make/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I aclocal -I ../aclocal CLEANFILES = diff --git a/c/src/make/aclocal/rtems-flags.m4 b/c/src/make/aclocal/rtems-flags.m4 index 57e63aa80d..8e034e52c2 100644 --- a/c/src/make/aclocal/rtems-flags.m4 +++ b/c/src/make/aclocal/rtems-flags.m4 @@ -1,3 +1,4 @@ +## $Id$ ## ## Some hacks to set up RTEMS_*FLAGS ## Internal macro, not supposed to be explictly used in configure.ac's diff --git a/c/src/make/configure.ac b/c/src/make/configure.ac index a2f84ba567..8905474d41 100644 --- a/c/src/make/configure.ac +++ b/c/src/make/configure.ac @@ -1,4 +1,8 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ + +## ## This script configures the configuration files below make/ ## diff --git a/c/src/support/Makefile.am b/c/src/support/Makefile.am index 66c81546c2..55b549e7fa 100644 --- a/c/src/support/Makefile.am +++ b/c/src/support/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am AM_CPPFLAGS += -DRTEMS_BSP=\"@RTEMS_BSP@\" diff --git a/c/src/wrapup/Makefile.am b/c/src/wrapup/Makefile.am index 08724dbf7a..1841ac3f8f 100644 --- a/c/src/wrapup/Makefile.am +++ b/c/src/wrapup/Makefile.am @@ -1,3 +1,6 @@ +## +## $Id$ +## ## build and install "glommed" librtemsbsp.a ## diff --git a/configure.ac b/configure.ac index 42573f9c0d..dc971d1b33 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index fe1831b691..5148664cf9 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I aclocal include $(top_srcdir)/automake/compile.am diff --git a/cpukit/aclocal/canonical-target-name.m4 b/cpukit/aclocal/canonical-target-name.m4 index a237c7ba25..230583bf8c 100644 --- a/cpukit/aclocal/canonical-target-name.m4 +++ b/cpukit/aclocal/canonical-target-name.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl canonicalize target cpu dnl NOTE: Most rtems targets do not fullfil autoconf's dnl target naming conventions "processor-vendor-os" diff --git a/cpukit/aclocal/canonicalize-tools.m4 b/cpukit/aclocal/canonicalize-tools.m4 index c5f4c73328..540c9a4c29 100644 --- a/cpukit/aclocal/canonicalize-tools.m4 +++ b/cpukit/aclocal/canonicalize-tools.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Set target tools dnl diff --git a/cpukit/aclocal/check-func.m4 b/cpukit/aclocal/check-func.m4 index 36d700bcdd..92787e1b87 100644 --- a/cpukit/aclocal/check-func.m4 +++ b/cpukit/aclocal/check-func.m4 @@ -1,3 +1,5 @@ +# $Id$ + # Check whether FUNCTION is declared in INCLUDES # and whether rtems_stub_FUNCTION or FUNCTION is supplied. diff --git a/cpukit/aclocal/check-multiprocessing.m4 b/cpukit/aclocal/check-multiprocessing.m4 index 1698d3d51f..ca4338b09a 100644 --- a/cpukit/aclocal/check-multiprocessing.m4 +++ b/cpukit/aclocal/check-multiprocessing.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING], [dnl AC_REQUIRE([RTEMS_ENV_RTEMSCPU])dnl diff --git a/cpukit/aclocal/check-networking.m4 b/cpukit/aclocal/check-networking.m4 index e6d9145596..1b8fe38fd9 100644 --- a/cpukit/aclocal/check-networking.m4 +++ b/cpukit/aclocal/check-networking.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_NETWORKING], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl diff --git a/cpukit/aclocal/check-newlib.m4 b/cpukit/aclocal/check-newlib.m4 index f23a90c7c7..bbf5f68dc2 100644 --- a/cpukit/aclocal/check-newlib.m4 +++ b/cpukit/aclocal/check-newlib.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_CHECK_NEWLIB], [dnl AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl diff --git a/cpukit/aclocal/check-posix.m4 b/cpukit/aclocal/check-posix.m4 index 6b7ff61c4e..a00dc2456b 100644 --- a/cpukit/aclocal/check-posix.m4 +++ b/cpukit/aclocal/check-posix.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_POSIX_API], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl diff --git a/cpukit/aclocal/check-rtems-debug.m4 b/cpukit/aclocal/check-rtems-debug.m4 index 280edccd65..ef5c14efef 100644 --- a/cpukit/aclocal/check-rtems-debug.m4 +++ b/cpukit/aclocal/check-rtems-debug.m4 @@ -1,3 +1,5 @@ +## $Id$ + AC_DEFUN([RTEMS_CHECK_RTEMS_DEBUG], [AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG]) AS_IF([test x"${enable_rtems_debug}" = x"yes"], diff --git a/cpukit/aclocal/check-smp.m4 b/cpukit/aclocal/check-smp.m4 index b9b10b1bf2..8de5f29ea3 100644 --- a/cpukit/aclocal/check-smp.m4 +++ b/cpukit/aclocal/check-smp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_SMP], [dnl AC_REQUIRE([RTEMS_ENABLE_SMP])dnl diff --git a/cpukit/aclocal/check-tool.m4 b/cpukit/aclocal/check-tool.m4 index 2bc137cd96..4c412c074a 100644 --- a/cpukit/aclocal/check-tool.m4 +++ b/cpukit/aclocal/check-tool.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + ## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to ## the un-prefixed version of PROG-TO-CHECK-FOR. dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) diff --git a/cpukit/aclocal/enable-multiprocessing.m4 b/cpukit/aclocal/enable-multiprocessing.m4 index 3b98a67d25..f664800e40 100644 --- a/cpukit/aclocal/enable-multiprocessing.m4 +++ b/cpukit/aclocal/enable-multiprocessing.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING], [ AC_ARG_ENABLE(multiprocessing, diff --git a/cpukit/aclocal/enable-networking.m4 b/cpukit/aclocal/enable-networking.m4 index d9b50ef208..a7be7b4df7 100644 --- a/cpukit/aclocal/enable-networking.m4 +++ b/cpukit/aclocal/enable-networking.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_NETWORKING], [ ## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl diff --git a/cpukit/aclocal/enable-posix.m4 b/cpukit/aclocal/enable-posix.m4 index c1833950e3..8859e54e7f 100644 --- a/cpukit/aclocal/enable-posix.m4 +++ b/cpukit/aclocal/enable-posix.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_POSIX], [ ## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl diff --git a/cpukit/aclocal/enable-rtems-debug.m4 b/cpukit/aclocal/enable-rtems-debug.m4 index ba4a4f2111..ada9fe30f4 100644 --- a/cpukit/aclocal/enable-rtems-debug.m4 +++ b/cpukit/aclocal/enable-rtems-debug.m4 @@ -1,3 +1,5 @@ +## $Id$ + AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG], [ AC_ARG_ENABLE(rtems-debug, diff --git a/cpukit/aclocal/enable-smp.m4 b/cpukit/aclocal/enable-smp.m4 index b290ac33ab..84561f8bbd 100644 --- a/cpukit/aclocal/enable-smp.m4 +++ b/cpukit/aclocal/enable-smp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_SMP], [ ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl diff --git a/cpukit/aclocal/env-rtemscpu.m4 b/cpukit/aclocal/env-rtemscpu.m4 index 7c18e3f521..65dea4ef49 100644 --- a/cpukit/aclocal/env-rtemscpu.m4 +++ b/cpukit/aclocal/env-rtemscpu.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENV_RTEMSCPU], [ AC_REQUIRE([RTEMS_ENABLE_MULTILIB]) diff --git a/cpukit/aclocal/gcc-pipe.m4 b/cpukit/aclocal/gcc-pipe.m4 index fbc78b9ca7..2a04629bb2 100644 --- a/cpukit/aclocal/gcc-pipe.m4 +++ b/cpukit/aclocal/gcc-pipe.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check whether the target compiler accepts -pipe dnl diff --git a/cpukit/aclocal/prog-cc.m4 b/cpukit/aclocal/prog-cc.m4 index e334ae23b1..6de5b33d57 100644 --- a/cpukit/aclocal/prog-cc.m4 +++ b/cpukit/aclocal/prog-cc.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check for target gcc dnl diff --git a/cpukit/aclocal/prog-ccas.m4 b/cpukit/aclocal/prog-ccas.m4 index c30b884e19..15b1a2c9b8 100644 --- a/cpukit/aclocal/prog-ccas.m4 +++ b/cpukit/aclocal/prog-ccas.m4 @@ -1,3 +1,5 @@ +## $Id$ + AC_DEFUN([RTEMS_PROG_CCAS], [ AC_REQUIRE([RTEMS_PROG_CC]) diff --git a/cpukit/aclocal/rtems-ampolish.m4 b/cpukit/aclocal/rtems-ampolish.m4 index 6088dddb6b..328df7afcb 100644 --- a/cpukit/aclocal/rtems-ampolish.m4 +++ b/cpukit/aclocal/rtems-ampolish.m4 @@ -1,3 +1,5 @@ +# $Id$ + AC_DEFUN([RTEMS_AMPOLISH3], [ AC_REQUIRE([AM_MAINTAINER_MODE]) diff --git a/cpukit/aclocal/rtems-top.m4 b/cpukit/aclocal/rtems-top.m4 index b0cdaaa4d7..357ea55c4d 100644 --- a/cpukit/aclocal/rtems-top.m4 +++ b/cpukit/aclocal/rtems-top.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + # AC_DISABLE_OPTION_CHECKING is not available before 2.62 AC_PREREQ(2.62) diff --git a/cpukit/configure.ac b/cpukit/configure.ac index e4f715b7e5..24bcdc2f20 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-cpukit],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/cpukit/ftpd/Makefile.am b/cpukit/ftpd/Makefile.am index 24a2815a97..2155b23c28 100644 --- a/cpukit/ftpd/Makefile.am +++ b/cpukit/ftpd/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am if LIBNETWORKING diff --git a/cpukit/libblock/Makefile.am b/cpukit/libblock/Makefile.am index 242c44e1f6..5cf143dae3 100644 --- a/cpukit/libblock/Makefile.am +++ b/cpukit/libblock/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/libblock/include/rtems/blkdev.h b/cpukit/libblock/include/rtems/blkdev.h index c51238084b..85c22c1d5e 100644 --- a/cpukit/libblock/include/rtems/blkdev.h +++ b/cpukit/libblock/include/rtems/blkdev.h @@ -162,6 +162,7 @@ typedef struct rtems_blkdev_request { #define RTEMS_BLKIO_DELETED _IO('B', 7) #define RTEMS_BLKIO_CAPABILITIES _IO('B', 8) #define RTEMS_BLKIO_GETDISKDEV _IOR('B', 9, rtems_disk_device *) +#define RTEMS_BLKIO_PURGEDEV _IO('B', 10) /** @} */ @@ -204,6 +205,11 @@ static inline int rtems_disk_fd_sync(int fd) return ioctl(fd, RTEMS_BLKIO_SYNCDEV); } +static inline int rtems_disk_fd_purge(int fd) +{ + return ioctl(fd, RTEMS_BLKIO_PURGEDEV); +} + /** * Only consecutive multi-sector buffer requests are supported. * diff --git a/cpukit/libblock/src/blkdev-imfs.c b/cpukit/libblock/src/blkdev-imfs.c index fe7a80cc2c..86455930f6 100644 --- a/cpukit/libblock/src/blkdev-imfs.c +++ b/cpukit/libblock/src/blkdev-imfs.c @@ -206,7 +206,7 @@ static const rtems_filesystem_file_handlers_r rtems_blkdev_imfs_node = { .read_h = rtems_blkdev_imfs_read, .write_h = rtems_blkdev_imfs_write, .ioctl_h = rtems_blkdev_imfs_ioctl, - .lseek_h = rtems_filesystem_default_lseek_success, + .lseek_h = rtems_filesystem_default_lseek_file, .fstat_h = rtems_blkdev_imfs_fstat, .ftruncate_h = rtems_filesystem_default_ftruncate, .fsync_h = rtems_blkdev_imfs_fsync_or_fdatasync, diff --git a/cpukit/libblock/src/blkdev-ioctl.c b/cpukit/libblock/src/blkdev-ioctl.c index 52f19b58a0..d775d1e833 100644 --- a/cpukit/libblock/src/blkdev-ioctl.c +++ b/cpukit/libblock/src/blkdev-ioctl.c @@ -60,6 +60,10 @@ rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) *(rtems_disk_device **) argp = dd; break; + case RTEMS_BLKIO_PURGEDEV: + rtems_bdbuf_purge_dev(dd); + break; + default: errno = EINVAL; rc = -1; diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am index 1d6fa3b50c..ce2a745ec9 100644 --- a/cpukit/libcsupport/Makefile.am +++ b/cpukit/libcsupport/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 04ca52c4aa..a740a408f0 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -849,8 +849,9 @@ typedef int (*rtems_filesystem_ioctl_t)( * @retval non-negative The new offset from the beginning of the file. * @retval -1 An error occured. The errno is set to indicate the error. * - * @see rtems_filesystem_default_lseek() and - * rtems_filesystem_default_lseek_success(). + * @see rtems_filesystem_default_lseek(), + * rtems_filesystem_default_lseek_file(), and + * rtems_filesystem_default_lseek_directory(). */ typedef off_t (*rtems_filesystem_lseek_t)( rtems_libio_t *iop, @@ -1026,11 +1027,51 @@ off_t rtems_filesystem_default_lseek( ); /** + * @brief An offset 0 with a whence of SEEK_SET will perform a directory rewind + * operation. + * + * This function has no protection against concurrent access. + * + * @retval -1 The offset is not zero or the whence is not SEEK_SET. + * @retval 0 Successful rewind operation. + * + * @see rtems_filesystem_lseek_t. + */ +off_t rtems_filesystem_default_lseek_directory( + rtems_libio_t *iop, + off_t offset, + int whence +); + +/** + * @brief Default lseek() handler for files. + * + * The fstat() handler will be used to obtain the file size in case whence is + * SEEK_END. + * + * This function has no protection against concurrent access. + * + * @retval -1 An error occured. In case an integer overflow occured, then the + * errno will be set to EOVERFLOW. In case the new offset is negative, then + * the errno will be set to EINVAL. In case the whence is SEEK_END and the + * fstat() handler to obtain the current file size returned an error status, + * then the errno will be set by the fstat() handler. + * @retval offset The new offset. + * + * @see rtems_filesystem_lseek_t. + */ +off_t rtems_filesystem_default_lseek_file( + rtems_libio_t *iop, + off_t offset, + int whence +); + +/** * @retval 0 Always. * * @see rtems_filesystem_lseek_t. */ -off_t rtems_filesystem_default_lseek_success( +off_t rtems_filesystem_default_lseek_file( rtems_libio_t *iop, off_t offset, int whence @@ -1157,11 +1198,10 @@ extern const rtems_filesystem_limits_and_options_t * It will be indexed by 'fd'. * * @todo Should really have a separate per/file data structure that this points - * to (eg: size, offset, driver, pathname should be in that) + * to (eg: offset, driver, pathname should be in that) */ struct rtems_libio_tt { rtems_driver_name_t *driver; - off_t size; /* size of file */ off_t offset; /* current offset into file */ uint32_t flags; rtems_filesystem_location_info_t pathinfo; diff --git a/cpukit/libcsupport/src/lseek.c b/cpukit/libcsupport/src/lseek.c index 7c1f76b36b..fa18db33f4 100644 --- a/cpukit/libcsupport/src/lseek.c +++ b/cpukit/libcsupport/src/lseek.c @@ -21,65 +21,13 @@ off_t lseek( int fd, off_t offset, int whence ) { - off_t rv = 0; rtems_libio_t *iop; - off_t reference_offset; - off_t old_offset; - off_t new_offset; rtems_libio_check_fd( fd ); iop = rtems_libio_iop( fd ); rtems_libio_check_is_open(iop); - old_offset = iop->offset; - switch ( whence ) { - case SEEK_SET: - reference_offset = 0; - break; - case SEEK_CUR: - reference_offset = old_offset; - break; - case SEEK_END: - reference_offset = iop->size; - break; - default: - errno = EINVAL; - rv = (off_t) -1; - break; - } - new_offset = reference_offset + offset; - - if ( rv == 0 ) { - if ( - (reference_offset >= 0 && new_offset >= offset) - || (reference_offset < 0 && new_offset <= offset) - ) { - switch ( rtems_filesystem_node_type( &iop->pathinfo ) ) { - case RTEMS_FILESYSTEM_DIRECTORY: - case RTEMS_FILESYSTEM_MEMORY_FILE: - if ( new_offset < 0 ) { - errno = EINVAL; - rv = (off_t) -1; - } - break; - default: - break; - } - - if ( rv == 0 ) { - iop->offset = new_offset; - rv = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); - if ( rv == (off_t) -1 ) { - iop->offset = old_offset; - } - } - } else { - errno = EOVERFLOW; - rv = (off_t) -1; - } - } - - return rv; + return (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); } /* diff --git a/cpukit/libfs/Makefile.am b/cpukit/libfs/Makefile.am index deb2dacda1..f236704bdd 100644 --- a/cpukit/libfs/Makefile.am +++ b/cpukit/libfs/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am @@ -19,7 +23,8 @@ libdefaultfs_a_SOURCES = \ src/defaults/default_chown.c \ src/defaults/default_fcntl.c src/defaults/default_fsmount.c \ src/defaults/default_ftruncate.c src/defaults/default_lseek.c \ - src/defaults/default_lseek_success.c \ + src/defaults/default_lseek_file.c \ + src/defaults/default_lseek_directory.c \ src/defaults/default_readlink.c src/defaults/default_statvfs.c \ src/defaults/default_utime.c \ src/defaults/default_fstat.c \ diff --git a/cpukit/libfs/src/defaults/default_lseek_success.c b/cpukit/libfs/src/defaults/default_lseek_directory.c index d6a1cb4d8c..e50eefd667 100644 --- a/cpukit/libfs/src/defaults/default_lseek_success.c +++ b/cpukit/libfs/src/defaults/default_lseek_directory.c @@ -1,4 +1,3 @@ - /* * Copyright (c) 2012 embedded brains GmbH. All rights reserved. * @@ -19,11 +18,20 @@ #include <rtems/libio_.h> -off_t rtems_filesystem_default_lseek_success( +off_t rtems_filesystem_default_lseek_directory( rtems_libio_t *iop, off_t offset, int whence ) { - return 0; + off_t rv = 0; + + if ( offset == 0 && whence == SEEK_SET ) { + iop->offset = 0; + } else { + errno = EINVAL; + rv = -1; + } + + return rv; } diff --git a/cpukit/libfs/src/defaults/default_lseek_file.c b/cpukit/libfs/src/defaults/default_lseek_file.c new file mode 100644 index 0000000000..9d80b2a176 --- /dev/null +++ b/cpukit/libfs/src/defaults/default_lseek_file.c @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2012 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#if HAVE_CONFIG_H + #include "config.h" +#endif + +#include <rtems/libio_.h> + +off_t rtems_filesystem_default_lseek_file( + rtems_libio_t *iop, + off_t offset, + int whence +) +{ + off_t rv = 0; + off_t reference_offset; + off_t new_offset; + struct stat st; + + switch ( whence ) { + case SEEK_SET: + reference_offset = 0; + break; + case SEEK_CUR: + reference_offset = iop->offset; + break; + case SEEK_END: + st.st_size = 0; + rv = (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, &st ); + reference_offset = st.st_size; + break; + default: + errno = EINVAL; + rv = -1; + break; + } + new_offset = reference_offset + offset; + + if ( rv == 0 ) { + if ( + (offset >= 0 && new_offset >= reference_offset) + || (offset < 0 && new_offset < reference_offset) + ) { + if ( new_offset >= 0 ) { + iop->offset = new_offset; + rv = new_offset; + } else { + errno = EINVAL; + rv = -1; + } + } else { + errno = EOVERFLOW; + rv = -1; + } + } + + return rv; +} diff --git a/cpukit/libfs/src/devfs/devfs_init.c b/cpukit/libfs/src/devfs/devfs_init.c index db856d21fa..154f1b9176 100644 --- a/cpukit/libfs/src/devfs/devfs_init.c +++ b/cpukit/libfs/src/devfs/devfs_init.c @@ -42,7 +42,7 @@ const rtems_filesystem_file_handlers_r devFS_file_handlers = { .read_h = devFS_read, .write_h = devFS_write, .ioctl_h = devFS_ioctl, - .lseek_h = rtems_filesystem_default_lseek, + .lseek_h = rtems_filesystem_default_lseek_file, .fstat_h = devFS_stat, .ftruncate_h = rtems_filesystem_default_ftruncate, .fsync_h = rtems_filesystem_default_fsync_or_fdatasync, diff --git a/cpukit/libfs/src/dosfs/fat.c b/cpukit/libfs/src/dosfs/fat.c index 39a7bacb24..a7030fc78c 100644 --- a/cpukit/libfs/src/dosfs/fat.c +++ b/cpukit/libfs/src/dosfs/fat.c @@ -263,6 +263,42 @@ _fat_block_write( return cmpltd; } +int +_fat_block_zero( + rtems_filesystem_mount_table_entry_t *mt_entry, + uint32_t start, + uint32_t offset, + uint32_t count) +{ + int rc = RC_OK; + fat_fs_info_t *fs_info = mt_entry->fs_info; + uint32_t blk = start; + uint32_t ofs = offset; + rtems_bdbuf_buffer *block = NULL; + uint32_t c = 0; + + while(count > 0) + { + c = MIN(count, (fs_info->vol.bps - ofs)); + + if (c == fs_info->vol.bps) + rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block); + else + rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block); + if (rc != RC_OK) + return -1; + + memset((block->buffer + ofs), 0, c); + + fat_buf_mark_modified(fs_info); + + count -= c; + blk++; + ofs = 0; + } + return 0; +} + /* _fat_block_release -- * This function works around the hack that hold a bdbuf and does * not release it. diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h index 204095cae2..e55d23d845 100644 --- a/cpukit/libfs/src/dosfs/fat.h +++ b/cpukit/libfs/src/dosfs/fat.h @@ -465,6 +465,12 @@ _fat_block_write(rtems_filesystem_mount_table_entry_t *mt_entry, const void *buff); int +_fat_block_zero(rtems_filesystem_mount_table_entry_t *mt_entry, + uint32_t start, + uint32_t offset, + uint32_t count); + +int _fat_block_release(rtems_filesystem_mount_table_entry_t *mt_entry); ssize_t diff --git a/cpukit/libfs/src/dosfs/fat_fat_operations.c b/cpukit/libfs/src/dosfs/fat_fat_operations.c index c4f82805e8..756af99c90 100644 --- a/cpukit/libfs/src/dosfs/fat_fat_operations.c +++ b/cpukit/libfs/src/dosfs/fat_fat_operations.c @@ -46,7 +46,8 @@ fat_scan_fat_for_free_clusters( uint32_t *chain, uint32_t count, uint32_t *cls_added, - uint32_t *last_cl + uint32_t *last_cl, + bool zero_fill ) { int rc = RC_OK; @@ -113,14 +114,16 @@ fat_scan_fat_for_free_clusters( rc = fat_set_fat_cluster(mt_entry, save_cln, cl4find); if ( rc != RC_OK ) - { - /* cleanup activity */ - fat_free_fat_clusters_chain(mt_entry, (*chain)); - /* trying to save last allocated cluster for future use */ - fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_FREE); - fat_buf_release(fs_info); - return rc; - } + goto cleanup; + } + + if (zero_fill) { + uint32_t sec = fat_cluster_num_to_sector_num(mt_entry, + cl4find); + + rc = _fat_block_zero(mt_entry, sec, 0, fs_info->vol.bpc); + if ( rc != RC_OK ) + goto cleanup; } save_cln = cl4find; @@ -150,6 +153,15 @@ fat_scan_fat_for_free_clusters( *last_cl = save_cln; fat_buf_release(fs_info); return RC_OK; + +cleanup: + + /* cleanup activity */ + fat_free_fat_clusters_chain(mt_entry, (*chain)); + /* trying to save last allocated cluster for future use */ + fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_FREE); + fat_buf_release(fs_info); + return rc; } /* fat_free_fat_clusters_chain -- diff --git a/cpukit/libfs/src/dosfs/fat_fat_operations.h b/cpukit/libfs/src/dosfs/fat_fat_operations.h index d516057ad0..be997980d7 100644 --- a/cpukit/libfs/src/dosfs/fat_fat_operations.h +++ b/cpukit/libfs/src/dosfs/fat_fat_operations.h @@ -43,7 +43,8 @@ fat_scan_fat_for_free_clusters( uint32_t *chain, uint32_t count, uint32_t *cls_added, - uint32_t *last_cl + uint32_t *last_cl, + bool zero_fill ); int diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c index 01dabc8f80..73ea076819 100644 --- a/cpukit/libfs/src/dosfs/fat_file.c +++ b/cpukit/libfs/src/dosfs/fat_file.c @@ -381,18 +381,18 @@ fat_file_write( uint32_t sec = 0; uint32_t byte = 0; uint32_t c = 0; + bool zero_fill = start > fat_fd->fat_file_size; if ( count == 0 ) return cmpltd; - if ( start > fat_fd->fat_file_size ) - rtems_set_errno_and_return_minus_one( EIO ); + if (start >= fat_fd->size_limit) + rtems_set_errno_and_return_minus_one(EFBIG); - if ((count > fat_fd->size_limit) || - (start > fat_fd->size_limit - count)) - rtems_set_errno_and_return_minus_one( EIO ); + if (count > fat_fd->size_limit - start) + count = fat_fd->size_limit - start; - rc = fat_file_extend(mt_entry, fat_fd, start + count, &c); + rc = fat_file_extend(mt_entry, fat_fd, zero_fill, start + count, &c); if (rc != RC_OK) return rc; @@ -475,6 +475,7 @@ int fat_file_extend( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, + bool zero_fill, uint32_t new_length, uint32_t *a_length ) @@ -509,6 +510,27 @@ fat_file_extend( else bytes2add = 0; + if (zero_fill && bytes_remain > 0) { + uint32_t start = fat_fd->fat_file_size; + uint32_t cl_start = start >> fs_info->vol.bpc_log2; + uint32_t ofs = start & (fs_info->vol.bpc - 1); + uint32_t cur_cln; + uint32_t sec; + uint32_t byte; + + rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln); + if (rc != RC_OK) + return rc; + + sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln); + sec += ofs >> fs_info->vol.sec_log2; + byte = ofs & (fs_info->vol.bps - 1); + + rc = _fat_block_zero(mt_entry, sec, byte, bytes_remain); + if (rc != RC_OK) + return rc; + } + /* * if in last cluster allocated for the file there is enough room to * handle extention (hence we don't need to add even one cluster to the @@ -520,7 +542,7 @@ fat_file_extend( cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1; rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add, - &cls_added, &last_cl); + &cls_added, &last_cl, zero_fill); /* this means that low level I/O error occured */ if (rc != RC_OK) @@ -752,65 +774,6 @@ fat_file_mark_removed( fat_fd->flags |= FAT_FILE_REMOVED; } -/* fat_file_datasync -- - * Synchronize fat-file - flush all buffered data to the media. - * - * PARAMETERS: - * mt_entry - mount table entry - * fat_fd - fat-file descriptor - * - * RETURNS: - * RC_OK on success, or -1 if error occured and errno set appropriately - */ -int -fat_file_datasync( - rtems_filesystem_mount_table_entry_t *mt_entry, - fat_file_fd_t *fat_fd - ) -{ - int rc = RC_OK; - rtems_status_code sc = RTEMS_SUCCESSFUL; - fat_fs_info_t *fs_info = mt_entry->fs_info; - uint32_t cur_cln = fat_fd->cln; - rtems_bdbuf_buffer *block = NULL; - uint32_t sec = 0; - uint32_t i = 0; - - if (fat_fd->fat_file_size == 0) - return RC_OK; - - /* - * we can use only one bdbuf :( and we also know that cache is useless - * for sync operation, so don't use it - */ - rc = fat_buf_release(fs_info); - if (rc != RC_OK) - return rc; - - /* for each cluster of the file ... */ - while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val) - { - sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln); - /* for each sector in cluster ... */ - for ( i = 0; i < fs_info->vol.spc; i++ ) - { - /* ... sync it */ - sc = rtems_bdbuf_read(fs_info->vol.dd, (sec + i), &block); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one( EIO ); - - sc = rtems_bdbuf_sync(block); - if ( sc != RTEMS_SUCCESSFUL ) - rtems_set_errno_and_return_minus_one( EIO ); - } - - rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln); - if ( rc != RC_OK ) - return rc; - } - return rc; -} - /* fat_file_size -- * Calculate fat-file size - fat-file is nothing that clusters chain, so * go through all clusters in the chain and count it. Only diff --git a/cpukit/libfs/src/dosfs/fat_file.h b/cpukit/libfs/src/dosfs/fat_file.h index 01ab73ef98..3a338a59ea 100644 --- a/cpukit/libfs/src/dosfs/fat_file.h +++ b/cpukit/libfs/src/dosfs/fat_file.h @@ -158,6 +158,7 @@ fat_file_write(rtems_filesystem_mount_table_entry_t *mt_entry, int fat_file_extend(rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, + bool zero_fill, uint32_t new_length, uint32_t *a_length); @@ -167,11 +168,6 @@ fat_file_truncate(rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t new_length); int -fat_file_datasync(rtems_filesystem_mount_table_entry_t *mt_entry, - fat_file_fd_t *fat_fd); - - -int fat_file_ioctl(rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, int cmd, diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h index 9bdfd881ec..409c41897e 100644 --- a/cpukit/libfs/src/dosfs/msdos.h +++ b/cpukit/libfs/src/dosfs/msdos.h @@ -265,13 +265,6 @@ int msdos_initialize_support( const rtems_filesystem_file_handlers_r *directory_handlers ); -int msdos_file_open( - rtems_libio_t *iop, /* IN */ - const char *pathname, /* IN */ - int oflag, /* IN */ - mode_t mode /* IN */ -); - int msdos_file_close(rtems_libio_t *iop /* IN */); ssize_t msdos_file_read( @@ -286,12 +279,6 @@ ssize_t msdos_file_write( size_t count /* IN */ ); -off_t msdos_file_lseek( - rtems_libio_t *iop, /* IN */ - off_t offset, /* IN */ - int whence /* IN */ -); - int msdos_file_stat( const rtems_filesystem_location_info_t *loc, struct stat *buf @@ -307,27 +294,12 @@ int msdos_file_sync(rtems_libio_t *iop); int msdos_file_datasync(rtems_libio_t *iop); -int msdos_dir_open( - rtems_libio_t *iop, /* IN */ - const char *pathname, /* IN */ - int oflag, /* IN */ - mode_t mode /* IN */ -); - -int msdos_dir_close(rtems_libio_t *iop /* IN */); - ssize_t msdos_dir_read( rtems_libio_t *iop, /* IN */ void *buffer, /* IN */ size_t count /* IN */ ); -off_t msdos_dir_lseek( - rtems_libio_t *iop, /* IN */ - off_t offset, /* IN */ - int whence /* IN */ -); - int msdos_dir_sync(rtems_libio_t *iop); int msdos_dir_stat( @@ -427,6 +399,10 @@ int msdos_get_dotdot_dir_info_cluster_num_and_offset( char *dir_entry ); +int msdos_sync_unprotected(msdos_fs_info_t *fs_info); + +int msdos_sync(rtems_libio_t *iop); + #ifdef __cplusplus } #endif diff --git a/cpukit/libfs/src/dosfs/msdos_dir.c b/cpukit/libfs/src/dosfs/msdos_dir.c index 67a0bdaaa9..8bd807dc1b 100644 --- a/cpukit/libfs/src/dosfs/msdos_dir.c +++ b/cpukit/libfs/src/dosfs/msdos_dir.c @@ -30,70 +30,6 @@ #include "msdos.h" -/* msdos_dir_open -- - * Open fat-file which correspondes to the directory being opened and - * set offset field of file control block to zero. - */ -int -msdos_dir_open(rtems_libio_t *iop, const char *pathname, int oflag, - mode_t mode) -{ - int rc = RC_OK; - rtems_status_code sc = RTEMS_SUCCESSFUL; - msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - - sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, - MSDOS_VOLUME_SEMAPHORE_TIMEOUT); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one( EIO ); - - rc = fat_file_reopen(fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - - iop->offset = 0; - rtems_semaphore_release(fs_info->vol_sema); - return RC_OK; -} - -/* msdos_dir_close -- - * Close fat-file which correspondes to the directory being closed - * - * PARAMETERS: - * iop - file control block - * - * RETURNS: - * RC_OK, if directory closed successfully, or -1 if error occured (errno - * set apropriately. - */ -int -msdos_dir_close(rtems_libio_t *iop) -{ - int rc = RC_OK; - rtems_status_code sc = RTEMS_SUCCESSFUL; - msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - - sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, - MSDOS_VOLUME_SEMAPHORE_TIMEOUT); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one( EIO ); - - rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - - rtems_semaphore_release(fs_info->vol_sema); - return RC_OK; -} - /* msdos_format_dirent_with_dot -- * This routine convert a (short) MSDOS filename as present on disk * (fixed 8+3 characters, filled with blanks, without separator dot) @@ -465,38 +401,6 @@ msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count) * no write for directory */ -/* msdos_dir_lseek -- - * - * This routine will behave in one of three ways based on the state of - * argument whence. Based on the state of its value the offset argument will - * be interpreted using one of the following methods: - * - * SEEK_SET - offset is the absolute byte offset from the start of the - * logical start of the dirent sequence that represents the - * directory - * SEEK_CUR - offset is used as the relative byte offset from the current - * directory position index held in the iop structure - * SEEK_END - N/A --> This will cause an assert. - * - * PARAMETERS: - * iop - file control block - * offset - offset - * whence - predefine directive - * - * RETURNS: - * RC_OK on success, or -1 if error occured (errno - * set apropriately). - */ -off_t -msdos_dir_lseek(rtems_libio_t *iop, off_t offset, int whence) -{ - if (iop->offset >= 0 && iop->offset <= iop->size) { - return 0; - } else { - rtems_set_errno_and_return_minus_one(EINVAL); - } -} - /* msdos_dir_stat -- * * This routine will obtain the following information concerning the current @@ -553,34 +457,3 @@ msdos_dir_stat( * RETURNS: * */ - -/* msdos_dir_sync -- - * The following routine does a syncronization on a MSDOS directory node. - * DIR_WrtTime, DIR_WrtDate and DIR_fileSize fields of 32 Bytes Directory - * Entry Structure should not be updated for directories, so only call - * to corresponding fat-file routine. - * - * PARAMETERS: - * iop - file control block - * - * RETURNS: - * RC_OK on success, or -1 if error occured (errno set apropriately). - */ -int -msdos_dir_sync(rtems_libio_t *iop) -{ - int rc = RC_OK; - rtems_status_code sc = RTEMS_SUCCESSFUL; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - - sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, - MSDOS_VOLUME_SEMAPHORE_TIMEOUT); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one(EIO); - - rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd); - - rtems_semaphore_release(fs_info->vol_sema); - return rc; -} diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c index 7cd55b0494..176ec8e8db 100644 --- a/cpukit/libfs/src/dosfs/msdos_file.c +++ b/cpukit/libfs/src/dosfs/msdos_file.c @@ -27,47 +27,38 @@ #include "msdos.h" -/* msdos_file_open -- - * Open fat-file which correspondes to the file - * - * PARAMETERS: - * iop - file control block - * pathname - name - * flag - flags - * mode - mode - * - * RETURNS: - * RC_OK, if file opened successfully, or -1 if error occured - * and errno set appropriately - */ -int -msdos_file_open(rtems_libio_t *iop, const char *pathname, int oflag, - mode_t mode) +static int +msdos_file_update(rtems_libio_t *iop) { - int rc = RC_OK; - rtems_status_code sc = RTEMS_SUCCESSFUL; - msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - - sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, - MSDOS_VOLUME_SEMAPHORE_TIMEOUT); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one(EIO); + int rc = RC_OK; + fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - rc = fat_file_reopen(fat_fd); - if (rc != RC_OK) + /* + * if fat-file descriptor is not marked as "removed", synchronize + * size, first cluster number, write time and date fields of the file + */ + if (!FAT_FILE_IS_REMOVED(fat_fd)) { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } + rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd); + if (rc != RC_OK) + { + return rc; + } - if (iop->flags & LIBIO_FLAGS_APPEND) - iop->offset = fat_fd->fat_file_size; + rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd); + if (rc != RC_OK) + { + return rc; + } - iop->size = fat_fd->fat_file_size; + rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd); + if (rc != RC_OK) + { + return rc; + } + } - rtems_semaphore_release(fs_info->vol_sema); - return RC_OK; + return rc; } /* msdos_file_close -- @@ -88,42 +79,13 @@ msdos_file_close(rtems_libio_t *iop) int rc = RC_OK; rtems_status_code sc = RTEMS_SUCCESSFUL; msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, MSDOS_VOLUME_SEMAPHORE_TIMEOUT); if (sc != RTEMS_SUCCESSFUL) rtems_set_errno_and_return_minus_one(EIO); - /* - * if fat-file descriptor is not marked as "removed", synchronize - * size, first cluster number, write time and date fields of the file - */ - if (!FAT_FILE_IS_REMOVED(fat_fd)) - { - rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - - rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - - rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - } - - rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd); + rc = msdos_file_update(iop); rtems_semaphore_release(fs_info->vol_sema); return rc; @@ -188,6 +150,9 @@ msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count) if (sc != RTEMS_SUCCESSFUL) rtems_set_errno_and_return_minus_one(EIO); + if ((iop->flags & LIBIO_FLAGS_APPEND) != 0) + iop->offset = fat_fd->fat_file_size; + ret = fat_file_write(iop->pathinfo.mt_entry, fat_fd, iop->offset, count, buffer); if (ret < 0) @@ -203,60 +168,10 @@ msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count) if (iop->offset + ret > fat_fd->fat_file_size) fat_fd->fat_file_size = iop->offset + ret; - iop->size = fat_fd->fat_file_size; - rtems_semaphore_release(fs_info->vol_sema); return ret; } -/* msdos_file_lseek -- - * Process lseek call to the file: extend file if lseek is up to the end - * of the file. - * - * PARAMETERS: - * iop - file control block - * offset - new offset - * whence - predefine directive - * - * RETURNS: - * new offset on success, or -1 if error occured (errno set - * appropriately). - */ -off_t -msdos_file_lseek(rtems_libio_t *iop, off_t offset, int whence) -{ - int rc = RC_OK; - rtems_status_code sc = RTEMS_SUCCESSFUL; - msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - uint32_t real_size = 0; - - if (iop->offset < 0 || iop->offset > UINT32_MAX) { - rtems_set_errno_and_return_minus_one(EINVAL); - } - - sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, - MSDOS_VOLUME_SEMAPHORE_TIMEOUT); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one(EIO); - - rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, - &real_size); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - - if (real_size > fat_fd->fat_file_size) - fat_fd->fat_file_size = iop->offset = real_size; - - iop->size = fat_fd->fat_file_size; - - rtems_semaphore_release(fs_info->vol_sema); - return iop->offset; -} - /* msdos_file_stat -- * * PARAMETERS: @@ -295,7 +210,7 @@ msdos_file_stat( } /* msdos_file_ftruncate -- - * Truncate the file (if new length is greater then current do nothing). + * Truncate the file. * * PARAMETERS: * iop - file control block @@ -311,31 +226,38 @@ msdos_file_ftruncate(rtems_libio_t *iop, off_t length) rtems_status_code sc = RTEMS_SUCCESSFUL; msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - - if (length >= fat_fd->fat_file_size) - return RC_OK; + uint32_t old_length; sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, MSDOS_VOLUME_SEMAPHORE_TIMEOUT); if (sc != RTEMS_SUCCESSFUL) rtems_set_errno_and_return_minus_one(EIO); - rc = fat_file_truncate(iop->pathinfo.mt_entry, fat_fd, length); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; + old_length = fat_fd->fat_file_size; + if (length < old_length) { + rc = fat_file_truncate(iop->pathinfo.mt_entry, fat_fd, length); + } else { + uint32_t new_length; + + rc = fat_file_extend(iop->pathinfo.mt_entry, + fat_fd, + true, + length, + &new_length); + if (rc == RC_OK && length != new_length) { + fat_file_truncate(iop->pathinfo.mt_entry, fat_fd, old_length); + errno = ENOSPC; + rc = -1; + } } - /* - * fat_file_truncate do nothing if new length >= fat-file size, so update - * file size only if length < fat-file size - */ - if (length < fat_fd->fat_file_size) - iop->size = fat_fd->fat_file_size = length; + if (rc == RC_OK) { + fat_fd->fat_file_size = length; + } rtems_semaphore_release(fs_info->vol_sema); - return RC_OK; + + return rc; } /* msdos_file_sync -- @@ -361,67 +283,14 @@ msdos_file_sync(rtems_libio_t *iop) if (sc != RTEMS_SUCCESSFUL) rtems_set_errno_and_return_minus_one(EIO); - /* synchronize file data */ - rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd); + rc = msdos_file_update(iop); if (rc != RC_OK) { rtems_semaphore_release(fs_info->vol_sema); return rc; } - /* - * if fat-file descriptor is not marked "removed" - synchronize file - * metadata - */ - if (!FAT_FILE_IS_REMOVED(fat_fd)) - { - rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd); - if (rc != RC_OK) - { - rtems_semaphore_release(fs_info->vol_sema); - return rc; - } - } - - rtems_semaphore_release(fs_info->vol_sema); - return RC_OK; -} - -/* msdos_file_datasync -- - * Synchronize file - synchronize only file data (metadata is letf intact). - * - * PARAMETERS: - * iop - file control block - * - * RETURNS: - * RC_OK on success, or -1 if error occured (errno set appropriately) - */ -int -msdos_file_datasync(rtems_libio_t *iop) -{ - rtems_status_code sc = RTEMS_SUCCESSFUL; - fat_file_fd_t *fat_fd = iop->pathinfo.node_access; - msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; - - sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, - MSDOS_VOLUME_SEMAPHORE_TIMEOUT); - if (sc != RTEMS_SUCCESSFUL) - rtems_set_errno_and_return_minus_one(EIO); - - /* synchronize file data */ - fat_file_datasync(iop->pathinfo.mt_entry, fat_fd); + rc = msdos_sync_unprotected(fs_info); rtems_semaphore_release(fs_info->vol_sema); return RC_OK; diff --git a/cpukit/libfs/src/dosfs/msdos_handlers_dir.c b/cpukit/libfs/src/dosfs/msdos_handlers_dir.c index 193d796dd9..7da9c1ec77 100644 --- a/cpukit/libfs/src/dosfs/msdos_handlers_dir.c +++ b/cpukit/libfs/src/dosfs/msdos_handlers_dir.c @@ -19,15 +19,15 @@ #include "msdos.h" const rtems_filesystem_file_handlers_r msdos_dir_handlers = { - msdos_dir_open, - msdos_dir_close, + rtems_filesystem_default_open, + rtems_filesystem_default_close, msdos_dir_read, rtems_filesystem_default_write, rtems_filesystem_default_ioctl, - msdos_dir_lseek, + rtems_filesystem_default_lseek_directory, msdos_dir_stat, rtems_filesystem_default_ftruncate_directory, - msdos_dir_sync, - msdos_dir_sync, + msdos_sync, + msdos_sync, rtems_filesystem_default_fcntl }; diff --git a/cpukit/libfs/src/dosfs/msdos_handlers_file.c b/cpukit/libfs/src/dosfs/msdos_handlers_file.c index fefb6795d9..e4494f884e 100644 --- a/cpukit/libfs/src/dosfs/msdos_handlers_file.c +++ b/cpukit/libfs/src/dosfs/msdos_handlers_file.c @@ -19,15 +19,15 @@ #include "msdos.h" const rtems_filesystem_file_handlers_r msdos_file_handlers = { - msdos_file_open, + rtems_filesystem_default_open, msdos_file_close, msdos_file_read, msdos_file_write, rtems_filesystem_default_ioctl, - msdos_file_lseek, + rtems_filesystem_default_lseek_file, msdos_file_stat, msdos_file_ftruncate, msdos_file_sync, - msdos_file_datasync, + msdos_sync, rtems_filesystem_default_fcntl }; diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index f27b4aea9c..511ac44dda 100644 --- a/cpukit/libfs/src/dosfs/msdos_misc.c +++ b/cpukit/libfs/src/dosfs/msdos_misc.c @@ -1411,8 +1411,8 @@ int msdos_find_name_in_fat_file( #if MSDOS_FIND_PRINT printf ("MSFS:[9.2] extending file:%li\n", empty_space_offset); #endif - ret = fat_file_extend (mt_entry, fat_fd, empty_space_offset * bts2rd, - &new_length); + ret = fat_file_extend (mt_entry, fat_fd, false, + empty_space_offset * bts2rd, &new_length); if (ret != RC_OK) return ret; @@ -1646,3 +1646,34 @@ int msdos_find_node_by_cluster_num_in_fat_file( } return MSDOS_NAME_NOT_FOUND_ERR; } + +int +msdos_sync_unprotected(msdos_fs_info_t *fs_info) +{ + int rc = fat_buf_release(&fs_info->fat); + rtems_status_code sc = rtems_bdbuf_syncdev(fs_info->fat.vol.dd); + if (sc != RTEMS_SUCCESSFUL) { + errno = EIO; + rc = -1; + } + + return rc; +} + +int +msdos_sync(rtems_libio_t *iop) +{ + int rc = RC_OK; + rtems_status_code sc = RTEMS_SUCCESSFUL; + msdos_fs_info_t *fs_info = iop->pathinfo.mt_entry->fs_info; + + sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT, + MSDOS_VOLUME_SEMAPHORE_TIMEOUT); + if (sc != RTEMS_SUCCESSFUL) + rtems_set_errno_and_return_minus_one(EIO); + + rc = msdos_sync_unprotected(fs_info); + + rtems_semaphore_release(fs_info->vol_sema); + return rc; +} diff --git a/cpukit/libfs/src/imfs/deviceio.c b/cpukit/libfs/src/imfs/deviceio.c index c4e7a921ff..f18c9e7cee 100644 --- a/cpukit/libfs/src/imfs/deviceio.c +++ b/cpukit/libfs/src/imfs/deviceio.c @@ -192,23 +192,6 @@ int device_ioctl( } /* - * device_lseek - * - * This handler eats all lseek() operations and does not create - * an error. It assumes all devices can handle the seek. The - * writes fail. - */ - -off_t device_lseek( - rtems_libio_t *iop, - off_t offset, - int whence -) -{ - return offset; -} - -/* * device_stat * * The IMFS_stat() is used. diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h index dd7c158383..daad052f9d 100644 --- a/cpukit/libfs/src/imfs/imfs.h +++ b/cpukit/libfs/src/imfs/imfs.h @@ -418,12 +418,6 @@ extern ssize_t imfs_dir_read( size_t count /* IN */ ); -extern off_t imfs_dir_lseek( - rtems_libio_t *iop, /* IN */ - off_t offset, /* IN */ - int whence /* IN */ -); - extern int memfile_open( rtems_libio_t *iop, /* IN */ const char *pathname, /* IN */ @@ -449,12 +443,6 @@ extern int memfile_ioctl( void *buffer /* IN */ ); -extern off_t memfile_lseek( - rtems_libio_t *iop, /* IN */ - off_t offset, /* IN */ - int whence /* IN */ -); - extern int device_open( rtems_libio_t *iop, /* IN */ const char *pathname, /* IN */ @@ -484,12 +472,6 @@ extern int device_ioctl( void *buffer /* IN */ ); -extern off_t device_lseek( - rtems_libio_t *iop, /* IN */ - off_t offset, /* IN */ - int whence /* IN */ -); - extern int device_ftruncate( rtems_libio_t *iop, /* IN */ off_t length /* IN */ diff --git a/cpukit/libfs/src/imfs/imfs_directory.c b/cpukit/libfs/src/imfs/imfs_directory.c index c6be71ffcc..f77b68bc14 100644 --- a/cpukit/libfs/src/imfs/imfs_directory.c +++ b/cpukit/libfs/src/imfs/imfs_directory.c @@ -99,41 +99,3 @@ ssize_t imfs_dir_read( return bytes_transferred; } - -/* - * imfs_dir_lseek - * - * This routine will behave in one of three ways based on the state of - * argument whence. Based on the state of its value the offset argument will - * be interpreted using one of the following methods: - * - * SEEK_SET - offset is the absolute byte offset from the start of the - * logical start of the dirent sequence that represents the - * directory - * SEEK_CUR - offset is used as the relative byte offset from the current - * directory position index held in the iop structure - * SEEK_END - N/A --> This will cause an EINVAL to be returned. - */ - -off_t imfs_dir_lseek( - rtems_libio_t *iop, - off_t offset, - int whence -) -{ - switch( whence ) { - case SEEK_SET: /* absolute move from the start of the file */ - case SEEK_CUR: /* relative move */ - iop->offset = (iop->offset/sizeof(struct dirent)) * - sizeof(struct dirent); - break; - - case SEEK_END: /* Movement past the end of the directory via lseek */ - /* is not a permitted operation */ - default: - rtems_set_errno_and_return_minus_one( EINVAL ); - break; - } - - return 0; -} diff --git a/cpukit/libfs/src/imfs/imfs_handlers_device.c b/cpukit/libfs/src/imfs/imfs_handlers_device.c index dfbd8949c5..fe3973df05 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_device.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_device.c @@ -36,7 +36,7 @@ static const rtems_filesystem_file_handlers_r IMFS_device_handlers = { device_read, device_write, device_ioctl, - device_lseek, + rtems_filesystem_default_lseek_file, IMFS_stat_device, device_ftruncate, rtems_filesystem_default_fsync_or_fdatasync, diff --git a/cpukit/libfs/src/imfs/imfs_handlers_directory.c b/cpukit/libfs/src/imfs/imfs_handlers_directory.c index 9c3f77416a..579fdec2ea 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_directory.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_directory.c @@ -52,7 +52,7 @@ static const rtems_filesystem_file_handlers_r IMFS_directory_handlers = { imfs_dir_read, rtems_filesystem_default_write, rtems_filesystem_default_ioctl, - imfs_dir_lseek, + rtems_filesystem_default_lseek_directory, IMFS_stat_directory, rtems_filesystem_default_ftruncate_directory, rtems_filesystem_default_fsync_or_fdatasync_success, diff --git a/cpukit/libfs/src/imfs/imfs_handlers_memfile.c b/cpukit/libfs/src/imfs/imfs_handlers_memfile.c index 57d488af6f..262b93aa2a 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_memfile.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_memfile.c @@ -36,7 +36,7 @@ static const rtems_filesystem_file_handlers_r IMFS_memfile_handlers = { memfile_read, memfile_write, memfile_ioctl, - memfile_lseek, + rtems_filesystem_default_lseek_file, IMFS_stat_file, memfile_ftruncate, rtems_filesystem_default_fsync_or_fdatasync_success, diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c index d2cff01517..b2797875fc 100644 --- a/cpukit/libfs/src/imfs/memfile.c +++ b/cpukit/libfs/src/imfs/memfile.c @@ -33,6 +33,7 @@ */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, + bool zero_fill, off_t new_length ); @@ -92,7 +93,7 @@ int memfile_open( /* * Perform 'copy on write' for linear files */ - if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND)) + if ((iop->flags & LIBIO_FLAGS_WRITE) && (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE)) { uint32_t count = the_jnode->info.linearfile.size; const unsigned char *buffer = the_jnode->info.linearfile.direct; @@ -106,10 +107,7 @@ int memfile_open( && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1)) return -1; } - if (iop->flags & LIBIO_FLAGS_APPEND) - iop->offset = the_jnode->info.file.size; - iop->size = the_jnode->info.file.size; return 0; } @@ -147,8 +145,10 @@ ssize_t memfile_write( the_jnode = iop->pathinfo.node_access; + if ((iop->flags & LIBIO_FLAGS_APPEND) != 0) + iop->offset = the_jnode->info.file.size; + status = IMFS_memfile_write( the_jnode, iop->offset, buffer, count ); - iop->size = the_jnode->info.file.size; return status; } @@ -170,34 +170,6 @@ int memfile_ioctl( } /* - * memfile_lseek - * - * This routine processes the lseek() system call. - */ -off_t memfile_lseek( - rtems_libio_t *iop, - off_t offset, - int whence -) -{ - IMFS_jnode_t *the_jnode; - - the_jnode = iop->pathinfo.node_access; - - if (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE) { - if (iop->offset > the_jnode->info.linearfile.size) - iop->offset = the_jnode->info.linearfile.size; - } - else { /* Must be a block file (IMFS_MEMORY_FILE). */ - if (IMFS_memfile_extend( the_jnode, iop->offset )) - rtems_set_errno_and_return_minus_one( ENOSPC ); - - iop->size = the_jnode->info.file.size; - } - return iop->offset; -} - -/* * memfile_stat * * This IMFS_stat() can be used. @@ -224,7 +196,7 @@ int memfile_ftruncate( */ if ( length > the_jnode->info.file.size ) - return IMFS_memfile_extend( the_jnode, length ); + return IMFS_memfile_extend( the_jnode, true, length ); /* * The in-memory files do not currently reclaim memory until the file is @@ -232,7 +204,6 @@ int memfile_ftruncate( * future use and just set the length. */ the_jnode->info.file.size = length; - iop->size = the_jnode->info.file.size; IMFS_update_atime( the_jnode ); @@ -248,12 +219,14 @@ int memfile_ftruncate( */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, + bool zero_fill, off_t new_length ) { unsigned int block; unsigned int new_blocks; unsigned int old_blocks; + unsigned int offset; /* * Perform internal consistency checks @@ -265,7 +238,7 @@ MEMFILE_STATIC int IMFS_memfile_extend( * Verify new file size is supported */ if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE ) - rtems_set_errno_and_return_minus_one( EINVAL ); + rtems_set_errno_and_return_minus_one( EFBIG ); /* * Verify new file size is actually larger than current size @@ -278,12 +251,22 @@ MEMFILE_STATIC int IMFS_memfile_extend( */ new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK; old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK; + offset = the_jnode->info.file.size - old_blocks * IMFS_MEMFILE_BYTES_PER_BLOCK; /* * Now allocate each of those blocks. */ for ( block=old_blocks ; block<=new_blocks ; block++ ) { - if ( IMFS_memfile_addblock( the_jnode, block ) ) { + if ( !IMFS_memfile_addblock( the_jnode, block ) ) { + if ( zero_fill ) { + size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset; + block_p *block_ptr = + IMFS_memfile_get_block_pointer( the_jnode, block, 0 ); + + memset( &(*block_ptr) [offset], 0, count); + offset = 0; + } + } else { for ( ; block>=old_blocks ; block-- ) { IMFS_memfile_remove_block( the_jnode, block ); } @@ -652,9 +635,11 @@ MEMFILE_STATIC ssize_t IMFS_memfile_write( last_byte = start + my_length; if ( last_byte > the_jnode->info.file.size ) { - status = IMFS_memfile_extend( the_jnode, last_byte ); + bool zero_fill = start > the_jnode->info.file.size; + + status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte ); if ( status ) - rtems_set_errno_and_return_minus_one( ENOSPC ); + return status; } copied = 0; diff --git a/cpukit/libfs/src/nfsclient/Makefile.am b/cpukit/libfs/src/nfsclient/Makefile.am index 85f4a71756..98ba99286c 100644 --- a/cpukit/libfs/src/nfsclient/Makefile.am +++ b/cpukit/libfs/src/nfsclient/Makefile.am @@ -1,3 +1,7 @@ +# +# $Id$ +# + include $(top_srcdir)/automake/compile.am #%dirutils.obj: %dirutils.o diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c index 15b6def0d2..09a9278952 100644 --- a/cpukit/libfs/src/nfsclient/src/nfs.c +++ b/cpukit/libfs/src/nfsclient/src/nfs.c @@ -2424,63 +2424,25 @@ int e; return count; } -static off_t nfs_file_lseek( - rtems_libio_t *iop, - off_t length, - int whence -) -{ -#if DEBUG & DEBUG_SYSCALLS - fprintf(stderr, - "lseek to %i (length %i, whence %i)\n", - iop->offset, - length, - whence); -#endif - if ( SEEK_END == whence ) { - /* rtems (4.6.2) libcsupport code 'lseek' uses iop->size to - * compute the offset. We don't want to track the file size - * by updating 'iop->size' constantly. - * Since lseek is the only place using iop->size, we work - * around this by tweaking the offset here... - */ - NfsNode node = iop->pathinfo.node_access; - fattr *fa = &SERP_ATTR(node); - - if (updateAttr(node, 0 /* only if old */)) { - return -1; - } - iop->offset = fa->size; - } - - /* this is particularly easy :-) */ - return iop->offset; -} - static off_t nfs_dir_lseek( rtems_libio_t *iop, off_t length, int whence ) { -DirInfo di = iop->pathinfo.node_access_2; + off_t rv = rtems_filesystem_default_lseek_directory(iop, length, whence); - /* we don't support anything other than - * rewinding - */ - if (SEEK_SET != whence || 0 != length) { - errno = ENOTSUP; - return -1; - } + if (rv == 0) { + DirInfo di = iop->pathinfo.node_access_2; + nfscookie *cookie = &di->readdirargs.cookie; - /* rewind cookie */ - memset( &di->readdirargs.cookie, - 0, - sizeof(di->readdirargs.cookie) ); + di->eofreached = FALSE; - di->eofreached = FALSE; + /* rewind cookie */ + memset(cookie, 0, sizeof(*cookie)); + } - return iop->offset; + return rv; } #if 0 /* structure types for reference */ @@ -2703,7 +2665,7 @@ struct _rtems_filesystem_file_handlers_r nfs_file_file_handlers = { .read_h = nfs_file_read, .write_h = nfs_file_write, .ioctl_h = rtems_filesystem_default_ioctl, - .lseek_h = nfs_file_lseek, + .lseek_h = rtems_filesystem_default_lseek_file, .fstat_h = nfs_fstat, .ftruncate_h = nfs_file_ftruncate, .fsync_h = rtems_filesystem_default_fsync_or_fdatasync, diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file.c b/cpukit/libfs/src/rfs/rtems-rfs-file.c index abd123da1b..ab195fac6f 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-file.c @@ -422,7 +422,7 @@ rtems_rfs_file_seek (rtems_rfs_file_handle* handle, * This means the file needs to set the file size to the pos only when a * write occurs. */ - if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle), + if (pos <= rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle), handle->shared)) { rtems_rfs_file_set_bpos (handle, pos); diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c index d66e4296c5..0325885d84 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c @@ -214,24 +214,6 @@ rtems_rfs_rtems_device_ioctl (rtems_libio_t* iop, } /** - * This handler eats all lseek() operations and does not create an error. It - * assumes all devices can handle the seek. The writes fail. - * - * @param iop - * @param offset - * @param whence - * @return off_t - */ - -static off_t -rtems_rfs_rtems_device_lseek (rtems_libio_t* iop, - off_t offset, - int whence) -{ - return offset; -} - -/** * The consumes the truncate call. You cannot truncate device files. * * @param iop @@ -255,7 +237,7 @@ const rtems_filesystem_file_handlers_r rtems_rfs_rtems_device_handlers = { .read_h = rtems_rfs_rtems_device_read, .write_h = rtems_rfs_rtems_device_write, .ioctl_h = rtems_rfs_rtems_device_ioctl, - .lseek_h = rtems_rfs_rtems_device_lseek, + .lseek_h = rtems_filesystem_default_lseek_file, .fstat_h = rtems_rfs_rtems_fstat, .ftruncate_h = rtems_rfs_rtems_device_ftruncate, .fsync_h = rtems_filesystem_default_fsync_or_fdatasync, diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c index 550973db0c..88f71e53a9 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c @@ -150,43 +150,6 @@ rtems_rfs_rtems_dir_read (rtems_libio_t* iop, return bytes_transferred; } -/** - * This routine will behave in one of three ways based on the state of argument - * whence. Based on the state of its value the offset argument will be - * interpreted using one of the following methods: - * - * SEEK_SET - offset is the absolute byte offset from the start of the - * logical start of the dirent sequence that represents the - * directory - * SEEK_CUR - offset is used as the relative byte offset from the current - * directory position index held in the iop structure - * SEEK_END - N/A --> This will cause an assert. - * - * @param iop - * @param offset - * @param whence - * return off_t - */ -static off_t -rtems_rfs_rtems_dir_lseek (rtems_libio_t* iop, - off_t offset, - int whence) -{ - switch (whence) - { - case SEEK_SET: /* absolute move from the start of the file */ - case SEEK_CUR: /* relative move */ - break; - - case SEEK_END: /* Movement past the end of the directory via lseek */ - /* is not a permitted operation */ - default: - return rtems_rfs_rtems_error ("dir_lseek: bad whence", EINVAL); - break; - } - return 0; -} - /* * Set of operations handlers for operations on directories. */ @@ -197,7 +160,7 @@ const rtems_filesystem_file_handlers_r rtems_rfs_rtems_dir_handlers = { .read_h = rtems_rfs_rtems_dir_read, .write_h = rtems_filesystem_default_write, .ioctl_h = rtems_filesystem_default_ioctl, - .lseek_h = rtems_rfs_rtems_dir_lseek, + .lseek_h = rtems_filesystem_default_lseek_directory, .fstat_h = rtems_rfs_rtems_fstat, .ftruncate_h = rtems_filesystem_default_ftruncate_directory, .fsync_h = rtems_filesystem_default_fsync_or_fdatasync, diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c index 0a15652dfc..1b8b0d4441 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c @@ -72,7 +72,6 @@ rtems_rfs_rtems_file_open (rtems_libio_t* iop, if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN)) printf("rtems-rfs: file-open: handle:%p\n", file); - iop->size = rtems_rfs_file_size (file); rtems_rfs_rtems_set_iop_file_handle (iop, file); rtems_rfs_rtems_unlock (fs); @@ -186,6 +185,7 @@ rtems_rfs_rtems_file_write (rtems_libio_t* iop, { rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop); rtems_rfs_pos pos; + rtems_rfs_pos file_size; const uint8_t* data = buffer; ssize_t write = 0; int rc; @@ -196,26 +196,34 @@ rtems_rfs_rtems_file_write (rtems_libio_t* iop, rtems_rfs_rtems_lock (rtems_rfs_file_fs (file)); pos = iop->offset; - - /* - * If the iop position is past the physical end of the file we need to set - * the file size to the new length before writing. If the position equals the - * size of file we are still past the end of the file as positions number - * from 0. For a specific position we need a file that has a length of one - * more. - */ - - if (pos >= rtems_rfs_file_size (file)) + file_size = rtems_rfs_file_size (file); + if (pos > file_size) { - rc = rtems_rfs_file_set_size (file, pos + 1); + /* + * If the iop position is past the physical end of the file we need to set + * the file size to the new length before writing. The + * rtems_rfs_file_io_end() will grow the file subsequently. + */ + rc = rtems_rfs_file_set_size (file, pos); if (rc) { rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file)); return rtems_rfs_rtems_error ("file-write: write extend", rc); } - } - rtems_rfs_file_set_bpos (file, pos); + rtems_rfs_file_set_bpos (file, pos); + } + else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) + { + pos = file_size; + rc = rtems_rfs_file_seek (file, pos, &pos); + if (rc) + { + rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file)); + return rtems_rfs_rtems_error ("file-write: write append seek", rc); + } + iop->offset = pos; + } while (count) { @@ -245,8 +253,6 @@ rtems_rfs_rtems_file_write (rtems_libio_t* iop, } } - iop->size = rtems_rfs_file_size (file); - rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file)); return write; @@ -282,26 +288,32 @@ rtems_rfs_rtems_file_lseek (rtems_libio_t* iop, int whence) { rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop); - rtems_rfs_pos pos; - int rc; + off_t old_offset; + off_t new_offset; if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK)) printf("rtems-rfs: file-lseek: handle:%p offset:%" PRIdoff_t "\n", file, offset); rtems_rfs_rtems_lock (rtems_rfs_file_fs (file)); - pos = iop->offset; - - rc = rtems_rfs_file_seek (file, pos, &pos); - if (rc) + old_offset = iop->offset; + new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence); + if (new_offset != -1) { - rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file)); - return rtems_rfs_rtems_error ("file_lseek: lseek", rc); + rtems_rfs_pos pos = iop->offset; + int rc = rtems_rfs_file_seek (file, pos, &pos); + + if (rc) + { + rtems_rfs_rtems_error ("file_lseek: lseek", rc); + iop->offset = old_offset; + new_offset = -1; + } } rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file)); - return iop->offset; + return new_offset; } /** @@ -327,8 +339,6 @@ rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop, if (rc) rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc); - iop->size = rtems_rfs_file_size (file); - rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file)); return rc; diff --git a/cpukit/libgnat/Makefile.am b/cpukit/libgnat/Makefile.am index 4bfbca11e8..85414cb8cb 100644 --- a/cpukit/libgnat/Makefile.am +++ b/cpukit/libgnat/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am EXTRA_DIST= diff --git a/cpukit/libi2c/Makefile.am b/cpukit/libi2c/Makefile.am index 241cf271be..c422529bc8 100644 --- a/cpukit/libi2c/Makefile.am +++ b/cpukit/libi2c/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am noinst_LIBRARIES = libi2c.a diff --git a/cpukit/libmd/Makefile.am b/cpukit/libmd/Makefile.am index f1eb021303..57a09b06fc 100644 --- a/cpukit/libmd/Makefile.am +++ b/cpukit/libmd/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am if NEWLIB diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am index 1a990988c4..af90cb62ff 100644 --- a/cpukit/libnetworking/Makefile.am +++ b/cpukit/libnetworking/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/librpc/Makefile.am b/cpukit/librpc/Makefile.am index edc760fc7d..63f76c4084 100644 --- a/cpukit/librpc/Makefile.am +++ b/cpukit/librpc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am index 5f1c00fa60..d76fe8def6 100644 --- a/cpukit/posix/Makefile.am +++ b/cpukit/posix/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/pppd/Makefile.am b/cpukit/pppd/Makefile.am index 2cf38edc69..391c395807 100644 --- a/cpukit/pppd/Makefile.am +++ b/cpukit/pppd/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am if LIBNETWORKING diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am index bbf861177e..8d593a4fa2 100644 --- a/cpukit/rtems/Makefile.am +++ b/cpukit/rtems/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/rtems/include/rtems/rtems/intr.h b/cpukit/rtems/include/rtems/rtems/intr.h index 9b0b1b4608..f1085d537d 100644 --- a/cpukit/rtems/include/rtems/rtems/intr.h +++ b/cpukit/rtems/include/rtems/rtems/intr.h @@ -48,8 +48,13 @@ typedef ISR_Vector_number rtems_vector_number; /** * @brief Return type for interrupt handler. */ -typedef void rtems_isr; +typedef ISR_Handler rtems_isr; +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) + +typedef ISR_Handler_entry rtems_isr_entry; + +#else /** * @brief Interrupt handler type. * @@ -59,7 +64,6 @@ typedef rtems_isr ( *rtems_isr_entry )( rtems_vector_number ); -#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) /** * @brief Implementation of the rtems_interrupt_catch directive. * diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am index 805cfa7075..453628095b 100644 --- a/cpukit/sapi/Makefile.am +++ b/cpukit/sapi/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/sapi/inline/rtems/rbtree.inl b/cpukit/sapi/inline/rtems/rbtree.inl index ab81baf23b..dc53fa0381 100644 --- a/cpukit/sapi/inline/rtems/rbtree.inl +++ b/cpukit/sapi/inline/rtems/rbtree.inl @@ -5,17 +5,14 @@ * with the RBTree API in RTEMS. The rbtree is a Red Black Tree that * is part of the Super Core. This is the published interface to that * code. - * */ /* - * Copyright (c) 2010 Gedare Bloom. + * Copyright (c) 2010-2012 Gedare Bloom. * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_RBTREE_H @@ -254,6 +251,17 @@ RTEMS_INLINE_ROUTINE bool rtems_rbtree_is_root( return _RBTree_Is_root( the_rbtree, the_node ); } +/** + * @copydoc _RBTree_Find_unprotected() + */ +RTEMS_INLINE_ROUTINE rtems_rbtree_node* rtems_rbtree_find_unprotected( + rtems_rbtree_control *the_rbtree, + rtems_rbtree_node *the_node +) +{ + return _RBTree_Find_unprotected( the_rbtree, the_node ); +} + /** @brief Find the node with given key in the tree * * This function returns a pointer to the node having key equal to the key @@ -275,44 +283,51 @@ RTEMS_INLINE_ROUTINE rtems_rbtree_node* rtems_rbtree_find( * @copydoc _RBTree_Predecessor_unprotected() */ RTEMS_INLINE_ROUTINE rtems_rbtree_node* rtems_rbtree_predecessor_unprotected( - const rtems_rbtree_control *rbtree, const rtems_rbtree_node *node ) { - return _RBTree_Predecessor_unprotected( rbtree, node ); + return _RBTree_Predecessor_unprotected( node ); } /** * @copydoc _RBTree_Predecessor() */ RTEMS_INLINE_ROUTINE rtems_rbtree_node* rtems_rbtree_predecessor( - const rtems_rbtree_control *rbtree, const rtems_rbtree_node *node ) { - return _RBTree_Predecessor( rbtree, node ); + return _RBTree_Predecessor( node ); } /** * @copydoc _RBTree_Successor_unprotected() */ RTEMS_INLINE_ROUTINE rtems_rbtree_node* rtems_rbtree_successor_unprotected( - const rtems_rbtree_control *rbtree, const rtems_rbtree_node *node ) { - return _RBTree_Successor_unprotected( rbtree, node ); + return _RBTree_Successor_unprotected( node ); } /** * @copydoc _RBTree_Successor() */ RTEMS_INLINE_ROUTINE rtems_rbtree_node* rtems_rbtree_successor( - const rtems_rbtree_control *rbtree, const rtems_rbtree_node *node ) { - return _RBTree_Successor( rbtree, node ); + return _RBTree_Successor( node ); +} + +/** + * @copydoc _RBTree_Extract_unprotected() + */ +RTEMS_INLINE_ROUTINE void rtems_rbtree_extract_unprotected( + rtems_rbtree_control *the_rbtree, + rtems_rbtree_node *the_node +) +{ + _RBTree_Extract_unprotected( the_rbtree, the_node ); } /** @@ -334,6 +349,20 @@ RTEMS_INLINE_ROUTINE void rtems_rbtree_extract( * * This function removes the min node from @a the_rbtree and returns * a pointer to that node. If @a the_rbtree is empty, then NULL is returned. + */ + +RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_get_min_unprotected( + rtems_rbtree_control *the_rbtree +) +{ + return _RBTree_Get_unprotected( the_rbtree, RBT_LEFT ); +} + +/** + * @brief Obtain the min node on a rbtree + * + * This function removes the min node from @a the_rbtree and returns + * a pointer to that node. If @a the_rbtree is empty, then NULL is returned. * It disables interrupts to ensure the atomicity of the get operation. */ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_get_min( @@ -348,6 +377,20 @@ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_get_min( * * This function removes the max node from @a the_rbtree and returns * a pointer to that node. If @a the_rbtree is empty, then NULL is returned. + */ + +RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_get_max_unprotected( + rtems_rbtree_control *the_rbtree +) +{ + return _RBTree_Get_unprotected( the_rbtree, RBT_RIGHT ); +} + +/** + * @brief Obtain the max node on a rbtree + * + * This function removes the max node from @a the_rbtree and returns + * a pointer to that node. If @a the_rbtree is empty, then NULL is returned. * It disables interrupts to ensure the atomicity of the get operation. */ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_get_max( @@ -363,13 +406,12 @@ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_get_max( * This function returns a pointer to the min node from @a the_rbtree * without changing the tree. If @a the_rbtree is empty, * then NULL is returned. - * It disables interrupts to ensure the atomicity of the peek operation. */ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_peek_min( const rtems_rbtree_control *the_rbtree ) { - return _RBTree_Peek( the_rbtree, RBT_LEFT ); + return _RBTree_First( the_rbtree, RBT_LEFT ); } /** @@ -378,15 +420,23 @@ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_peek_min( * This function returns a pointer to the max node from @a the_rbtree * without changing the tree. If @a the_rbtree is empty, * then NULL is returned. - * It disables interrupts to ensure the atomicity of the peek operation. */ RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_peek_max( const rtems_rbtree_control *the_rbtree ) { - return _RBTree_Peek( the_rbtree, RBT_RIGHT ); + return _RBTree_First( the_rbtree, RBT_RIGHT ); } +/** + * @copydoc _RBTree_Find_header_unprotected() + */ +RTEMS_INLINE_ROUTINE rtems_rbtree_control *rtems_rbtree_find_header_unprotected( + rtems_rbtree_node *the_node +) +{ + return _RBTree_Find_header_unprotected( the_node ); +} /** * @brief Find the control header of the tree containing a given node. @@ -399,7 +449,18 @@ RTEMS_INLINE_ROUTINE rtems_rbtree_control *rtems_rbtree_find_header( rtems_rbtree_node *the_node ) { - return(_RBTree_Find_header( the_node )); + return _RBTree_Find_header( the_node ); +} + +/** + * @copydoc _RBTree_Insert_unprotected() + */ +RTEMS_INLINE_ROUTINE rtems_rbtree_node *rtems_rbtree_insert_unprotected( + rtems_rbtree_control *the_rbtree, + rtems_rbtree_node *the_node +) +{ + return _RBTree_Insert_unprotected( the_rbtree, the_node ); } /** @@ -427,7 +488,7 @@ RTEMS_INLINE_ROUTINE bool rtems_rbtree_is_unique( const rtems_rbtree_control *the_rbtree ) { - return( _RBTree_Is_unique(the_rbtree) ); + return _RBTree_Is_unique(the_rbtree); } #endif diff --git a/cpukit/sapi/src/rbheap.c b/cpukit/sapi/src/rbheap.c index 7facf4f9af..5233778171 100644 --- a/cpukit/sapi/src/rbheap.c +++ b/cpukit/sapi/src/rbheap.c @@ -203,13 +203,12 @@ static rtems_rbheap_chunk *find(rtems_rbtree_control *chunk_tree, uintptr_t key) } static rtems_rbheap_chunk *get_next( - const rtems_rbtree_control *chunk_tree, const rtems_rbheap_chunk *chunk, RBTree_Direction dir ) { return rtems_rbheap_chunk_of_node( - _RBTree_Next_unprotected(chunk_tree, &chunk->tree_node, dir) + _RBTree_Next_unprotected(&chunk->tree_node, dir) ); } @@ -246,8 +245,8 @@ rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr) if (chunk != NULL_PAGE) { if (!rtems_rbheap_is_chunk_free(chunk)) { - rtems_rbheap_chunk *pred = get_next(chunk_tree, chunk, RBT_LEFT); - rtems_rbheap_chunk *succ = get_next(chunk_tree, chunk, RBT_RIGHT); + rtems_rbheap_chunk *pred = get_next(chunk, RBT_LEFT); + rtems_rbheap_chunk *succ = get_next(chunk, RBT_RIGHT); check_and_merge(free_chain, chunk_tree, chunk, succ); add_to_chain(free_chain, chunk); diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am index 128c527833..2ff6b5474a 100644 --- a/cpukit/score/Makefile.am +++ b/cpukit/score/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am @@ -261,8 +265,7 @@ libscore_a_SOURCES += src/pheapallocate.c \ ## RBTREE_C_FILES libscore_a_SOURCES += src/rbtree.c \ src/rbtreeextract.c src/rbtreefind.c src/rbtreefindheader.c \ - src/rbtreeget.c src/rbtreeinsert.c src/rbtreepeek.c src/rbtreenext.c \ - src/rbtreeiterate.c + src/rbtreeget.c src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c ## THREAD_C_FILES libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \ diff --git a/cpukit/score/cpu/Makefile.am b/cpukit/score/cpu/Makefile.am index 36479892d9..569afb8cd5 100644 --- a/cpukit/score/cpu/Makefile.am +++ b/cpukit/score/cpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = @RTEMS_CPU@ DIST_SUBDIRS = diff --git a/cpukit/score/cpu/arm/Makefile.am b/cpukit/score/cpu/arm/Makefile.am index cf511c9417..61210cb467 100644 --- a/cpukit/score/cpu/arm/Makefile.am +++ b/cpukit/score/cpu/arm/Makefile.am @@ -1,3 +1,6 @@ +## +## $Id$ +## include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems include_rtems_HEADERS = rtems/asm.h diff --git a/cpukit/score/cpu/avr/Makefile.am b/cpukit/score/cpu/avr/Makefile.am index 4079b69171..9895dc7bf0 100644 --- a/cpukit/score/cpu/avr/Makefile.am +++ b/cpukit/score/cpu/avr/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/bfin/Makefile.am b/cpukit/score/cpu/bfin/Makefile.am index dfec9ea81e..f1e070153e 100644 --- a/cpukit/score/cpu/bfin/Makefile.am +++ b/cpukit/score/cpu/bfin/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/h8300/Makefile.am b/cpukit/score/cpu/h8300/Makefile.am index 8ac7e76b20..b19233dab0 100644 --- a/cpukit/score/cpu/h8300/Makefile.am +++ b/cpukit/score/cpu/h8300/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/i386/Makefile.am b/cpukit/score/cpu/i386/Makefile.am index b9caa3381a..75cfeda6e9 100644 --- a/cpukit/score/cpu/i386/Makefile.am +++ b/cpukit/score/cpu/i386/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/lm32/Makefile.am b/cpukit/score/cpu/lm32/Makefile.am index d3b49bff2e..871cbf41bd 100644 --- a/cpukit/score/cpu/lm32/Makefile.am +++ b/cpukit/score/cpu/lm32/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/m32c/Makefile.am b/cpukit/score/cpu/m32c/Makefile.am index f836c58ff1..773e031c83 100644 --- a/cpukit/score/cpu/m32c/Makefile.am +++ b/cpukit/score/cpu/m32c/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_HEADERS = varvects.h diff --git a/cpukit/score/cpu/m32r/Makefile.am b/cpukit/score/cpu/m32r/Makefile.am index 37b49ed30c..268797c7cd 100644 --- a/cpukit/score/cpu/m32r/Makefile.am +++ b/cpukit/score/cpu/m32r/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_HEADERS = diff --git a/cpukit/score/cpu/m68k/Makefile.am b/cpukit/score/cpu/m68k/Makefile.am index 319cbdd181..d67f7e5e13 100644 --- a/cpukit/score/cpu/m68k/Makefile.am +++ b/cpukit/score/cpu/m68k/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am noinst_LIBRARIES = libscorecpu.a diff --git a/cpukit/score/cpu/mips/Makefile.am b/cpukit/score/cpu/mips/Makefile.am index 6ca30c3056..b1a2d66e21 100644 --- a/cpukit/score/cpu/mips/Makefile.am +++ b/cpukit/score/cpu/mips/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/nios2/Makefile.am b/cpukit/score/cpu/nios2/Makefile.am index f662946ac6..606a512400 100644 --- a/cpukit/score/cpu/nios2/Makefile.am +++ b/cpukit/score/cpu/nios2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am CLEANFILES = diff --git a/cpukit/score/cpu/no_cpu/Makefile.am b/cpukit/score/cpu/no_cpu/Makefile.am index 820579cd42..dac52db11f 100644 --- a/cpukit/score/cpu/no_cpu/Makefile.am +++ b/cpukit/score/cpu/no_cpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/powerpc/Makefile.am b/cpukit/score/cpu/powerpc/Makefile.am index 65007ef533..67f4339a77 100644 --- a/cpukit/score/cpu/powerpc/Makefile.am +++ b/cpukit/score/cpu/powerpc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 9a4d944de6..bd05247534 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -3,7 +3,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * COPYRIGHT (c) 1995 i-cubed ltd. @@ -624,11 +624,13 @@ SCORE_EXTERN struct { /* * This defines the number of entries in the ISR_Vector_table managed * by RTEMS. + * + * NOTE: CPU_INTERRUPT_NUMBER_OF_VECTORS and + * CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER are only used on + * Simple Vectored Architectures and thus are not defined + * for this architecture. */ -#define CPU_INTERRUPT_NUMBER_OF_VECTORS (0) -#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (UINT32_MAX) - /* * This is defined if the port has a special way to report the ISR nesting * level. Most ports maintain the variable _ISR_Nest_level. Note that diff --git a/cpukit/score/cpu/sh/Makefile.am b/cpukit/score/cpu/sh/Makefile.am index 8e148d81d2..aeb2c68006 100644 --- a/cpukit/score/cpu/sh/Makefile.am +++ b/cpukit/score/cpu/sh/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/sparc/Makefile.am b/cpukit/score/cpu/sparc/Makefile.am index 578ecc68a7..3d77da184e 100644 --- a/cpukit/score/cpu/sparc/Makefile.am +++ b/cpukit/score/cpu/sparc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/cpu/sparc64/Makefile.am b/cpukit/score/cpu/sparc64/Makefile.am index 33ba8441e6..88817d842c 100644 --- a/cpukit/score/cpu/sparc64/Makefile.am +++ b/cpukit/score/cpu/sparc64/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am include_rtemsdir = $(includedir)/rtems diff --git a/cpukit/score/include/rtems/score/coresem.h b/cpukit/score/include/rtems/score/coresem.h index cb1e1b1f92..d6952602e6 100644 --- a/cpukit/score/include/rtems/score/coresem.h +++ b/cpukit/score/include/rtems/score/coresem.h @@ -40,7 +40,7 @@ extern "C" { #endif -#if defined(RTEMS_POSIX_API) +#if defined(RTEMS_POSIX_API) || defined(RTEMS_MULTIPROCESSING) #define RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY #endif diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h index c0963a542e..6a146df625 100644 --- a/cpukit/score/include/rtems/score/isr.h +++ b/cpukit/score/include/rtems/score/isr.h @@ -8,7 +8,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -50,6 +50,11 @@ typedef uint32_t ISR_Vector_number; */ typedef void ISR_Handler; +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == FALSE) + +typedef void * ISR_Handler_entry; + +#else /** * Pointer to an ISR Handler */ @@ -76,7 +81,6 @@ typedef ISR_Handler ( *ISR_Handler_entry )( */ #define ISR_INTERRUPT_MAXIMUM_VECTOR_NUMBER CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER -#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) /** * The following declares the Vector Table. Application * interrupt service routines are vectored by the ISR Handler via this table. diff --git a/cpukit/score/include/rtems/score/rbtree.h b/cpukit/score/include/rtems/score/rbtree.h index 2e9bb83ad7..b3cfc45fa3 100644 --- a/cpukit/score/include/rtems/score/rbtree.h +++ b/cpukit/score/include/rtems/score/rbtree.h @@ -220,23 +220,6 @@ RBTree_Node *_RBTree_Get( ); /** - * @brief Check the min or max node on a rbtree - * - * This function returns a pointer to the min or max node of @a the_rbtree. - * If @a the_rbtree is empty, then NULL is returned. @a dir specifies - * whether to return the min (0) or max (1). - * - * @return This method returns a pointer to a node. - * If @a the_rbtree was empty, then NULL is returned. - * - * @note It disables interrupts to ensure the atomicity of the get operation. - */ -RBTree_Node *_RBTree_Peek( - const RBTree_Control *the_rbtree, - RBTree_Direction dir -); - -/** * @brief Find the node with given key in the tree * * This function returns a pointer to the node with key equal to a key @@ -324,7 +307,6 @@ void _RBTree_Extract( /** * @brief Returns the in-order next node of a node. * - * @param[in] rbtree The red-black tree. * @param[in] node The node. * @param[in] dir The direction. * @@ -332,7 +314,6 @@ void _RBTree_Extract( * @retval otherwise The next node. */ RBTree_Node *_RBTree_Next_unprotected( - const RBTree_Control *rbtree, const RBTree_Node *node, RBTree_Direction dir ); @@ -343,7 +324,6 @@ RBTree_Node *_RBTree_Next_unprotected( * The function disables the interrupts protect the operation. */ RBTree_Node *_RBTree_Next( - const RBTree_Control *rbtree, const RBTree_Node *node, RBTree_Direction dir ); diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl index 605dfeeab5..a4e7866959 100644 --- a/cpukit/score/inline/rtems/score/isr.inl +++ b/cpukit/score/inline/rtems/score/isr.inl @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2004. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -28,6 +28,7 @@ * @{ */ +#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE) /** * This function returns true if the vector is a valid vector number * for this processor and false otherwise. @@ -51,6 +52,7 @@ RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler ( { return (handler != NULL); } +#endif /**@}*/ diff --git a/cpukit/score/inline/rtems/score/rbtree.inl b/cpukit/score/inline/rtems/score/rbtree.inl index d646b067b8..c5187a02ae 100644 --- a/cpukit/score/inline/rtems/score/rbtree.inl +++ b/cpukit/score/inline/rtems/score/rbtree.inl @@ -10,13 +10,11 @@ */ /* - * Copyright (c) 2010 Gedare Bloom. + * Copyright (c) 2010-2012 Gedare Bloom. * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_SCORE_RBTREE_H @@ -386,11 +384,10 @@ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected( * @retval otherwise The predecessor node. */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Predecessor_unprotected( - const RBTree_Control *rbtree, const RBTree_Node *node ) { - return _RBTree_Next_unprotected( rbtree, node, RBT_LEFT ); + return _RBTree_Next_unprotected( node, RBT_LEFT ); } /** @@ -399,11 +396,10 @@ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Predecessor_unprotected( * The function disables the interrupts protect the operation. */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Predecessor( - const RBTree_Control *rbtree, const RBTree_Node *node ) { - return _RBTree_Next( rbtree, node, RBT_LEFT ); + return _RBTree_Next( node, RBT_LEFT ); } /** @@ -416,11 +412,10 @@ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Predecessor( * @retval otherwise The successor node. */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Successor_unprotected( - const RBTree_Control *rbtree, const RBTree_Node *node ) { - return _RBTree_Next_unprotected( rbtree, node, RBT_RIGHT ); + return _RBTree_Next_unprotected( node, RBT_RIGHT ); } /** @@ -429,11 +424,10 @@ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Successor_unprotected( * The function disables the interrupts protect the operation. */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Successor( - const RBTree_Control *rbtree, const RBTree_Node *node ) { - return _RBTree_Next( rbtree, node, RBT_RIGHT ); + return _RBTree_Next( node, RBT_RIGHT ); } /** @brief Get the First Node (unprotected) @@ -459,22 +453,6 @@ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Get_unprotected( return the_node; } -/** @brief Peek at the First Node (unprotected) - * - * This function returns a pointer to the first node, minimum if @a dir is 0 - * or maximum if @a dir is 1, from @a the_rbtree without extracting it. - * It does NOT disable interrupts to ensure the atomicity of the peek. - * - * @retval NULL if @a the_rbtree is empty. - */ -RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Peek_unprotected( - const RBTree_Control *the_rbtree, - RBTree_Direction dir -) -{ - return(the_rbtree->first[dir]); -} - /** @brief Rotate the_node in the direction passed as second argument * * This routine rotates @a the_node to the direction @a dir, swapping diff --git a/cpukit/score/src/rbtree.c b/cpukit/score/src/rbtree.c index e0fc560229..387e66b409 100644 --- a/cpukit/score/src/rbtree.c +++ b/cpukit/score/src/rbtree.c @@ -52,7 +52,7 @@ void _RBTree_Initialize( count = number_nodes; next = starting_address; while ( count-- ) { - _RBTree_Insert(the_rbtree, next); + _RBTree_Insert_unprotected(the_rbtree, next); next = (RBTree_Node *) _Addresses_Add_offset( (void *) next, node_size ); } diff --git a/cpukit/score/src/rbtreeextract.c b/cpukit/score/src/rbtreeextract.c index 407136164e..e3b27fc430 100644 --- a/cpukit/score/src/rbtreeextract.c +++ b/cpukit/score/src/rbtreeextract.c @@ -108,25 +108,17 @@ void _RBTree_Extract_unprotected( /* check if min needs to be updated */ if (the_node == the_rbtree->first[RBT_LEFT]) { - if (the_node->child[RBT_RIGHT]) - the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT]; - else { - the_rbtree->first[RBT_LEFT] = the_node->parent; - if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree, - the_rbtree->first[RBT_LEFT])) - the_rbtree->first[RBT_LEFT] = NULL; - } + RBTree_Node *next; + next = _RBTree_Successor_unprotected(the_node); + the_rbtree->first[RBT_LEFT] = next; } - /* check if max needs to be updated: note, min can equal max (1 element) */ + + /* Check if max needs to be updated. min=max for 1 element trees so + * do not use else if here. */ if (the_node == the_rbtree->first[RBT_RIGHT]) { - if (the_node->child[RBT_LEFT]) - the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT]; - else { - the_rbtree->first[RBT_RIGHT] = the_node->parent; - if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree, - the_rbtree->first[RBT_RIGHT])) - the_rbtree->first[RBT_RIGHT] = NULL; - } + RBTree_Node *previous; + previous = _RBTree_Predecessor_unprotected(the_node); + the_rbtree->first[RBT_RIGHT] = previous; } /* if the_node has at most one non-null child then it is safe to proceed diff --git a/cpukit/score/src/rbtreeinsert.c b/cpukit/score/src/rbtreeinsert.c index 3ea6b354b4..d2d544299b 100644 --- a/cpukit/score/src/rbtreeinsert.c +++ b/cpukit/score/src/rbtreeinsert.c @@ -106,7 +106,12 @@ RBTree_Node *_RBTree_Insert_unprotected( iter_node->child[dir] = the_node; the_node->parent = iter_node; /* update min/max */ - if (_RBTree_Is_first(the_rbtree, iter_node, dir)) { + compare_result = the_rbtree->compare_function( + the_node, + _RBTree_First(the_rbtree, dir) + ); + if ( (!dir && _RBTree_Is_lesser(compare_result)) || + (dir && _RBTree_Is_greater(compare_result)) ) { the_rbtree->first[dir] = the_node; } break; diff --git a/cpukit/score/src/rbtreeiterate.c b/cpukit/score/src/rbtreeiterate.c index 33f7e7d454..f6de82b576 100644 --- a/cpukit/score/src/rbtreeiterate.c +++ b/cpukit/score/src/rbtreeiterate.c @@ -40,6 +40,6 @@ void _RBTree_Iterate_unprotected( while ( !stop && current != NULL ) { stop = (*visitor)( current, dir, visitor_arg ); - current = _RBTree_Next_unprotected( rbtree, current, dir ); + current = _RBTree_Next_unprotected( current, dir ); } } diff --git a/cpukit/score/src/rbtreenext.c b/cpukit/score/src/rbtreenext.c index e79f175f35..0aee0434f6 100644 --- a/cpukit/score/src/rbtreenext.c +++ b/cpukit/score/src/rbtreenext.c @@ -28,7 +28,6 @@ #include <rtems/score/isr.h> RBTree_Node *_RBTree_Next_unprotected( - const RBTree_Control *rbtree, const RBTree_Node *node, RBTree_Direction dir ) @@ -43,18 +42,17 @@ RBTree_Node *_RBTree_Next_unprotected( next = current; } } else { - const RBTree_Node *null = (const RBTree_Node *) rbtree; RBTree_Node *parent = node->parent; - if ( parent != null && node == parent->child [opp_dir] ) { + if ( parent->parent && node == parent->child [opp_dir] ) { next = parent; } else { - while ( parent != null && node == parent->child [dir] ) { + while ( parent->parent && node == parent->child [dir] ) { node = parent; - parent = node->parent; + parent = parent->parent; } - if ( parent != null ) { + if ( parent->parent ) { next = parent; } } @@ -64,7 +62,6 @@ RBTree_Node *_RBTree_Next_unprotected( } RBTree_Node *_RBTree_Next( - const RBTree_Control *rbtree, const RBTree_Node *node, RBTree_Direction dir ) @@ -73,7 +70,7 @@ RBTree_Node *_RBTree_Next( ISR_Level level; _ISR_Disable( level ); - next = _RBTree_Next_unprotected( rbtree, node, dir ); + next = _RBTree_Next_unprotected( node, dir ); _ISR_Enable( level ); return next; diff --git a/cpukit/score/src/rbtreepeek.c b/cpukit/score/src/rbtreepeek.c deleted file mode 100644 index 13ea33370f..0000000000 --- a/cpukit/score/src/rbtreepeek.c +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2010 Gedare Bloom. - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include <rtems/system.h> -#include <rtems/score/address.h> -#include <rtems/score/rbtree.h> -#include <rtems/score/isr.h> - -/* - * _RBTree_Get - * - * This kernel routine returns a pointer to the min or max node on the tree, - * without removing that node. - * - * Input parameters: - * the_rbtree - pointer to rbtree header - * dir - specifies whether to return minimum (0) or maximum (1) - * - * Output parameters: - * return_node - pointer to node in rbtree allocated - * NULL - if no nodes available - * - * INTERRUPT LATENCY: - * only case - */ - -RBTree_Node *_RBTree_Peek( - const RBTree_Control *the_rbtree, - RBTree_Direction dir -) -{ - ISR_Level level; - RBTree_Node *return_node; - - return_node = NULL; - _ISR_Disable( level ); - return_node = _RBTree_Peek_unprotected( the_rbtree, dir ); - _ISR_Enable( level ); - return return_node; -} diff --git a/cpukit/score/src/scheduleredfschedule.c b/cpukit/score/src/scheduleredfschedule.c index 1482be8207..a45aca41d3 100644 --- a/cpukit/score/src/scheduleredfschedule.c +++ b/cpukit/score/src/scheduleredfschedule.c @@ -1,12 +1,10 @@ /* * Copyright (C) 2011 Petr Benes. - * Copyright (C) 2011 On-Line Applications Research Corporation (OAR). + * Copyright (C) 2011-2012 On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #if HAVE_CONFIG_H @@ -19,10 +17,9 @@ void _Scheduler_EDF_Schedule(void) { - RBTree_Node *first_node = - _RBTree_Peek(&_Scheduler_EDF_Ready_queue, RBT_LEFT); + RBTree_Node *first = _RBTree_First(&_Scheduler_EDF_Ready_queue, RBT_LEFT); Scheduler_EDF_Per_thread *sched_info = - _RBTree_Container_of(first_node, Scheduler_EDF_Per_thread, Node); + _RBTree_Container_of(first, Scheduler_EDF_Per_thread, Node); _Thread_Heir = (Thread_Control *) sched_info->thread; } diff --git a/cpukit/telnetd/Makefile.am b/cpukit/telnetd/Makefile.am index d114ba4a3b..cb72745e98 100644 --- a/cpukit/telnetd/Makefile.am +++ b/cpukit/telnetd/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am if LIBNETWORKING diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index 36d31033d8..b5b89fb73f 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am diff --git a/cpukit/zlib/Makefile.am b/cpukit/zlib/Makefile.am index 478134b560..271f276cc4 100644 --- a/cpukit/zlib/Makefile.am +++ b/cpukit/zlib/Makefile.am @@ -1,3 +1,7 @@ +# +# $Id$ +# + include $(top_srcdir)/automake/compile.am project_lib_LIBRARIES = libz.a diff --git a/doc/Makefile.am b/doc/Makefile.am index cdd5b5305f..65155ce4c3 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,3 +1,7 @@ +# +# $Id$ +# + ACLOCAL_AMFLAGS = -I ../aclocal # NOTE: The order of the directories is essential. diff --git a/doc/ada_user/Makefile.am b/doc/ada_user/Makefile.am index d628a29669..d4b8bac599 100644 --- a/doc/ada_user/Makefile.am +++ b/doc/ada_user/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = ada_user diff --git a/doc/bsp_howto/Makefile.am b/doc/bsp_howto/Makefile.am index 052ef7f41e..007bba34c0 100644 --- a/doc/bsp_howto/Makefile.am +++ b/doc/bsp_howto/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = bsp_howto diff --git a/doc/cpu_supplement/Makefile.am b/doc/cpu_supplement/Makefile.am index 970ea7a6f9..a894ac42a6 100644 --- a/doc/cpu_supplement/Makefile.am +++ b/doc/cpu_supplement/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = cpu_supplement diff --git a/doc/develenv/Makefile.am b/doc/develenv/Makefile.am index 041818507b..c302ff1cf1 100644 --- a/doc/develenv/Makefile.am +++ b/doc/develenv/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = develenv diff --git a/doc/filesystem/Makefile.am b/doc/filesystem/Makefile.am index cb7a60b232..eaaf7450d5 100644 --- a/doc/filesystem/Makefile.am +++ b/doc/filesystem/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = filesystem diff --git a/doc/networking/Makefile.am b/doc/networking/Makefile.am index bb33fc48c2..57edb24d0c 100644 --- a/doc/networking/Makefile.am +++ b/doc/networking/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = networking diff --git a/doc/new_chapters/Makefile.am b/doc/new_chapters/Makefile.am index 25badd1d0e..67108e83f6 100644 --- a/doc/new_chapters/Makefile.am +++ b/doc/new_chapters/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = new_chapters diff --git a/doc/porting/Makefile.am b/doc/porting/Makefile.am index 93d387def5..d220a41b5e 100644 --- a/doc/porting/Makefile.am +++ b/doc/porting/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = porting diff --git a/doc/posix1003.1/Makefile.am b/doc/posix1003.1/Makefile.am index 903349048e..89054bfa60 100644 --- a/doc/posix1003.1/Makefile.am +++ b/doc/posix1003.1/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = posix1003_1 diff --git a/doc/posix_users/Makefile.am b/doc/posix_users/Makefile.am index e8df5bac18..73ca09b8db 100644 --- a/doc/posix_users/Makefile.am +++ b/doc/posix_users/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = posix_users diff --git a/doc/relnotes/Makefile.am b/doc/relnotes/Makefile.am index a0fce4f011..462cf5c6b7 100644 --- a/doc/relnotes/Makefile.am +++ b/doc/relnotes/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = relnotes diff --git a/doc/shell/Makefile.am b/doc/shell/Makefile.am index 33b96ccd1c..98ad03586d 100644 --- a/doc/shell/Makefile.am +++ b/doc/shell/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2007 # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = shell diff --git a/doc/started/Makefile.am b/doc/started/Makefile.am index 05dd83aed2..5bc093d6b6 100644 --- a/doc/started/Makefile.am +++ b/doc/started/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2010. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = started diff --git a/doc/tools/Makefile.am b/doc/tools/Makefile.am index 75db2d77b0..09fc48a109 100644 --- a/doc/tools/Makefile.am +++ b/doc/tools/Makefile.am @@ -1,3 +1,4 @@ +## $Id$ ACLOCAL_AMFLAGS = -I ../../aclocal EXTRA_DIST = word-replace2 diff --git a/doc/tools/bmenu/Makefile.am b/doc/tools/bmenu/Makefile.am index 80b32d2163..272230bd28 100644 --- a/doc/tools/bmenu/Makefile.am +++ b/doc/tools/bmenu/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2002. # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# noinst_PROGRAMS = bmenu2 diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am index 21f5a42ff8..de950b168c 100644 --- a/doc/user/Makefile.am +++ b/doc/user/Makefile.am @@ -2,6 +2,9 @@ # COPYRIGHT (c) 1988-2011 # On-Line Applications Research Corporation (OAR). # All rights reserved. +# +# $Id$ +# PROJECT = c_user diff --git a/testsuites/Makefile.am b/testsuites/Makefile.am index 92f8ad86a6..d4a14c089d 100644 --- a/testsuites/Makefile.am +++ b/testsuites/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I aclocal DISTCLEANFILES = diff --git a/testsuites/aclocal/canonical-target-name.m4 b/testsuites/aclocal/canonical-target-name.m4 index a237c7ba25..230583bf8c 100644 --- a/testsuites/aclocal/canonical-target-name.m4 +++ b/testsuites/aclocal/canonical-target-name.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + dnl canonicalize target cpu dnl NOTE: Most rtems targets do not fullfil autoconf's dnl target naming conventions "processor-vendor-os" diff --git a/testsuites/aclocal/canonicalize-tools.m4 b/testsuites/aclocal/canonicalize-tools.m4 index d4f9241a2b..190afca09a 100644 --- a/testsuites/aclocal/canonicalize-tools.m4 +++ b/testsuites/aclocal/canonicalize-tools.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Set target tools dnl diff --git a/testsuites/aclocal/check-cpuopts.m4 b/testsuites/aclocal/check-cpuopts.m4 index 41bf2fc642..542201f046 100644 --- a/testsuites/aclocal/check-cpuopts.m4 +++ b/testsuites/aclocal/check-cpuopts.m4 @@ -1,3 +1,5 @@ + + # RTEMS_CHECK_CPUOPTS(define) AC_DEFUN([RTEMS_CHECK_CPUOPTS], [ diff --git a/testsuites/aclocal/check-custom-bsp.m4 b/testsuites/aclocal/check-custom-bsp.m4 index 8857adcc3f..173399313a 100644 --- a/testsuites/aclocal/check-custom-bsp.m4 +++ b/testsuites/aclocal/check-custom-bsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[ AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir diff --git a/testsuites/aclocal/check-cxx.m4 b/testsuites/aclocal/check-cxx.m4 index 0a755f7583..4314b6d7c4 100644 --- a/testsuites/aclocal/check-cxx.m4 +++ b/testsuites/aclocal/check-cxx.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN([RTEMS_CHECK_CXX], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl diff --git a/testsuites/aclocal/check-tool.m4 b/testsuites/aclocal/check-tool.m4 index 2bc137cd96..4c412c074a 100644 --- a/testsuites/aclocal/check-tool.m4 +++ b/testsuites/aclocal/check-tool.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + ## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to ## the un-prefixed version of PROG-TO-CHECK-FOR. dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) diff --git a/testsuites/aclocal/enable-cxx.m4 b/testsuites/aclocal/enable-cxx.m4 index 759d81b1e9..08cb5d4191 100644 --- a/testsuites/aclocal/enable-cxx.m4 +++ b/testsuites/aclocal/enable-cxx.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_CXX], [ AC_ARG_ENABLE(cxx, diff --git a/testsuites/aclocal/enable-rtemsbsp.m4 b/testsuites/aclocal/enable-rtemsbsp.m4 index 60f37ec573..ba57aa5b41 100644 --- a/testsuites/aclocal/enable-rtemsbsp.m4 +++ b/testsuites/aclocal/enable-rtemsbsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Override the set of BSPs to be built. dnl used by the toplevel configure script dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list) diff --git a/testsuites/aclocal/enable-tests.m4 b/testsuites/aclocal/enable-tests.m4 index 9373924013..4edcb2cc53 100644 --- a/testsuites/aclocal/enable-tests.m4 +++ b/testsuites/aclocal/enable-tests.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + AC_DEFUN([RTEMS_ENABLE_TESTS], [ AC_ARG_ENABLE(tests, diff --git a/testsuites/aclocal/env-rtemsbsp.m4 b/testsuites/aclocal/env-rtemsbsp.m4 index 3f70348faf..918e338b54 100644 --- a/testsuites/aclocal/env-rtemsbsp.m4 +++ b/testsuites/aclocal/env-rtemsbsp.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + dnl Pass a single BSP via an environment variable dnl used by per BSP configure scripts AC_DEFUN([RTEMS_ENV_RTEMSBSP], diff --git a/testsuites/aclocal/prog-cc.m4 b/testsuites/aclocal/prog-cc.m4 index 0177843eaa..e611fbcbef 100644 --- a/testsuites/aclocal/prog-cc.m4 +++ b/testsuites/aclocal/prog-cc.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check for target gcc dnl diff --git a/testsuites/aclocal/prog-cxx.m4 b/testsuites/aclocal/prog-cxx.m4 index 6da733de6f..190b81af00 100644 --- a/testsuites/aclocal/prog-cxx.m4 +++ b/testsuites/aclocal/prog-cxx.m4 @@ -1,3 +1,6 @@ +dnl +dnl $Id$ +dnl dnl Check for target g++ dnl diff --git a/testsuites/aclocal/project-root.m4 b/testsuites/aclocal/project-root.m4 index aeeb0e863a..8fc765ae78 100644 --- a/testsuites/aclocal/project-root.m4 +++ b/testsuites/aclocal/project-root.m4 @@ -1,3 +1,7 @@ +dnl +dnl $Id$ +dnl + AC_DEFUN([RTEMS_PROJECT_ROOT], [dnl AC_REQUIRE([RTEMS_TOP]) diff --git a/testsuites/aclocal/rtems-top.m4 b/testsuites/aclocal/rtems-top.m4 index 5d7974e9d7..1b6d8457f2 100644 --- a/testsuites/aclocal/rtems-top.m4 +++ b/testsuites/aclocal/rtems-top.m4 @@ -1,3 +1,5 @@ +dnl $Id$ + # AC_DISABLE_OPTION_CHECKING is not available before 2.62 AC_PREREQ(2.62) diff --git a/testsuites/configure.ac b/testsuites/configure.ac index 1057aa50db..2e0d3e1fa9 100644 --- a/testsuites/configure.ac +++ b/testsuites/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/fstests/Makefile.am b/testsuites/fstests/Makefile.am index af06b4bcb1..43832760a0 100644 --- a/testsuites/fstests/Makefile.am +++ b/testsuites/fstests/Makefile.am @@ -1,6 +1,11 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = +SUBDIRS += fsdosfssync01 SUBDIRS += imfs_fserror SUBDIRS += imfs_fslink SUBDIRS += imfs_fspatheval diff --git a/testsuites/fstests/configure.ac b/testsuites/fstests/configure.ac index f8852307a5..ccf9ee0bcf 100644 --- a/testsuites/fstests/configure.ac +++ b/testsuites/fstests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-fstests], @@ -77,6 +79,7 @@ AC_CHECK_SIZEOF([blkcnt_t]) # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile +fsdosfssync01/Makefile imfs_fserror/Makefile imfs_fslink/Makefile imfs_fspatheval/Makefile diff --git a/testsuites/fstests/fsdosfssync01/Makefile.am b/testsuites/fstests/fsdosfssync01/Makefile.am new file mode 100644 index 0000000000..eb557f11e2 --- /dev/null +++ b/testsuites/fstests/fsdosfssync01/Makefile.am @@ -0,0 +1,19 @@ +rtems_tests_PROGRAMS = fsdosfssync01 +fsdosfssync01_SOURCES = init.c + +dist_rtems_tests_DATA = fsdosfssync01.scn fsdosfssync01.doc + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../automake/compile.am +include $(top_srcdir)/../automake/leaf.am + +AM_CPPFLAGS += -I$(top_srcdir)/../support/include + +LINK_OBJS = $(fsdosfssync01_OBJECTS) +LINK_LIBS = $(fsdosfssync01_LDLIBS) + +fsdosfssync01$(EXEEXT): $(fsdosfssync01_OBJECTS) $(fsdosfssync01_DEPENDENCIES) + @rm -f fsdosfssync01$(EXEEXT) + $(make-exe) + +include $(top_srcdir)/../automake/local.am diff --git a/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc b/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc new file mode 100644 index 0000000000..98b558a4f5 --- /dev/null +++ b/testsuites/fstests/fsdosfssync01/fsdosfssync01.doc @@ -0,0 +1,11 @@ +This file describes the directives and concepts tested by this test set. + +test set name: fsdosfssync01 + +directives: + + TBD + +concepts: + + TBD diff --git a/testsuites/fstests/fsdosfssync01/fsdosfssync01.scn b/testsuites/fstests/fsdosfssync01/fsdosfssync01.scn new file mode 100644 index 0000000000..c181dbf72c --- /dev/null +++ b/testsuites/fstests/fsdosfssync01/fsdosfssync01.scn @@ -0,0 +1,2 @@ +*** TEST FSDOSFSSYNC 1 *** +*** END OF TEST FSDOSFSSYNC 1 *** diff --git a/testsuites/fstests/fsdosfssync01/init.c b/testsuites/fstests/fsdosfssync01/init.c new file mode 100644 index 0000000000..72481b29b8 --- /dev/null +++ b/testsuites/fstests/fsdosfssync01/init.c @@ -0,0 +1,171 @@ +/* + * Copyright (c) 2012 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifdef HAVE_CONFIG_H + #include "config.h" +#endif + +#include "tmacros.h" + +#include <sys/stat.h> +#include <errno.h> +#include <string.h> +#include <stdint.h> +#include <unistd.h> +#include <fcntl.h> + +#include <rtems/libio.h> +#include <rtems/blkdev.h> +#include <rtems/dosfs.h> +#include <rtems/ramdisk.h> + +static void create_file(const char *file) +{ + int fd; + int rv; + + fd = creat(file, S_IRWXU | S_IRWXG | S_IRWXO); + rtems_test_assert(fd >= 0); + + rv = fsync(fd); + rtems_test_assert(rv == 0); + + rv = close(fd); + rtems_test_assert(rv == 0); +} + +static void write_to_file(const char *file, bool sync) +{ + int fd; + char buf [1]; + ssize_t n; + off_t pos; + int rv; + + fd = open(file, O_RDWR); + rtems_test_assert(fd >= 0); + + n = write(fd, buf, sizeof(buf)); + rtems_test_assert(n == (ssize_t) sizeof(buf)); + + pos = lseek(fd, 0, SEEK_END); + rtems_test_assert(pos == sizeof(buf)); + + if (sync) { + rv = fsync(fd); + rtems_test_assert(rv == 0); + } + + rv = close(fd); + rtems_test_assert(rv == 0); +} + +static void check_file_size(const char *file, off_t size) +{ + int fd; + off_t pos; + int rv; + + fd = open(file, O_RDWR); + rtems_test_assert(fd >= 0); + + pos = lseek(fd, 0, SEEK_END); + rtems_test_assert(pos == size); + + rv = close(fd); + rtems_test_assert(rv == 0); +} + +static void test(const char *rda, const char *mnt, const char *file) +{ + rtems_status_code sc; + int disk_fd; + int rv; + + sc = rtems_disk_io_initialize(); + rtems_test_assert(sc == RTEMS_SUCCESSFUL); + + disk_fd = open(rda, O_RDWR); + rtems_test_assert(disk_fd >= 0); + + rv = msdos_format(rda, NULL); + rtems_test_assert(rv == 0); + + rv = mount_and_make_target_path( + rda, + mnt, + RTEMS_FILESYSTEM_TYPE_DOSFS, + RTEMS_FILESYSTEM_READ_WRITE, + NULL + ); + rtems_test_assert(rv == 0); + + create_file(file); + rv = rtems_disk_fd_purge(disk_fd); + rtems_test_assert(rv == 0); + + write_to_file(file, false); + rv = rtems_disk_fd_purge(disk_fd); + rtems_test_assert(rv == 0); + check_file_size(file, 0); + + write_to_file(file, true); + rv = rtems_disk_fd_purge(disk_fd); + rtems_test_assert(rv == 0); + check_file_size(file, 1); + + rv = unmount(mnt); + rtems_test_assert(rv == 0); + + rv = close(disk_fd); + rtems_test_assert(rv == 0); +} + +static void Init(rtems_task_argument arg) +{ + puts("\n\n*** TEST FSDOSFSSYNC 1 ***"); + + test("/dev/rda", "/mnt", "/mnt/file"); + + puts("*** END OF TEST FSDOSFSSYNC 1 ***"); + + rtems_test_exit(0); +} + +rtems_ramdisk_config rtems_ramdisk_configuration [] = { + { .block_size = 512, .block_num = 1024 } +}; + +size_t rtems_ramdisk_configuration_size = 1; + +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_EXTRA_DRIVERS RAMDISK_DRIVER_TABLE_ENTRY +#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK + +#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6 + +#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM + +#define CONFIGURE_FILESYSTEM_DOSFS + +#define CONFIGURE_MAXIMUM_TASKS 2 + +#define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024) + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT + +#include <rtems/confdefs.h> diff --git a/testsuites/fstests/fsrdwr/init.c b/testsuites/fstests/fsrdwr/init.c index ef2b02a0b8..c2f3978f6f 100644 --- a/testsuites/fstests/fsrdwr/init.c +++ b/testsuites/fstests/fsrdwr/init.c @@ -26,12 +26,39 @@ #include "fstest.h" #include "pmacros.h" -const char *databuf = +static const mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; + +static const char databuf [] = "Happy days are here again. Happy days are here again.1Happy " "days are here again.2Happy days are here again.3Happy days are here again." "4Happy days are here again.5Happy days are here again.6Happy days are here " "again.7Happy days are here again."; +static const size_t len = sizeof (databuf) - 1; + +static void +test_case_enter (const char *wd) +{ + int status; + + printf ("test case: %s\n", wd); + + status = mkdir (wd, mode); + rtems_test_assert (status == 0); + + status = chdir (wd); + rtems_test_assert (status == 0); +} + +static void +test_case_leave (void) +{ + int status; + + status = chdir (".."); + rtems_test_assert (status == 0); +} + static void read_write_test (void) { @@ -42,23 +69,13 @@ read_write_test (void) char *name02 = "name02"; struct stat statbuf; char *readbuf; - size_t len = strlen (databuf); off_t pos = 0; int n; - mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; - - const char *wd = __func__; + test_case_enter (__func__); /* - * Create a new directory and change the current directory to this - */ - status = mkdir (wd, mode); - rtems_test_assert (status == 0); - status = chdir (wd); - rtems_test_assert (status == 0); - /* * Create an empty file */ fd = open (name01, O_CREAT | O_WRONLY, mode); @@ -77,7 +94,7 @@ read_write_test (void) * Write data to the empty file */ fd = open (name01, O_WRONLY); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); n = write (fd, databuf, len); rtems_test_assert (n == len); @@ -96,7 +113,7 @@ read_write_test (void) rtems_test_assert (readbuf); fd = open (name01, O_RDONLY); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); n = read (fd, readbuf, len); rtems_test_assert (n == len); rtems_test_assert (!strncmp (databuf, readbuf, len)); @@ -112,6 +129,12 @@ read_write_test (void) rtems_test_assert (n == len); pos = lseek (fd, 0, SEEK_CUR); rtems_test_assert (pos == 2 * len); + pos = lseek (fd, 0, SEEK_SET); + rtems_test_assert (pos == 0); + n = write (fd, databuf, len); + rtems_test_assert (n == len); + pos = lseek (fd, 0, SEEK_CUR); + rtems_test_assert (pos == 3 * len); status = close (fd); rtems_test_assert (status == 0); @@ -119,11 +142,13 @@ read_write_test (void) * Read the data and verify it */ fd = open (name01, O_RDONLY); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); + n = read (fd, readbuf, len); + rtems_test_assert (n == len); + rtems_test_assert (!strncmp (databuf, readbuf, len)); n = read (fd, readbuf, len); rtems_test_assert (n == len); rtems_test_assert (!strncmp (databuf, readbuf, len)); - n = read (fd, readbuf, len); rtems_test_assert (n == len); rtems_test_assert (!strncmp (databuf, readbuf, len)); @@ -170,18 +195,14 @@ read_write_test (void) status = mkdir (name02, mode); rtems_test_assert (status == 0); fd = open (name02, O_RDONLY); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); status = close (fd); rtems_test_assert (status == 0); free (readbuf); - /* - * Go back to parent directory - */ - status = chdir (".."); - rtems_test_assert (status == 0); + test_case_leave (); } static void @@ -197,22 +218,10 @@ truncate_test03 (void) int n; int i; - size_t len = strlen (databuf); - char *readbuf; off_t good_size = 100; - mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; - - const char *wd = __func__; - - /* - * Create a new directory and change the current directory to this - */ - status = mkdir (wd, mode); - rtems_test_assert (status == 0); - status = chdir (wd); - rtems_test_assert (status == 0); + test_case_enter (__func__); /* * Create an empty file @@ -246,7 +255,7 @@ truncate_test03 (void) * Fill a file with data */ fd = open (name01, O_WRONLY); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); n = write (fd, databuf, len); rtems_test_assert (n == len); @@ -263,7 +272,7 @@ truncate_test03 (void) readbuf = (char *) malloc (len / 2); rtems_test_assert (readbuf); fd = open (name01, O_RDONLY); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); n = read (fd, readbuf, len / 2); rtems_test_assert (n == len / 2); rtems_test_assert (!strncmp (databuf, readbuf, len / 2)); @@ -290,34 +299,22 @@ lseek_test (void) const char *name01 = "test_name01"; struct stat statbuf; - int n; + ssize_t n; int i; - size_t len = strlen (databuf); off_t pos; ssize_t total_written = 0; char *readbuf; - mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; - - - const char *wd = __func__; - - /* - * Create a new directory and change the current directory to this - */ - status = mkdir (wd, mode); - rtems_test_assert (status == 0); - status = chdir (wd); - rtems_test_assert (status == 0); + test_case_enter (__func__); /* * Create a file and fill with the data. */ puts ("Create a new file"); fd = creat (name01, mode); - rtems_test_assert (fd != -1); + rtems_test_assert (fd >= 0); pos = lseek (fd, 0, SEEK_CUR); rtems_test_assert (pos == 0); @@ -332,7 +329,7 @@ lseek_test (void) printf ("Writing %zd bytes to file\n", len * 10); for (i = 0; i < 10; i++) { n = write (fd, databuf, len); - rtems_test_assert (n != -1); + rtems_test_assert (n == (ssize_t) len); total_written += n; } printf ("Successfully wrote %d\n", total_written); @@ -371,7 +368,7 @@ lseek_test (void) */ status = fstat (fd, &statbuf); rtems_test_assert (status == 0); - rtems_test_assert (statbuf.st_size == total_written + 1); + rtems_test_assert (statbuf.st_size == total_written); status = ftruncate (fd, total_written); rtems_test_assert (status == 0); @@ -517,12 +514,232 @@ lseek_test (void) status = close (fd); rtems_test_assert (status == 0); - /* - * Go back to parent directory - */ - status = chdir (".."); + + test_case_leave (); +} + +static void +truncate_to_zero (void) +{ + int fd; + ssize_t n; + int status; + off_t pos; + + test_case_enter (__func__); + + fd = creat ("file", mode); + rtems_test_assert (fd >= 0); + + n = write (fd, databuf, len); + rtems_test_assert (n == (ssize_t) len); + + pos = lseek (fd, 0, SEEK_END); + rtems_test_assert (pos == len); + + status = ftruncate (fd, 0); rtems_test_assert (status == 0); + pos = lseek (fd, 0, SEEK_END); + rtems_test_assert (pos == 0); + + status = close (fd); + rtems_test_assert (status == 0); + + test_case_leave (); +} + +static void +random_fill (char *dst, size_t n) +{ + static uint32_t u = 0x12345678; + uint32_t v = u; + uint32_t w; + size_t i = 0; + int j = 0; + + while (i < n) { + if (j == 0) { + v *= 1664525; + v += 1013904223; + w = v; + } else { + w >>= 8; + } + + dst [i] = (char) w; + + ++i; + j = (j + 1) % 4; + } + + u = v; +} + +static void +block_rw_lseek (int fd, size_t pos) +{ + off_t actual; + + actual = lseek (fd, pos, SEEK_SET); + rtems_test_assert (actual == pos); +} + +static void +block_rw_write (int fd, char *out, size_t pos, size_t size) +{ + ssize_t n; + + random_fill (out + pos, size); + + block_rw_lseek (fd, pos); + + n = write (fd, out + pos, size); + rtems_test_assert (n == (ssize_t) size); +} + +static void +block_rw_write_cont (int fd, char *out, size_t *pos, size_t size) +{ + ssize_t n; + + random_fill (out + *pos, size); + + n = write (fd, out + *pos, size); + rtems_test_assert (n == (ssize_t) size); + + *pos += size; +} + +static void +block_rw_check (int fd, const char *out, char *in, size_t size) +{ + ssize_t n; + off_t file_size; + + file_size = lseek (fd, 0, SEEK_END); + rtems_test_assert (file_size == size); + + block_rw_lseek (fd, 0); + + n = read (fd, in, size); + rtems_test_assert (n == (ssize_t) size); + + rtems_test_assert (memcmp (out, in, size) == 0); +} + +static void +block_rw_prepare (const char *t, int fd, char *out, size_t size) +{ + int status; + + printf ("test case: %s\n", t); + + memset (out, 0, size); + + status = ftruncate (fd, 0); + rtems_test_assert (status == 0); + + block_rw_lseek (fd, 0); +} + +static void +block_rw_case_0 (int fd, size_t block_size, char *out, char *in) +{ + const size_t size = 3 * block_size + 1; + + block_rw_prepare (__func__, fd, out, size); + block_rw_write (fd, out, 0, size); + block_rw_check (fd, out, in, size); +} + +static void +block_rw_case_1 (int fd, size_t block_size, char *out, char *in) +{ + const size_t size = 2 * block_size; + + block_rw_prepare (__func__, fd, out, size); + block_rw_write (fd, out, block_size, block_size); + block_rw_check (fd, out, in, size); +} + +static void +block_rw_case_2 (int fd, size_t block_size, char *out, char *in) +{ + const size_t size = (5 * block_size) / 2; + + block_rw_prepare (__func__, fd, out, size); + block_rw_write (fd, out, (3 * block_size) / 2, block_size); + block_rw_check (fd, out, in, size); +} + +static void +block_rw_case_3 (int fd, size_t block_size, char *out, char *in) +{ + const size_t size = 2 * block_size; + + block_rw_prepare (__func__, fd, out, size); + block_rw_write (fd, out, block_size, block_size / 3); + block_rw_write (fd, out, 2 * block_size - block_size / 3, block_size / 3); + block_rw_check (fd, out, in, size); +} + +static void +block_rw_case_4 (int fd, size_t block_size, char *out, char *in) +{ + const size_t size = 3 * block_size + 1; + size_t pos = 0; + + block_rw_prepare (__func__, fd, out, size); + block_rw_write_cont (fd, out, &pos, block_size); + block_rw_write_cont (fd, out, &pos, block_size / 2); + block_rw_write_cont (fd, out, &pos, block_size); + block_rw_write_cont (fd, out, &pos, block_size / 2); + block_rw_write_cont (fd, out, &pos, 1); + block_rw_check (fd, out, in, size); +} + +static void +block_read_and_write (void) +{ + int fd; + struct stat st; + int status; + size_t block_size; + size_t size; + char *out; + char *in; + + test_case_enter (__func__); + + fd = open ("file", O_RDWR | O_CREAT | O_TRUNC, mode); + rtems_test_assert (fd >= 0); + + status = fstat (fd, &st); + rtems_test_assert (status == 0); + + block_size = st.st_blksize; + size = 3 * block_size + 1; + + out = malloc (size); + rtems_test_assert (out != NULL); + + in = malloc (size); + rtems_test_assert (in != NULL); + + block_rw_case_0 (fd, block_size, out, in); + block_rw_case_1 (fd, block_size, out, in); + block_rw_case_2 (fd, block_size, out, in); + block_rw_case_3 (fd, block_size, out, in); + block_rw_case_4 (fd, block_size, out, in); + + status = close (fd); + rtems_test_assert (status == 0); + + free (out); + free (in); + + test_case_leave (); } void @@ -531,4 +748,6 @@ test (void) read_write_test (); lseek_test (); truncate_test03 (); + truncate_to_zero (); + block_read_and_write (); } diff --git a/testsuites/fstests/imfs_fserror/Makefile.am b/testsuites/fstests/imfs_fserror/Makefile.am index 047cede034..fdc52864de 100644 --- a/testsuites/fstests/imfs_fserror/Makefile.am +++ b/testsuites/fstests/imfs_fserror/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fserror imfs_fserror_SOURCES = ../fserror/test.c imfs_fserror_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/imfs_fslink/Makefile.am b/testsuites/fstests/imfs_fslink/Makefile.am index afc06f4b20..cca5fcc4bf 100644 --- a/testsuites/fstests/imfs_fslink/Makefile.am +++ b/testsuites/fstests/imfs_fslink/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fslink imfs_fslink_SOURCES = ../fslink/test.c imfs_fslink_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/imfs_fspatheval/Makefile.am b/testsuites/fstests/imfs_fspatheval/Makefile.am index 0a11937ac8..044534aa5b 100644 --- a/testsuites/fstests/imfs_fspatheval/Makefile.am +++ b/testsuites/fstests/imfs_fspatheval/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fspatheval imfs_fspatheval_SOURCES = ../fspatheval/test.c imfs_fspatheval_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/imfs_fspermission/Makefile.am b/testsuites/fstests/imfs_fspermission/Makefile.am index d6409b8a9e..3e32f42438 100644 --- a/testsuites/fstests/imfs_fspermission/Makefile.am +++ b/testsuites/fstests/imfs_fspermission/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fspermission imfs_fspermission_SOURCES = ../fspermission/test.c imfs_fspermission_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/imfs_fsrdwr/Makefile.am b/testsuites/fstests/imfs_fsrdwr/Makefile.am index e069a12511..6e5ee5db3b 100644 --- a/testsuites/fstests/imfs_fsrdwr/Makefile.am +++ b/testsuites/fstests/imfs_fsrdwr/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fsrdwr imfs_fsrdwr_SOURCES = ../fsrdwr/init.c imfs_fsrdwr_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/imfs_fssymlink/Makefile.am b/testsuites/fstests/imfs_fssymlink/Makefile.am index 061216b5ad..1ac311635d 100644 --- a/testsuites/fstests/imfs_fssymlink/Makefile.am +++ b/testsuites/fstests/imfs_fssymlink/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fssymlink imfs_fssymlink_SOURCES = ../fssymlink/test.c imfs_fssymlink_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/imfs_fstime/Makefile.am b/testsuites/fstests/imfs_fstime/Makefile.am index 650361920b..ba2e4f53db 100644 --- a/testsuites/fstests/imfs_fstime/Makefile.am +++ b/testsuites/fstests/imfs_fstime/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = imfs_fstime imfs_fstime_SOURCES = ../fstime/test.c imfs_fstime_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mdosfs_fserror/Makefile.am b/testsuites/fstests/mdosfs_fserror/Makefile.am index 8c1c014e31..36026385c9 100644 --- a/testsuites/fstests/mdosfs_fserror/Makefile.am +++ b/testsuites/fstests/mdosfs_fserror/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mdosfs_fserror mdosfs_fserror_SOURCES = ../fserror/test.c mdosfs_fserror_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mdosfs_fspatheval/Makefile.am b/testsuites/fstests/mdosfs_fspatheval/Makefile.am index 160a38ec02..7217f6e183 100644 --- a/testsuites/fstests/mdosfs_fspatheval/Makefile.am +++ b/testsuites/fstests/mdosfs_fspatheval/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mdosfs_fspatheval mdosfs_fspatheval_SOURCES = ../fspatheval/test.c mdosfs_fspatheval_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mdosfs_fsrdwr/Makefile.am b/testsuites/fstests/mdosfs_fsrdwr/Makefile.am index 729668023b..ea66e389c2 100644 --- a/testsuites/fstests/mdosfs_fsrdwr/Makefile.am +++ b/testsuites/fstests/mdosfs_fsrdwr/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mdosfs_fsrdwr mdosfs_fsrdwr_SOURCES = ../fsrdwr/init.c mdosfs_fsrdwr_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mdosfs_fstime/Makefile.am b/testsuites/fstests/mdosfs_fstime/Makefile.am index ebc97ea033..a6f23eb6c3 100644 --- a/testsuites/fstests/mdosfs_fstime/Makefile.am +++ b/testsuites/fstests/mdosfs_fstime/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mdosfs_fstime mdosfs_fstime_SOURCES = ../fstime/test.c mdosfs_fstime_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mimfs_fserror/Makefile.am b/testsuites/fstests/mimfs_fserror/Makefile.am index dea91c22dd..b99aa6b5d9 100644 --- a/testsuites/fstests/mimfs_fserror/Makefile.am +++ b/testsuites/fstests/mimfs_fserror/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fserror mimfs_fserror_SOURCES = ../fserror/test.c mimfs_fserror_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mimfs_fslink/Makefile.am b/testsuites/fstests/mimfs_fslink/Makefile.am index 5d7b6d7486..76c65a9548 100644 --- a/testsuites/fstests/mimfs_fslink/Makefile.am +++ b/testsuites/fstests/mimfs_fslink/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fslink mimfs_fslink_SOURCES = ../fslink/test.c mimfs_fslink_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mimfs_fspatheval/Makefile.am b/testsuites/fstests/mimfs_fspatheval/Makefile.am index d2e1411da9..b6620b2207 100644 --- a/testsuites/fstests/mimfs_fspatheval/Makefile.am +++ b/testsuites/fstests/mimfs_fspatheval/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fspatheval mimfs_fspatheval_SOURCES = ../fspatheval/test.c mimfs_fspatheval_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mimfs_fspermission/Makefile.am b/testsuites/fstests/mimfs_fspermission/Makefile.am index d66c746f4d..531e1c9fb1 100644 --- a/testsuites/fstests/mimfs_fspermission/Makefile.am +++ b/testsuites/fstests/mimfs_fspermission/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fspermission mimfs_fspermission_SOURCES = ../fspermission/test.c mimfs_fspermission_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mimfs_fsrdwr/Makefile.am b/testsuites/fstests/mimfs_fsrdwr/Makefile.am index f1aeb9ba9c..24d4fb5ccc 100644 --- a/testsuites/fstests/mimfs_fsrdwr/Makefile.am +++ b/testsuites/fstests/mimfs_fsrdwr/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fsrdwr mimfs_fsrdwr_SOURCES = ../fsrdwr/init.c mimfs_fsrdwr_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mimfs_fssymlink/Makefile.am b/testsuites/fstests/mimfs_fssymlink/Makefile.am index 0d00a4494c..2000d223e4 100644 --- a/testsuites/fstests/mimfs_fssymlink/Makefile.am +++ b/testsuites/fstests/mimfs_fssymlink/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fssymlink mimfs_fssymlink_SOURCES = ../fssymlink/test.c mimfs_fssymlink_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mimfs_fstime/Makefile.am b/testsuites/fstests/mimfs_fstime/Makefile.am index 57b5988218..1c98f565a1 100644 --- a/testsuites/fstests/mimfs_fstime/Makefile.am +++ b/testsuites/fstests/mimfs_fstime/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mimfs_fstime mimfs_fstime_SOURCES = ../fstime/test.c mimfs_fstime_SOURCES += ../support/fstest_support.c diff --git a/testsuites/fstests/mrfs_fserror/Makefile.am b/testsuites/fstests/mrfs_fserror/Makefile.am index e321d963cf..7b04c9962b 100644 --- a/testsuites/fstests/mrfs_fserror/Makefile.am +++ b/testsuites/fstests/mrfs_fserror/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fserror mrfs_fserror_SOURCES = ../fserror/test.c mrfs_fserror_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mrfs_fslink/Makefile.am b/testsuites/fstests/mrfs_fslink/Makefile.am index 47330264ec..9fdb70300b 100644 --- a/testsuites/fstests/mrfs_fslink/Makefile.am +++ b/testsuites/fstests/mrfs_fslink/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fslink mrfs_fslink_SOURCES = ../fslink/test.c mrfs_fslink_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mrfs_fspatheval/Makefile.am b/testsuites/fstests/mrfs_fspatheval/Makefile.am index 5327fef150..a06a6f319a 100644 --- a/testsuites/fstests/mrfs_fspatheval/Makefile.am +++ b/testsuites/fstests/mrfs_fspatheval/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fspatheval mrfs_fspatheval_SOURCES = ../fspatheval/test.c mrfs_fspatheval_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mrfs_fspermission/Makefile.am b/testsuites/fstests/mrfs_fspermission/Makefile.am index 4f53c040b0..f76b1d3d70 100644 --- a/testsuites/fstests/mrfs_fspermission/Makefile.am +++ b/testsuites/fstests/mrfs_fspermission/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fspermission mrfs_fspermission_SOURCES = ../fspermission/test.c mrfs_fspermission_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mrfs_fsrdwr/Makefile.am b/testsuites/fstests/mrfs_fsrdwr/Makefile.am index 29128d4804..1d10eccf22 100644 --- a/testsuites/fstests/mrfs_fsrdwr/Makefile.am +++ b/testsuites/fstests/mrfs_fsrdwr/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fsrdwr mrfs_fsrdwr_SOURCES = ../fsrdwr/init.c mrfs_fsrdwr_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mrfs_fssymlink/Makefile.am b/testsuites/fstests/mrfs_fssymlink/Makefile.am index 6bc76d6df6..06e3c3cc9d 100644 --- a/testsuites/fstests/mrfs_fssymlink/Makefile.am +++ b/testsuites/fstests/mrfs_fssymlink/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fssymlink mrfs_fssymlink_SOURCES = ../fssymlink/test.c mrfs_fssymlink_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/fstests/mrfs_fstime/Makefile.am b/testsuites/fstests/mrfs_fstime/Makefile.am index 3638e364cb..3eb4aebcc7 100644 --- a/testsuites/fstests/mrfs_fstime/Makefile.am +++ b/testsuites/fstests/mrfs_fstime/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mrfs_fstime mrfs_fstime_SOURCES = ../fstime/test.c mrfs_fstime_SOURCES += ../support/ramdisk_support.c diff --git a/testsuites/libtests/Makefile.am b/testsuites/libtests/Makefile.am index 9724c1ab2b..e964608089 100644 --- a/testsuites/libtests/Makefile.am +++ b/testsuites/libtests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = POSIX diff --git a/testsuites/libtests/block01/Makefile.am b/testsuites/libtests/block01/Makefile.am index ce94839397..fce652c3eb 100644 --- a/testsuites/libtests/block01/Makefile.am +++ b/testsuites/libtests/block01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block01 block01_SOURCES = init.c diff --git a/testsuites/libtests/block02/Makefile.am b/testsuites/libtests/block02/Makefile.am index 0efd5aac2c..9a9ca6183e 100644 --- a/testsuites/libtests/block02/Makefile.am +++ b/testsuites/libtests/block02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block02 block02_SOURCES = init.c diff --git a/testsuites/libtests/block03/Makefile.am b/testsuites/libtests/block03/Makefile.am index ce620cbe38..5165de99e2 100644 --- a/testsuites/libtests/block03/Makefile.am +++ b/testsuites/libtests/block03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block03 block03_SOURCES = init.c diff --git a/testsuites/libtests/block04/Makefile.am b/testsuites/libtests/block04/Makefile.am index 736ba90572..c9e6e3ebba 100644 --- a/testsuites/libtests/block04/Makefile.am +++ b/testsuites/libtests/block04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block04 block04_SOURCES = init.c diff --git a/testsuites/libtests/block05/Makefile.am b/testsuites/libtests/block05/Makefile.am index 6e346caa19..0224c067e9 100644 --- a/testsuites/libtests/block05/Makefile.am +++ b/testsuites/libtests/block05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block05 block05_SOURCES = init.c diff --git a/testsuites/libtests/block06/Makefile.am b/testsuites/libtests/block06/Makefile.am index 19796f6e90..6d1eccdc32 100644 --- a/testsuites/libtests/block06/Makefile.am +++ b/testsuites/libtests/block06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block06 block06_SOURCES = init.c diff --git a/testsuites/libtests/block07/Makefile.am b/testsuites/libtests/block07/Makefile.am index 94e0cb336b..ed39870907 100644 --- a/testsuites/libtests/block07/Makefile.am +++ b/testsuites/libtests/block07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block07 block07_SOURCES = init.c diff --git a/testsuites/libtests/block08/Makefile.am b/testsuites/libtests/block08/Makefile.am index 0c1f1059d6..b9c0401496 100644 --- a/testsuites/libtests/block08/Makefile.am +++ b/testsuites/libtests/block08/Makefile.am @@ -5,6 +5,7 @@ ## The license and distribution terms for this file may be ## found in the file LICENSE in this distribution or at ## http://www.rtems.com/license/LICENSE. +## $Id$ ## diff --git a/testsuites/libtests/block09/Makefile.am b/testsuites/libtests/block09/Makefile.am index 02d5d41cf1..d316414ad2 100644 --- a/testsuites/libtests/block09/Makefile.am +++ b/testsuites/libtests/block09/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block09 block09_SOURCES = init.c diff --git a/testsuites/libtests/block10/Makefile.am b/testsuites/libtests/block10/Makefile.am index 44fe6cbaaa..59cc48da17 100644 --- a/testsuites/libtests/block10/Makefile.am +++ b/testsuites/libtests/block10/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block10 block10_SOURCES = init.c diff --git a/testsuites/libtests/block11/Makefile.am b/testsuites/libtests/block11/Makefile.am index 0bc0ebc392..dee51b6584 100644 --- a/testsuites/libtests/block11/Makefile.am +++ b/testsuites/libtests/block11/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = block11 block11_SOURCES = init.c diff --git a/testsuites/libtests/bspcmdline01/Makefile.am b/testsuites/libtests/bspcmdline01/Makefile.am index 1cb26ee394..9c9f922f70 100644 --- a/testsuites/libtests/bspcmdline01/Makefile.am +++ b/testsuites/libtests/bspcmdline01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = bspcmdline01 bspcmdline01_SOURCES = init.c diff --git a/testsuites/libtests/complex/Makefile.am b/testsuites/libtests/complex/Makefile.am index 2a16eec2ce..ae3a836be8 100644 --- a/testsuites/libtests/complex/Makefile.am +++ b/testsuites/libtests/complex/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + if HAS_COMPLEX rtems_tests_PROGRAMS = complex complex_SOURCES = init.c docomplex.c docomplexf.c docomplexl.c diff --git a/testsuites/libtests/configure.ac b/testsuites/libtests/configure.ac index 12ba1943e8..f04ab0b789 100644 --- a/testsuites/libtests/configure.ac +++ b/testsuites/libtests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-libtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/libtests/cpuuse/Makefile.am b/testsuites/libtests/cpuuse/Makefile.am index fdbf083ca6..9cd8fef4d4 100644 --- a/testsuites/libtests/cpuuse/Makefile.am +++ b/testsuites/libtests/cpuuse/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = cpuuse cpuuse_SOURCES = init.c task1.c task2.c task3.c tswitch.c system.h diff --git a/testsuites/libtests/devfs01/Makefile.am b/testsuites/libtests/devfs01/Makefile.am index d3c3a15664..ed53dc2c67 100644 --- a/testsuites/libtests/devfs01/Makefile.am +++ b/testsuites/libtests/devfs01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = devfs01 devfs01_SOURCES = init.c diff --git a/testsuites/libtests/devfs02/Makefile.am b/testsuites/libtests/devfs02/Makefile.am index 80d7c2b3ff..5f10eed6ac 100644 --- a/testsuites/libtests/devfs02/Makefile.am +++ b/testsuites/libtests/devfs02/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = devfs02 devfs02_SOURCES = init.c diff --git a/testsuites/libtests/devfs03/Makefile.am b/testsuites/libtests/devfs03/Makefile.am index 0df0f30ec7..b9ab26a310 100644 --- a/testsuites/libtests/devfs03/Makefile.am +++ b/testsuites/libtests/devfs03/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = devfs03 devfs03_SOURCES = init.c diff --git a/testsuites/libtests/devfs04/Makefile.am b/testsuites/libtests/devfs04/Makefile.am index 6b240e486c..3bb4dbd604 100644 --- a/testsuites/libtests/devfs04/Makefile.am +++ b/testsuites/libtests/devfs04/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = devfs04 devfs04_SOURCES = init.c test_driver.c devfs04_SOURCES += test_driver.h diff --git a/testsuites/libtests/deviceio01/Makefile.am b/testsuites/libtests/deviceio01/Makefile.am index 8c92a80a56..5afdf3e042 100644 --- a/testsuites/libtests/deviceio01/Makefile.am +++ b/testsuites/libtests/deviceio01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = deviceio01 deviceio01_SOURCES = init.c test_driver.c deviceio01_SOURCES += test_driver.h diff --git a/testsuites/libtests/devnullfatal01/Makefile.am b/testsuites/libtests/devnullfatal01/Makefile.am index ad62896881..248f570a0f 100644 --- a/testsuites/libtests/devnullfatal01/Makefile.am +++ b/testsuites/libtests/devnullfatal01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = devnullfatal01 devnullfatal01_SOURCES = ../../sptests/spfatal_support/init.c \ ../../sptests/spfatal_support/system.h testcase.h diff --git a/testsuites/libtests/dumpbuf01/Makefile.am b/testsuites/libtests/dumpbuf01/Makefile.am index 31c90bebe7..bdf7c93ebe 100644 --- a/testsuites/libtests/dumpbuf01/Makefile.am +++ b/testsuites/libtests/dumpbuf01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = dumpbuf01 dumpbuf01_SOURCES = init.c diff --git a/testsuites/libtests/ftp01/Makefile.am b/testsuites/libtests/ftp01/Makefile.am index 6d286a60d2..ccb922af36 100644 --- a/testsuites/libtests/ftp01/Makefile.am +++ b/testsuites/libtests/ftp01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = ftp01 ftp01_SOURCES = init.c ftp01_LDADD = -lftpd diff --git a/testsuites/libtests/gxx01/Makefile.am b/testsuites/libtests/gxx01/Makefile.am index 122a4688fc..cb94b65d3f 100644 --- a/testsuites/libtests/gxx01/Makefile.am +++ b/testsuites/libtests/gxx01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = gxx01 gxx01_SOURCES = init.c diff --git a/testsuites/libtests/heapwalk/Makefile.am b/testsuites/libtests/heapwalk/Makefile.am index 27c5007ce4..fe4b410eaf 100644 --- a/testsuites/libtests/heapwalk/Makefile.am +++ b/testsuites/libtests/heapwalk/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = heapwalk heapwalk_SOURCES = init.c system.h diff --git a/testsuites/libtests/malloc02/Makefile.am b/testsuites/libtests/malloc02/Makefile.am index 897b2c53eb..afee06bc45 100644 --- a/testsuites/libtests/malloc02/Makefile.am +++ b/testsuites/libtests/malloc02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = malloc02 malloc02_SOURCES = init.c diff --git a/testsuites/libtests/malloc03/Makefile.am b/testsuites/libtests/malloc03/Makefile.am index 9bc62deb39..e90a45d438 100644 --- a/testsuites/libtests/malloc03/Makefile.am +++ b/testsuites/libtests/malloc03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = malloc03 malloc03_SOURCES = init.c diff --git a/testsuites/libtests/malloc04/Makefile.am b/testsuites/libtests/malloc04/Makefile.am index 7b11b260b1..858a33d20a 100644 --- a/testsuites/libtests/malloc04/Makefile.am +++ b/testsuites/libtests/malloc04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = malloc04 malloc04_SOURCES = init.c diff --git a/testsuites/libtests/malloc05/Makefile.am b/testsuites/libtests/malloc05/Makefile.am index 9746c7bfc8..21fad7408f 100644 --- a/testsuites/libtests/malloc05/Makefile.am +++ b/testsuites/libtests/malloc05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = malloc05 malloc05_SOURCES = init.c diff --git a/testsuites/libtests/malloctest/Makefile.am b/testsuites/libtests/malloctest/Makefile.am index 8ed13c54da..3804f23292 100644 --- a/testsuites/libtests/malloctest/Makefile.am +++ b/testsuites/libtests/malloctest/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = malloctest malloctest_SOURCES = init.c task1.c system.h diff --git a/testsuites/libtests/math/Makefile.am b/testsuites/libtests/math/Makefile.am index 5a8a010810..27cf21a480 100644 --- a/testsuites/libtests/math/Makefile.am +++ b/testsuites/libtests/math/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = math math_SOURCES = init.c domath.c EXTRA_DIST = $(srcdir)/../math/domath.in diff --git a/testsuites/libtests/mathf/Makefile.am b/testsuites/libtests/mathf/Makefile.am index 0834145292..57b372e08f 100644 --- a/testsuites/libtests/mathf/Makefile.am +++ b/testsuites/libtests/mathf/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mathf mathf_SOURCES = init.c domathf.c EXTRA_DIST = $(srcdir)/../math/domath.in diff --git a/testsuites/libtests/mathl/Makefile.am b/testsuites/libtests/mathl/Makefile.am index 23d21d65c0..64be2e0ad8 100644 --- a/testsuites/libtests/mathl/Makefile.am +++ b/testsuites/libtests/mathl/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mathl mathl_SOURCES = init.c domathl.c EXTRA_DIST = $(srcdir)/../math/domath.in diff --git a/testsuites/libtests/monitor/Makefile.am b/testsuites/libtests/monitor/Makefile.am index a5c2b6cdb3..0b49dc90ee 100644 --- a/testsuites/libtests/monitor/Makefile.am +++ b/testsuites/libtests/monitor/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = monitor monitor_SOURCES = init.c system.h diff --git a/testsuites/libtests/monitor02/Makefile.am b/testsuites/libtests/monitor02/Makefile.am index 2eaf9d5da9..d3ca0132b5 100644 --- a/testsuites/libtests/monitor02/Makefile.am +++ b/testsuites/libtests/monitor02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = monitor02 monitor02_SOURCES = init.c system.h diff --git a/testsuites/libtests/mouse01/Makefile.am b/testsuites/libtests/mouse01/Makefile.am index 9e379f6f39..19aa3cecd0 100644 --- a/testsuites/libtests/mouse01/Makefile.am +++ b/testsuites/libtests/mouse01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = mouse01 mouse01_SOURCES = init.c serial_mouse_config.c msmouse.c\ ../termios04/termios_testdriver_intr.c diff --git a/testsuites/libtests/putenvtest/Makefile.am b/testsuites/libtests/putenvtest/Makefile.am index 49d35a9f05..c2a62f4cae 100644 --- a/testsuites/libtests/putenvtest/Makefile.am +++ b/testsuites/libtests/putenvtest/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = putenvtest putenvtest_SOURCES = init.c diff --git a/testsuites/libtests/rtems++/Makefile.am b/testsuites/libtests/rtems++/Makefile.am index b39a494062..9e528cb2f8 100644 --- a/testsuites/libtests/rtems++/Makefile.am +++ b/testsuites/libtests/rtems++/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + if HAS_CXX rtems_tests_PROGRAMS = rtems++ rtems___SOURCES = Init.cc Task1.cc Task2.cc Task3.cc System.h diff --git a/testsuites/libtests/rtmonuse/Makefile.am b/testsuites/libtests/rtmonuse/Makefile.am index 582f1dc23a..79034b29fb 100644 --- a/testsuites/libtests/rtmonuse/Makefile.am +++ b/testsuites/libtests/rtmonuse/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = rtmonuse rtmonuse_SOURCES = init.c getall.c task1.c system.h diff --git a/testsuites/libtests/stackchk/Makefile.am b/testsuites/libtests/stackchk/Makefile.am index 7e9e8af94f..989feec1a3 100644 --- a/testsuites/libtests/stackchk/Makefile.am +++ b/testsuites/libtests/stackchk/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = stackchk stackchk_SOURCES = blow.c init.c task1.c system.h diff --git a/testsuites/libtests/stackchk01/Makefile.am b/testsuites/libtests/stackchk01/Makefile.am index 73e2cb255d..aca890184d 100644 --- a/testsuites/libtests/stackchk01/Makefile.am +++ b/testsuites/libtests/stackchk01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = stackchk01 stackchk01_SOURCES = init.c diff --git a/testsuites/libtests/stringto01/Makefile.am b/testsuites/libtests/stringto01/Makefile.am index 2929ec3f76..c3f0f67d8e 100644 --- a/testsuites/libtests/stringto01/Makefile.am +++ b/testsuites/libtests/stringto01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = stringto01 stringto01_SOURCES = init.c stringto01_SOURCES += stringto_test_template.h diff --git a/testsuites/libtests/tar01/Makefile.am b/testsuites/libtests/tar01/Makefile.am index 6bcb4f26cd..199b8f9c69 100644 --- a/testsuites/libtests/tar01/Makefile.am +++ b/testsuites/libtests/tar01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + if TARTESTS rtems_tests_PROGRAMS = tar01 tar01_SOURCES = init.c ../../psxtests/psxfile01/test_cat.c \ diff --git a/testsuites/libtests/tar02/Makefile.am b/testsuites/libtests/tar02/Makefile.am index d04089b1b4..e9c138f1d3 100644 --- a/testsuites/libtests/tar02/Makefile.am +++ b/testsuites/libtests/tar02/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + if TARTESTS rtems_tests_PROGRAMS = tar02 tar02_SOURCES = init.c ../../psxtests/psxfile01/test_cat.c \ diff --git a/testsuites/libtests/tar03/Makefile.am b/testsuites/libtests/tar03/Makefile.am index 965cfbb986..b91d94280a 100644 --- a/testsuites/libtests/tar03/Makefile.am +++ b/testsuites/libtests/tar03/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = tar03 tar03_SOURCES = init.c diff --git a/testsuites/libtests/termios/Makefile.am b/testsuites/libtests/termios/Makefile.am index 9b303910bd..0b8dc7d602 100644 --- a/testsuites/libtests/termios/Makefile.am +++ b/testsuites/libtests/termios/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios termios_SOURCES = init.c diff --git a/testsuites/libtests/termios01/Makefile.am b/testsuites/libtests/termios01/Makefile.am index e16b8ab293..2746d42c5a 100644 --- a/testsuites/libtests/termios01/Makefile.am +++ b/testsuites/libtests/termios01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios01 termios01_SOURCES = init.c termios_testdriver.c termios01_SOURCES += termios_testdriver.h diff --git a/testsuites/libtests/termios02/Makefile.am b/testsuites/libtests/termios02/Makefile.am index bc4625228d..1689bfbe04 100644 --- a/testsuites/libtests/termios02/Makefile.am +++ b/testsuites/libtests/termios02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios02 termios02_SOURCES = init.c diff --git a/testsuites/libtests/termios03/Makefile.am b/testsuites/libtests/termios03/Makefile.am index c6f88cea22..ee9be71a30 100644 --- a/testsuites/libtests/termios03/Makefile.am +++ b/testsuites/libtests/termios03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios03 termios03_SOURCES = init.c termios_testdriver_polled.c termios03_SOURCES += termios_testdriver_polled.h diff --git a/testsuites/libtests/termios04/Makefile.am b/testsuites/libtests/termios04/Makefile.am index 81a8021e5c..2e7265f958 100644 --- a/testsuites/libtests/termios04/Makefile.am +++ b/testsuites/libtests/termios04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios04 termios04_SOURCES = init.c termios_testdriver_intr.c termios04_SOURCES += termios_testdriver_intr.h diff --git a/testsuites/libtests/termios05/Makefile.am b/testsuites/libtests/termios05/Makefile.am index ef59e24cfd..e58192ef4c 100644 --- a/testsuites/libtests/termios05/Makefile.am +++ b/testsuites/libtests/termios05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios05 termios05_SOURCES = init.c ../termios04/termios_testdriver_intr.c diff --git a/testsuites/libtests/termios06/Makefile.am b/testsuites/libtests/termios06/Makefile.am index 9a58143f57..3508d8d8b4 100644 --- a/testsuites/libtests/termios06/Makefile.am +++ b/testsuites/libtests/termios06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios06 termios06_SOURCES = init.c ../termios03/termios_testdriver_polled.c test_pppd.c diff --git a/testsuites/libtests/termios07/Makefile.am b/testsuites/libtests/termios07/Makefile.am index e33b5f25f8..6989c1b0ab 100644 --- a/testsuites/libtests/termios07/Makefile.am +++ b/testsuites/libtests/termios07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios07 termios07_SOURCES = init.c ../termios04/termios_testdriver_intr.c diff --git a/testsuites/libtests/termios08/Makefile.am b/testsuites/libtests/termios08/Makefile.am index 6f9e251650..a546f7806e 100644 --- a/testsuites/libtests/termios08/Makefile.am +++ b/testsuites/libtests/termios08/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = termios08 termios08_SOURCES = init.c ../termios03/termios_testdriver_polled.c diff --git a/testsuites/libtests/tztest/Makefile.am b/testsuites/libtests/tztest/Makefile.am index 81e603eea8..cb1b9400ef 100644 --- a/testsuites/libtests/tztest/Makefile.am +++ b/testsuites/libtests/tztest/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tztest tztest_SOURCES = init.c diff --git a/testsuites/mptests/Makefile.am b/testsuites/mptests/Makefile.am index 012563124f..9afef151c7 100644 --- a/testsuites/mptests/Makefile.am +++ b/testsuites/mptests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \ diff --git a/testsuites/mptests/configure.ac b/testsuites/mptests/configure.ac index 536fc8b361..2ecc283d01 100644 --- a/testsuites/mptests/configure.ac +++ b/testsuites/mptests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-mptests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/mptests/mp01/Makefile.am b/testsuites/mptests/mp01/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp01/Makefile.am +++ b/testsuites/mptests/mp01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp01/node1/Makefile.am b/testsuites/mptests/mp01/node1/Makefile.am index 8df675eaee..e25a6a524a 100644 --- a/testsuites/mptests/mp01/node1/Makefile.am +++ b/testsuites/mptests/mp01/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp01-node1 mp01_node1_SOURCES = ../init.c ../task1.c ../system.h @@ -11,7 +15,7 @@ include $(top_srcdir)/../automake/leaf.am AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp01_node1_OBJECTS) LINK_LIBS = $(mp01_node1_LDLIBS) mp01-node1$(EXEEXT): $(mp01_node1_OBJECTS) $(mp01_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp01/node2/Makefile.am b/testsuites/mptests/mp01/node2/Makefile.am index d03cf72f77..88689cd51b 100644 --- a/testsuites/mptests/mp01/node2/Makefile.am +++ b/testsuites/mptests/mp01/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp01-node2 mp01_node2_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp01_node2_OBJECTS) LINK_LIBS = $(mp01_node2_LDLIBS) mp01-node2$(EXEEXT): $(mp01_node2_OBJECTS) $(mp01_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp02/Makefile.am b/testsuites/mptests/mp02/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp02/Makefile.am +++ b/testsuites/mptests/mp02/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp02/node1/Makefile.am b/testsuites/mptests/mp02/node1/Makefile.am index 5c703e1e6b..4589e6a7e9 100644 --- a/testsuites/mptests/mp02/node1/Makefile.am +++ b/testsuites/mptests/mp02/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp02-node1 mp02_node1_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp02_node1_OBJECTS) LINK_LIBS = $(mp02_node1_LDLIBS) mp02-node1$(EXEEXT): $(mp02_node1_OBJECTS) $(mp02_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp02/node2/Makefile.am b/testsuites/mptests/mp02/node2/Makefile.am index 09b119875f..d9f471e122 100644 --- a/testsuites/mptests/mp02/node2/Makefile.am +++ b/testsuites/mptests/mp02/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp02-node2 mp02_node2_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp02_node2_OBJECTS) LINK_LIBS = $(mp02_node2_LDLIBS) mp02-node2$(EXEEXT): $(mp02_node2_OBJECTS) $(mp02_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp03/Makefile.am b/testsuites/mptests/mp03/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp03/Makefile.am +++ b/testsuites/mptests/mp03/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp03/node1/Makefile.am b/testsuites/mptests/mp03/node1/Makefile.am index 4ba48049ff..4f1bb19d53 100644 --- a/testsuites/mptests/mp03/node1/Makefile.am +++ b/testsuites/mptests/mp03/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp03-node1 mp03_node1_SOURCES = ../init.c ../task1.c ../delay.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp03_node1_OBJECTS) LINK_LIBS = $(mp03_node1_LDLIBS) mp03-node1$(EXEEXT): $(mp03_node1_OBJECTS) $(mp03_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp03/node2/Makefile.am b/testsuites/mptests/mp03/node2/Makefile.am index c5f3bfb11a..05107c0e94 100644 --- a/testsuites/mptests/mp03/node2/Makefile.am +++ b/testsuites/mptests/mp03/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp03-node2 mp03_node2_SOURCES = ../init.c ../delay.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp03_node2_OBJECTS) LINK_LIBS = $(mp03_node2_LDLIBS) mp03-node2$(EXEEXT): $(mp03_node2_OBJECTS) $(mp03_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp04/Makefile.am b/testsuites/mptests/mp04/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp04/Makefile.am +++ b/testsuites/mptests/mp04/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp04/node1/Makefile.am b/testsuites/mptests/mp04/node1/Makefile.am index 39f8960993..44c791a234 100644 --- a/testsuites/mptests/mp04/node1/Makefile.am +++ b/testsuites/mptests/mp04/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp04-node1 mp04_node1_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp04_node1_OBJECTS) LINK_LIBS = $(mp04_node1_LDLIBS) mp04-node1$(EXEEXT): $(mp04_node1_OBJECTS) $(mp04_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp04/node2/Makefile.am b/testsuites/mptests/mp04/node2/Makefile.am index 7bd696ff9b..78de2401cc 100644 --- a/testsuites/mptests/mp04/node2/Makefile.am +++ b/testsuites/mptests/mp04/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp04-node2 mp04_node2_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp04_node2_OBJECTS) LINK_LIBS = $(mp04_node2_LDLIBS) mp04-node2$(EXEEXT): $(mp04_node2_OBJECTS) $(mp04_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp05/Makefile.am b/testsuites/mptests/mp05/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp05/Makefile.am +++ b/testsuites/mptests/mp05/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp05/node1/Makefile.am b/testsuites/mptests/mp05/node1/Makefile.am index 5611b332d3..36bbc526fb 100644 --- a/testsuites/mptests/mp05/node1/Makefile.am +++ b/testsuites/mptests/mp05/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp05-node1 mp05_node1_SOURCES = ../init.c ../asr.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp05_node1_OBJECTS) LINK_LIBS = $(mp05_node1_LDLIBS) mp05-node1$(EXEEXT): $(mp05_node1_OBJECTS) $(mp05_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp05/node2/Makefile.am b/testsuites/mptests/mp05/node2/Makefile.am index eaade8b91d..d8de8d8df7 100644 --- a/testsuites/mptests/mp05/node2/Makefile.am +++ b/testsuites/mptests/mp05/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp05-node2 mp05_node2_SOURCES = ../init.c ../asr.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp05_node2_OBJECTS) LINK_LIBS = $(mp05_node2_LDLIBS) mp05-node2$(EXEEXT): $(mp05_node2_OBJECTS) $(mp05_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp06/Makefile.am b/testsuites/mptests/mp06/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp06/Makefile.am +++ b/testsuites/mptests/mp06/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp06/node1/Makefile.am b/testsuites/mptests/mp06/node1/Makefile.am index d0c6a0361f..e23de3d43f 100644 --- a/testsuites/mptests/mp06/node1/Makefile.am +++ b/testsuites/mptests/mp06/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp06-node1 mp06_node1_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp06_node1_OBJECTS) LINK_LIBS = $(mp06_node1_LDLIBS) mp06-node1$(EXEEXT): $(mp06_node1_OBJECTS) $(mp06_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp06/node2/Makefile.am b/testsuites/mptests/mp06/node2/Makefile.am index e337354d36..fd0e0e487c 100644 --- a/testsuites/mptests/mp06/node2/Makefile.am +++ b/testsuites/mptests/mp06/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp06-node2 mp06_node2_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp06_node2_OBJECTS) LINK_LIBS = $(mp06_node2_LDLIBS) mp06-node2$(EXEEXT): $(mp06_node2_OBJECTS) $(mp06_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp07/Makefile.am b/testsuites/mptests/mp07/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp07/Makefile.am +++ b/testsuites/mptests/mp07/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp07/node1/Makefile.am b/testsuites/mptests/mp07/node1/Makefile.am index 07c914cf9d..35f2093c2a 100644 --- a/testsuites/mptests/mp07/node1/Makefile.am +++ b/testsuites/mptests/mp07/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp07-node1 mp07_node1_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp07_node1_OBJECTS) LINK_LIBS = $(mp07_node1_LDLIBS) mp07-node1$(EXEEXT): $(mp07_node1_OBJECTS) $(mp07_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp07/node2/Makefile.am b/testsuites/mptests/mp07/node2/Makefile.am index 6117955599..bf4224c0c8 100644 --- a/testsuites/mptests/mp07/node2/Makefile.am +++ b/testsuites/mptests/mp07/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp07-node2 mp07_node2_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp07_node2_OBJECTS) LINK_LIBS = $(mp07_node2_LDLIBS) mp07-node2$(EXEEXT): $(mp07_node2_OBJECTS) $(mp07_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp08/Makefile.am b/testsuites/mptests/mp08/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp08/Makefile.am +++ b/testsuites/mptests/mp08/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp08/node1/Makefile.am b/testsuites/mptests/mp08/node1/Makefile.am index c21525d73c..f94b99e7f6 100644 --- a/testsuites/mptests/mp08/node1/Makefile.am +++ b/testsuites/mptests/mp08/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp08-node1 mp08_node1_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp08_node1_OBJECTS) LINK_LIBS = $(mp08_node1_LDLIBS) mp08-node1$(EXEEXT): $(mp08_node1_OBJECTS) $(mp08_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp08/node2/Makefile.am b/testsuites/mptests/mp08/node2/Makefile.am index 836a143aff..ab1a2a3214 100644 --- a/testsuites/mptests/mp08/node2/Makefile.am +++ b/testsuites/mptests/mp08/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp08-node2 mp08_node2_SOURCES = ../init.c ../task1.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp08_node2_OBJECTS) LINK_LIBS = $(mp08_node2_LDLIBS) mp08-node2$(EXEEXT): $(mp08_node2_OBJECTS) $(mp08_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp09/Makefile.am b/testsuites/mptests/mp09/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp09/Makefile.am +++ b/testsuites/mptests/mp09/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp09/node1/Makefile.am b/testsuites/mptests/mp09/node1/Makefile.am index a85294e661..3485f14137 100644 --- a/testsuites/mptests/mp09/node1/Makefile.am +++ b/testsuites/mptests/mp09/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp09-node1 mp09_node1_SOURCES = ../init.c ../task1.c ../recvmsg.c ../sendmsg.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp09_node1_OBJECTS) LINK_LIBS = $(mp09_node1_LDLIBS) mp09-node1$(EXEEXT): $(mp09_node1_OBJECTS) $(mp09_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp09/node2/Makefile.am b/testsuites/mptests/mp09/node2/Makefile.am index 543f3e7bc9..e057b612e2 100644 --- a/testsuites/mptests/mp09/node2/Makefile.am +++ b/testsuites/mptests/mp09/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp09-node2 mp09_node2_SOURCES = ../init.c ../task1.c ../recvmsg.c ../sendmsg.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp09_node2_OBJECTS) LINK_LIBS = $(mp09_node2_LDLIBS) mp09-node2$(EXEEXT): $(mp09_node2_OBJECTS) $(mp09_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp10/Makefile.am b/testsuites/mptests/mp10/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp10/Makefile.am +++ b/testsuites/mptests/mp10/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp10/node1/Makefile.am b/testsuites/mptests/mp10/node1/Makefile.am index 811308ce62..77cf006458 100644 --- a/testsuites/mptests/mp10/node1/Makefile.am +++ b/testsuites/mptests/mp10/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp10-node1 mp10_node1_SOURCES = ../init.c ../task1.c ../task2.c ../task3.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp10_node1_OBJECTS) LINK_LIBS = $(mp10_node1_LDLIBS) mp10-node1$(EXEEXT): $(mp10_node1_OBJECTS) $(mp10_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp10/node2/Makefile.am b/testsuites/mptests/mp10/node2/Makefile.am index 419090b29f..4d936598d1 100644 --- a/testsuites/mptests/mp10/node2/Makefile.am +++ b/testsuites/mptests/mp10/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp10-node2 mp10_node2_SOURCES = ../init.c ../task1.c ../task2.c ../task3.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp10_node2_OBJECTS) LINK_LIBS = $(mp10_node2_LDLIBS) mp10-node2$(EXEEXT): $(mp10_node2_OBJECTS) $(mp10_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp11/Makefile.am b/testsuites/mptests/mp11/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp11/Makefile.am +++ b/testsuites/mptests/mp11/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp11/node1/Makefile.am b/testsuites/mptests/mp11/node1/Makefile.am index 045174d0dd..180cc988f5 100644 --- a/testsuites/mptests/mp11/node1/Makefile.am +++ b/testsuites/mptests/mp11/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp11-node1 mp11_node1_SOURCES = ../init.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp11_node1_OBJECTS) LINK_LIBS = $(mp11_node1_LDLIBS) mp11-node1$(EXEEXT): $(mp11_node1_OBJECTS) $(mp11_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp11/node2/Makefile.am b/testsuites/mptests/mp11/node2/Makefile.am index 5a6b9787e1..adfa2b81ca 100644 --- a/testsuites/mptests/mp11/node2/Makefile.am +++ b/testsuites/mptests/mp11/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp11-node2 mp11_node2_SOURCES = ../init.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp11_node2_OBJECTS) LINK_LIBS = $(mp11_node2_LDLIBS) mp11-node2$(EXEEXT): $(mp11_node2_OBJECTS) $(mp11_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp12/Makefile.am b/testsuites/mptests/mp12/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp12/Makefile.am +++ b/testsuites/mptests/mp12/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp12/node1/Makefile.am b/testsuites/mptests/mp12/node1/Makefile.am index 9a54638b32..3256de07d3 100644 --- a/testsuites/mptests/mp12/node1/Makefile.am +++ b/testsuites/mptests/mp12/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp12-node1 mp12_node1_SOURCES = ../init.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp12_node1_OBJECTS) LINK_LIBS = $(mp12_node1_LDLIBS) mp12-node1$(EXEEXT): $(mp12_node1_OBJECTS) $(mp12_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp12/node2/Makefile.am b/testsuites/mptests/mp12/node2/Makefile.am index 52d919e774..59357cbfd4 100644 --- a/testsuites/mptests/mp12/node2/Makefile.am +++ b/testsuites/mptests/mp12/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp12-node2 mp12_node2_SOURCES = ../init.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp12_node2_OBJECTS) LINK_LIBS = $(mp12_node2_LDLIBS) mp12-node2$(EXEEXT): $(mp12_node2_OBJECTS) $(mp12_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp13/Makefile.am b/testsuites/mptests/mp13/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp13/Makefile.am +++ b/testsuites/mptests/mp13/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp13/node1/Makefile.am b/testsuites/mptests/mp13/node1/Makefile.am index 4136ef2f93..e59c9611bd 100644 --- a/testsuites/mptests/mp13/node1/Makefile.am +++ b/testsuites/mptests/mp13/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp13-node1 mp13_node1_SOURCES = ../init.c ../task1.c ../task2.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp13_node1_OBJECTS) LINK_LIBS = $(mp13_node1_LDLIBS) mp13-node1$(EXEEXT): $(mp13_node1_OBJECTS) $(mp13_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp13/node2/Makefile.am b/testsuites/mptests/mp13/node2/Makefile.am index bd33c4054e..96c483ea63 100644 --- a/testsuites/mptests/mp13/node2/Makefile.am +++ b/testsuites/mptests/mp13/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp13-node2 mp13_node2_SOURCES = ../init.c ../task1.c ../task2.c ../system.h @@ -12,7 +16,7 @@ AM_CPPFLAGS += -DNODE_NUMBER=2 -I$(srcdir)/.. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp13_node2_OBJECTS) LINK_LIBS = $(mp13_node2_LDLIBS) mp13-node2$(EXEEXT): $(mp13_node2_OBJECTS) $(mp13_node2_DEPENDENCIES) diff --git a/testsuites/mptests/mp14/Makefile.am b/testsuites/mptests/mp14/Makefile.am index 08a90da412..4665714c9e 100644 --- a/testsuites/mptests/mp14/Makefile.am +++ b/testsuites/mptests/mp14/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/mptests/mp14/node1/Makefile.am b/testsuites/mptests/mp14/node1/Makefile.am index 00fad63f6f..cab4aebaf7 100644 --- a/testsuites/mptests/mp14/node1/Makefile.am +++ b/testsuites/mptests/mp14/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp14-node1 mp14_node1_SOURCES = ../exit.c ../init.c ../delay.c ../evtask1.c ../evtmtask.c \ ../pttask1.c ../smtask1.c ../msgtask1.c ../system.h @@ -14,7 +18,7 @@ AM_CPPFLAGS += -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION) AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp14_node1_OBJECTS) LINK_LIBS = $(mp14_node1_LDLIBS) mp14-node1$(EXEEXT): $(mp14_node1_OBJECTS) $(mp14_node1_DEPENDENCIES) diff --git a/testsuites/mptests/mp14/node2/Makefile.am b/testsuites/mptests/mp14/node2/Makefile.am index 20c9a13a2f..d776031a80 100644 --- a/testsuites/mptests/mp14/node2/Makefile.am +++ b/testsuites/mptests/mp14/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = mp14-node2 mp14_node2_SOURCES = ../exit.c ../init.c ../delay.c ../evtask1.c ../evtmtask.c \ ../pttask1.c ../smtask1.c ../msgtask1.c ../system.h @@ -14,7 +18,7 @@ AM_CPPFLAGS += -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION) AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(mp14_node2_OBJECTS) LINK_LIBS = $(mp14_node2_LDLIBS) mp14-node2$(EXEEXT): $(mp14_node2_OBJECTS) $(mp14_node2_DEPENDENCIES) diff --git a/testsuites/psxtests/Makefile.am b/testsuites/psxtests/Makefile.am index 0e8a3e805b..2f37b06762 100644 --- a/testsuites/psxtests/Makefile.am +++ b/testsuites/psxtests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = psxclock diff --git a/testsuites/psxtests/configure.ac b/testsuites/psxtests/configure.ac index 5ef06d5290..858867d9a3 100644 --- a/testsuites/psxtests/configure.ac +++ b/testsuites/psxtests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-psxtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/psxtests/psx01/Makefile.am b/testsuites/psxtests/psx01/Makefile.am index 0c73482bf9..1594eea521 100644 --- a/testsuites/psxtests/psx01/Makefile.am +++ b/testsuites/psxtests/psx01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx01 psx01_SOURCES = init.c task.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx02/Makefile.am b/testsuites/psxtests/psx02/Makefile.am index f785c5a471..ad77afd907 100644 --- a/testsuites/psxtests/psx02/Makefile.am +++ b/testsuites/psxtests/psx02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx02 psx02_SOURCES = init.c task.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx03/Makefile.am b/testsuites/psxtests/psx03/Makefile.am index 5a1bde43f4..a132d0b362 100644 --- a/testsuites/psxtests/psx03/Makefile.am +++ b/testsuites/psxtests/psx03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx03 psx03_SOURCES = init.c task.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx04/Makefile.am b/testsuites/psxtests/psx04/Makefile.am index 5a5e68d083..793b6fb090 100644 --- a/testsuites/psxtests/psx04/Makefile.am +++ b/testsuites/psxtests/psx04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx04 psx04_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx05/Makefile.am b/testsuites/psxtests/psx05/Makefile.am index 68180e028d..422d3f1d02 100644 --- a/testsuites/psxtests/psx05/Makefile.am +++ b/testsuites/psxtests/psx05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx05 psx05_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx06/Makefile.am b/testsuites/psxtests/psx06/Makefile.am index ac70dc6a01..4da6a72d60 100644 --- a/testsuites/psxtests/psx06/Makefile.am +++ b/testsuites/psxtests/psx06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx06 psx06_SOURCES = init.c task.c task2.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx07/Makefile.am b/testsuites/psxtests/psx07/Makefile.am index f3d8546a9d..95e0ef62b6 100644 --- a/testsuites/psxtests/psx07/Makefile.am +++ b/testsuites/psxtests/psx07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx07 psx07_SOURCES = init.c task.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx08/Makefile.am b/testsuites/psxtests/psx08/Makefile.am index 6024400176..014d51678e 100644 --- a/testsuites/psxtests/psx08/Makefile.am +++ b/testsuites/psxtests/psx08/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx08 psx08_SOURCES = init.c task1.c task2.c task3.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx09/Makefile.am b/testsuites/psxtests/psx09/Makefile.am index e5f6aef5be..60ce5e5e25 100644 --- a/testsuites/psxtests/psx09/Makefile.am +++ b/testsuites/psxtests/psx09/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx09 psx09_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx10/Makefile.am b/testsuites/psxtests/psx10/Makefile.am index b3d91a0116..6150790c4c 100644 --- a/testsuites/psxtests/psx10/Makefile.am +++ b/testsuites/psxtests/psx10/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx10 psx10_SOURCES = init.c task.c task2.c task3.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx11/Makefile.am b/testsuites/psxtests/psx11/Makefile.am index 16dfaa133b..f2d2f8655f 100644 --- a/testsuites/psxtests/psx11/Makefile.am +++ b/testsuites/psxtests/psx11/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx11 psx11_SOURCES = init.c task.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx12/Makefile.am b/testsuites/psxtests/psx12/Makefile.am index 70e5a438ab..2ec3391b77 100644 --- a/testsuites/psxtests/psx12/Makefile.am +++ b/testsuites/psxtests/psx12/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx12 psx12_SOURCES = init.c task.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx13/Makefile.am b/testsuites/psxtests/psx13/Makefile.am index b261e88de9..fa49c2a424 100644 --- a/testsuites/psxtests/psx13/Makefile.am +++ b/testsuites/psxtests/psx13/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx13 psx13_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psx14/Makefile.am b/testsuites/psxtests/psx14/Makefile.am index 855aa2a028..5e94ddd1ea 100644 --- a/testsuites/psxtests/psx14/Makefile.am +++ b/testsuites/psxtests/psx14/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx14 psx14_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psx15/Makefile.am b/testsuites/psxtests/psx15/Makefile.am index fdcb8cd3dc..fd50971462 100644 --- a/testsuites/psxtests/psx15/Makefile.am +++ b/testsuites/psxtests/psx15/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx15 psx15_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psx16/Makefile.am b/testsuites/psxtests/psx16/Makefile.am index 08fca28344..cfc8ba9248 100644 --- a/testsuites/psxtests/psx16/Makefile.am +++ b/testsuites/psxtests/psx16/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psx16 psx16_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxaio01/Makefile.am b/testsuites/psxtests/psxaio01/Makefile.am index 38a762be9e..4fcd8e2fe3 100644 --- a/testsuites/psxtests/psxaio01/Makefile.am +++ b/testsuites/psxtests/psxaio01/Makefile.am @@ -1,3 +1,5 @@ + + rtems_tests_PROGRAMS = psxaio01 psxaio01_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxaio02/Makefile.am b/testsuites/psxtests/psxaio02/Makefile.am index 52f6b4edf9..540458fca4 100644 --- a/testsuites/psxtests/psxaio02/Makefile.am +++ b/testsuites/psxtests/psxaio02/Makefile.am @@ -1,3 +1,5 @@ + + rtems_tests_PROGRAMS = psxaio02 psxaio02_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxaio03/Makefile.am b/testsuites/psxtests/psxaio03/Makefile.am index 5c428a6330..ad623633e7 100644 --- a/testsuites/psxtests/psxaio03/Makefile.am +++ b/testsuites/psxtests/psxaio03/Makefile.am @@ -1,3 +1,5 @@ + + rtems_tests_PROGRAMS = psxaio03 psxaio03_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxalarm01/Makefile.am b/testsuites/psxtests/psxalarm01/Makefile.am index 25448cf463..5628b0bc63 100644 --- a/testsuites/psxtests/psxalarm01/Makefile.am +++ b/testsuites/psxtests/psxalarm01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxalarm01 psxalarm01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxautoinit01/Makefile.am b/testsuites/psxtests/psxautoinit01/Makefile.am index 3fb231e443..b79eeb6441 100644 --- a/testsuites/psxtests/psxautoinit01/Makefile.am +++ b/testsuites/psxtests/psxautoinit01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxautoinit01 psxautoinit01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxautoinit02/Makefile.am b/testsuites/psxtests/psxautoinit02/Makefile.am index 54774aeb11..e3f21be7e9 100644 --- a/testsuites/psxtests/psxautoinit02/Makefile.am +++ b/testsuites/psxtests/psxautoinit02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxautoinit02 psxautoinit02_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxbarrier01/Makefile.am b/testsuites/psxtests/psxbarrier01/Makefile.am index 90aa6c4b09..711d58da81 100644 --- a/testsuites/psxtests/psxbarrier01/Makefile.am +++ b/testsuites/psxtests/psxbarrier01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxbarrier01 psxbarrier01_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxcancel/Makefile.am b/testsuites/psxtests/psxcancel/Makefile.am index 74448a6a29..9a6c8716fb 100644 --- a/testsuites/psxtests/psxcancel/Makefile.am +++ b/testsuites/psxtests/psxcancel/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxcancel psxcancel_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxcancel01/Makefile.am b/testsuites/psxtests/psxcancel01/Makefile.am index 816e985abe..1f6842390f 100644 --- a/testsuites/psxtests/psxcancel01/Makefile.am +++ b/testsuites/psxtests/psxcancel01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxcancel01 psxcancel01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxchroot01/Makefile.am b/testsuites/psxtests/psxchroot01/Makefile.am index 0721b318f3..a9bafd3e25 100644 --- a/testsuites/psxtests/psxchroot01/Makefile.am +++ b/testsuites/psxtests/psxchroot01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxchroot01 psxchroot01_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxclassic01/Makefile.am b/testsuites/psxtests/psxclassic01/Makefile.am index bccf1b3a2d..d02cd19dca 100644 --- a/testsuites/psxtests/psxclassic01/Makefile.am +++ b/testsuites/psxtests/psxclassic01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxclassic01 psxclassic01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxcleanup/Makefile.am b/testsuites/psxtests/psxcleanup/Makefile.am index 828a96ee00..a826a8e102 100644 --- a/testsuites/psxtests/psxcleanup/Makefile.am +++ b/testsuites/psxtests/psxcleanup/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxcleanup psxcleanup_SOURCES = psxcleanup.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxcleanup01/Makefile.am b/testsuites/psxtests/psxcleanup01/Makefile.am index d65bf5bade..3ba911a7cb 100644 --- a/testsuites/psxtests/psxcleanup01/Makefile.am +++ b/testsuites/psxtests/psxcleanup01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxcleanup01 psxcleanup01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxclock/Makefile.am b/testsuites/psxtests/psxclock/Makefile.am index c9201a192b..93f180f700 100644 --- a/testsuites/psxtests/psxclock/Makefile.am +++ b/testsuites/psxtests/psxclock/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxclock psxclock_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxcond01/Makefile.am b/testsuites/psxtests/psxcond01/Makefile.am index 13f4ef3727..56032a4d86 100644 --- a/testsuites/psxtests/psxcond01/Makefile.am +++ b/testsuites/psxtests/psxcond01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxcond01 psxcond01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxconfig01/Makefile.am b/testsuites/psxtests/psxconfig01/Makefile.am index 0e555a4ae7..d931a71358 100644 --- a/testsuites/psxtests/psxconfig01/Makefile.am +++ b/testsuites/psxtests/psxconfig01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxconfig01 psxconfig01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxeintr_join/Makefile.am b/testsuites/psxtests/psxeintr_join/Makefile.am index 4d824d324a..f8b9f5986a 100644 --- a/testsuites/psxtests/psxeintr_join/Makefile.am +++ b/testsuites/psxtests/psxeintr_join/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = psxeintr_join psxeintr_join_SOURCES = init.c diff --git a/testsuites/psxtests/psxenosys/Makefile.am b/testsuites/psxtests/psxenosys/Makefile.am index 0d04f071bb..d999677a3c 100644 --- a/testsuites/psxtests/psxenosys/Makefile.am +++ b/testsuites/psxtests/psxenosys/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxenosys psxenosys_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxfatal01/Makefile.am b/testsuites/psxtests/psxfatal01/Makefile.am index 86042a9dc6..dabe15b4b5 100644 --- a/testsuites/psxtests/psxfatal01/Makefile.am +++ b/testsuites/psxtests/psxfatal01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxfatal01 psxfatal01_SOURCES = ../psxfatal_support/init.c ../psxfatal_support/system.h testcase.h diff --git a/testsuites/psxtests/psxfatal02/Makefile.am b/testsuites/psxtests/psxfatal02/Makefile.am index 855c0d566a..e6e587822f 100644 --- a/testsuites/psxtests/psxfatal02/Makefile.am +++ b/testsuites/psxtests/psxfatal02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxfatal02 psxfatal02_SOURCES = ../psxfatal_support/init.c ../psxfatal_support/system.h testcase.h diff --git a/testsuites/psxtests/psxfchx01/Makefile.am b/testsuites/psxtests/psxfchx01/Makefile.am index 39b0311b93..183cbba602 100644 --- a/testsuites/psxtests/psxfchx01/Makefile.am +++ b/testsuites/psxtests/psxfchx01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxfchx01 psxfchx01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxfile01/Makefile.am b/testsuites/psxtests/psxfile01/Makefile.am index a434b1c7e7..97943aabbb 100644 --- a/testsuites/psxtests/psxfile01/Makefile.am +++ b/testsuites/psxtests/psxfile01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = psxfile01 psxfile01_SOURCES = main.c test.c test_cat.c test_extend.c test_write.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxfile02/Makefile.am b/testsuites/psxtests/psxfile02/Makefile.am index b4160ddef6..e0c397dcf1 100644 --- a/testsuites/psxtests/psxfile02/Makefile.am +++ b/testsuites/psxtests/psxfile02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxfile02 psxfile02_SOURCES = init.c ../../support/src/spin.c diff --git a/testsuites/psxtests/psxfilelock01/Makefile.am b/testsuites/psxtests/psxfilelock01/Makefile.am index d22a8de533..69e7efd97c 100644 --- a/testsuites/psxtests/psxfilelock01/Makefile.am +++ b/testsuites/psxtests/psxfilelock01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxfilelock01 psxfilelock01_SOURCES = init.c diff --git a/testsuites/psxtests/psxgetrusage01/Makefile.am b/testsuites/psxtests/psxgetrusage01/Makefile.am index 85d64ef79b..b7109b84f2 100644 --- a/testsuites/psxtests/psxgetrusage01/Makefile.am +++ b/testsuites/psxtests/psxgetrusage01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxgetrusage01 psxgetrusage01_SOURCES = init.c ../../support/src/spin.c diff --git a/testsuites/psxtests/psxhdrs/Makefile.am b/testsuites/psxtests/psxhdrs/Makefile.am index 7b216cb526..b385a0958d 100644 --- a/testsuites/psxtests/psxhdrs/Makefile.am +++ b/testsuites/psxtests/psxhdrs/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + noinst_LIBRARIES = lib.a lib_a_SOURCES = clock01.c clock02.c clock03.c clock04.c clock05.c clock06.c \ cond01.c cond02.c cond03.c cond04.c cond05.c cond06.c cond07.c cond08.c \ diff --git a/testsuites/psxtests/psxid01/Makefile.am b/testsuites/psxtests/psxid01/Makefile.am index ddf9c67d12..1b705332c1 100644 --- a/testsuites/psxtests/psxid01/Makefile.am +++ b/testsuites/psxtests/psxid01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxid01 psxid01_SOURCES = init.c diff --git a/testsuites/psxtests/psximfs01/Makefile.am b/testsuites/psxtests/psximfs01/Makefile.am index 729049bebd..f09ee81a06 100644 --- a/testsuites/psxtests/psximfs01/Makefile.am +++ b/testsuites/psxtests/psximfs01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psximfs01 psximfs01_SOURCES = init.c diff --git a/testsuites/psxtests/psximfs01/init.c b/testsuites/psxtests/psximfs01/init.c index c567eee10f..88796bac29 100644 --- a/testsuites/psxtests/psximfs01/init.c +++ b/testsuites/psxtests/psximfs01/init.c @@ -56,7 +56,7 @@ void write_helper(void) do { written = write( TestFd, Buffer, sizeof(Buffer) ); if ( written == -1 ) { - if ( errno == ENOSPC ) { + if ( errno == EFBIG ) { printf( "Total written = %zd\n", TotalWritten ); return; } @@ -93,22 +93,21 @@ void read_helper(void) rtems_test_exit(0); } i++; - continue; - } - /* Unsure if ENOSPC is the write error to be returned */ - if ( errno == ENOSPC && i == TotalWritten ) { - puts( "File correctly read until ENOSPC returned\n" ); - return; + } else if ( sc != 0 ) { + fprintf( + stderr, + "ERROR - at offset %d - returned %zd and error=%s\n", + i, + sc, + strerror( errno ) + ); + rtems_test_exit(0); } - fprintf( - stderr, - "ERROR - at offset %d - returned %zd and error=%s\n", - i, - sc, - strerror( errno ) - ); - rtems_test_exit(0); - } while (1); + } while ( sc > 0 ); + + if ( i == TotalWritten ) { + puts( "File correctly read until EOF returned\n" ); + } } void truncate_helper(void) @@ -143,7 +142,7 @@ void truncate_helper(void) } while (new > 0); } -void extend_helper(void) +void extend_helper(int eno) { off_t position; off_t new; @@ -164,18 +163,11 @@ void extend_helper(void) new = position; do { sc = lseek( TestFd, new, SEEK_SET ); - if( sc == -1 ) { - if( errno == ENOSPC ) { - break; - } - else { - rtems_test_assert( 0 ); - } - } + rtems_test_assert( sc == new ); rc = ftruncate( TestFd, new ); if ( rc != 0 ) { - if( errno != ENOSPC ) { + if( errno != eno ) { fprintf( stderr, "ERROR - at offset %d - returned %d and error=%s\n", @@ -218,8 +210,10 @@ rtems_task Init( { int i; void *alloc_ptr = (void *)0; - int position = 0; - int status = 0; + off_t position; + off_t new_position; + char buf [1]; + ssize_t n; puts( "\n\n*** TEST IMFS 01 ***" ); @@ -244,18 +238,21 @@ rtems_task Init( */ alloc_ptr = malloc( malloc_free_space() - 4 ); - extend_helper(); + extend_helper(ENOSPC); /* * free the allocated heap memory */ free(alloc_ptr); - extend_helper(); + extend_helper(EFBIG); position = lseek( TestFd , 0, SEEK_END ); - status = lseek( TestFd, position+2, SEEK_SET ); - rtems_test_assert( status == -1 ); - rtems_test_assert( errno == ENOSPC ); + new_position = lseek( TestFd, position + 2, SEEK_SET ); + rtems_test_assert( new_position == position + 2 ); + + n = write( TestFd, buf, sizeof(buf) ); + rtems_test_assert( n == -1 ); + rtems_test_assert( errno == EFBIG ); close_it(); unlink_it(); diff --git a/testsuites/psxtests/psximfs02/Makefile.am b/testsuites/psxtests/psximfs02/Makefile.am index a61784ea41..0b9206ea81 100644 --- a/testsuites/psxtests/psximfs02/Makefile.am +++ b/testsuites/psxtests/psximfs02/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = psximfs02 psximfs02_SOURCES = init.c diff --git a/testsuites/psxtests/psxintrcritical01/Makefile.am b/testsuites/psxtests/psxintrcritical01/Makefile.am index 185b8cb601..c3b1583f92 100644 --- a/testsuites/psxtests/psxintrcritical01/Makefile.am +++ b/testsuites/psxtests/psxintrcritical01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxintrcritical01 psxintrcritical01_SOURCES = init.c \ ../../sptests/spintrcritical_support/intrcritical.c diff --git a/testsuites/psxtests/psxitimer/Makefile.am b/testsuites/psxtests/psxitimer/Makefile.am index 16366c6d0c..24a2d63644 100644 --- a/testsuites/psxtests/psxitimer/Makefile.am +++ b/testsuites/psxtests/psxitimer/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxitimer psxitimer_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxkey01/Makefile.am b/testsuites/psxtests/psxkey01/Makefile.am index b926dffa91..57633be7dc 100644 --- a/testsuites/psxtests/psxkey01/Makefile.am +++ b/testsuites/psxtests/psxkey01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxkey01 psxkey01_SOURCES = init.c task.c system.h ../include/pmacros.h \ ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxkey02/Makefile.am b/testsuites/psxtests/psxkey02/Makefile.am index 7f9e93b05d..67d3ee2785 100644 --- a/testsuites/psxtests/psxkey02/Makefile.am +++ b/testsuites/psxtests/psxkey02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxkey02 psxkey02_SOURCES = init.c diff --git a/testsuites/psxtests/psxkey03/Makefile.am b/testsuites/psxtests/psxkey03/Makefile.am index cd0c5f03b6..e67557be7c 100644 --- a/testsuites/psxtests/psxkey03/Makefile.am +++ b/testsuites/psxtests/psxkey03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxkey03 psxkey03_SOURCES = init.c diff --git a/testsuites/psxtests/psxmount/Makefile.am b/testsuites/psxtests/psxmount/Makefile.am index 786dcc411e..be38d49932 100644 --- a/testsuites/psxtests/psxmount/Makefile.am +++ b/testsuites/psxtests/psxmount/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxmount psxmount_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxmsgq01/Makefile.am b/testsuites/psxtests/psxmsgq01/Makefile.am index 6e21a95d14..da27afeac9 100644 --- a/testsuites/psxtests/psxmsgq01/Makefile.am +++ b/testsuites/psxtests/psxmsgq01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxmsgq01 psxmsgq01_SOURCES = init.c system.h ../include/pmacros.h \ ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxmsgq02/Makefile.am b/testsuites/psxtests/psxmsgq02/Makefile.am index bb884313d2..a17aebb157 100644 --- a/testsuites/psxtests/psxmsgq02/Makefile.am +++ b/testsuites/psxtests/psxmsgq02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxmsgq02 psxmsgq02_SOURCES = init.c system.h ../include/pmacros.h \ ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxmsgq03/Makefile.am b/testsuites/psxtests/psxmsgq03/Makefile.am index d8a1346bce..1fb5ff7a5e 100644 --- a/testsuites/psxtests/psxmsgq03/Makefile.am +++ b/testsuites/psxtests/psxmsgq03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxmsgq03 psxmsgq03_SOURCES = init.c system.h ../include/pmacros.h \ ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxmsgq04/Makefile.am b/testsuites/psxtests/psxmsgq04/Makefile.am index aed57ac860..5301d92894 100644 --- a/testsuites/psxtests/psxmsgq04/Makefile.am +++ b/testsuites/psxtests/psxmsgq04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxmsgq04 psxmsgq04_SOURCES = init.c ../include/pmacros.h \ ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxmutexattr01/Makefile.am b/testsuites/psxtests/psxmutexattr01/Makefile.am index 85d641bea5..d1c22b1050 100644 --- a/testsuites/psxtests/psxmutexattr01/Makefile.am +++ b/testsuites/psxtests/psxmutexattr01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxmutexattr01 psxmutexattr01_SOURCES = init.c diff --git a/testsuites/psxtests/psxobj01/Makefile.am b/testsuites/psxtests/psxobj01/Makefile.am index 70f5b54754..086b3c8a42 100644 --- a/testsuites/psxtests/psxobj01/Makefile.am +++ b/testsuites/psxtests/psxobj01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxobj01 psxobj01_SOURCES = init.c ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxpasswd01/Makefile.am b/testsuites/psxtests/psxpasswd01/Makefile.am index 410b132df8..4eca584db1 100644 --- a/testsuites/psxtests/psxpasswd01/Makefile.am +++ b/testsuites/psxtests/psxpasswd01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxpasswd01 psxpasswd01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxpasswd02/Makefile.am b/testsuites/psxtests/psxpasswd02/Makefile.am index 4e0d13a0a2..84e1c069e4 100644 --- a/testsuites/psxtests/psxpasswd02/Makefile.am +++ b/testsuites/psxtests/psxpasswd02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxpasswd02 psxpasswd02_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxpipe01/Makefile.am b/testsuites/psxtests/psxpipe01/Makefile.am index ddddeb77f8..37d3d70572 100644 --- a/testsuites/psxtests/psxpipe01/Makefile.am +++ b/testsuites/psxtests/psxpipe01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxpipe01 psxpipe01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxrdwrv/Makefile.am b/testsuites/psxtests/psxrdwrv/Makefile.am index 775709afd5..b27ec71fb0 100644 --- a/testsuites/psxtests/psxrdwrv/Makefile.am +++ b/testsuites/psxtests/psxrdwrv/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxrdwrv psxrdwrv_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxreaddir/Makefile.am b/testsuites/psxtests/psxreaddir/Makefile.am index 9234034917..7d79c7f12b 100644 --- a/testsuites/psxtests/psxreaddir/Makefile.am +++ b/testsuites/psxtests/psxreaddir/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxreaddir psxreaddir_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxrwlock01/Makefile.am b/testsuites/psxtests/psxrwlock01/Makefile.am index 4ba3285eb8..baecc6e7f7 100644 --- a/testsuites/psxtests/psxrwlock01/Makefile.am +++ b/testsuites/psxtests/psxrwlock01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxrwlock01 psxrwlock01_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxsem01/Makefile.am b/testsuites/psxtests/psxsem01/Makefile.am index 5bb4decdc2..19f74bdb73 100644 --- a/testsuites/psxtests/psxsem01/Makefile.am +++ b/testsuites/psxtests/psxsem01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsem01 psxsem01_SOURCES = init.c ../include/pmacros.h \ ../../support/src/test_support.c diff --git a/testsuites/psxtests/psxsignal01/Makefile.am b/testsuites/psxtests/psxsignal01/Makefile.am index 939f937091..e802e3944a 100644 --- a/testsuites/psxtests/psxsignal01/Makefile.am +++ b/testsuites/psxtests/psxsignal01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsignal01 psxsignal01_SOURCES = init.c task1.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxsignal02/Makefile.am b/testsuites/psxtests/psxsignal02/Makefile.am index 606c7a8bd7..42781afe86 100644 --- a/testsuites/psxtests/psxsignal02/Makefile.am +++ b/testsuites/psxtests/psxsignal02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsignal02 psxsignal02_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxsignal03/Makefile.am b/testsuites/psxtests/psxsignal03/Makefile.am index c15b20c7cd..947bf1fe4f 100644 --- a/testsuites/psxtests/psxsignal03/Makefile.am +++ b/testsuites/psxtests/psxsignal03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsignal03 psxsignal03_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxsignal04/Makefile.am b/testsuites/psxtests/psxsignal04/Makefile.am index 840382542c..b0b91f3f2e 100644 --- a/testsuites/psxtests/psxsignal04/Makefile.am +++ b/testsuites/psxtests/psxsignal04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsignal04 psxsignal04_SOURCES = ../psxsignal03/init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxsignal05/Makefile.am b/testsuites/psxtests/psxsignal05/Makefile.am index 2e0cf4bd35..ef2a665f95 100644 --- a/testsuites/psxtests/psxsignal05/Makefile.am +++ b/testsuites/psxtests/psxsignal05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsignal05 psxsignal05_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxsignal06/Makefile.am b/testsuites/psxtests/psxsignal06/Makefile.am index d3e27873c1..f5a8d9c4df 100644 --- a/testsuites/psxtests/psxsignal06/Makefile.am +++ b/testsuites/psxtests/psxsignal06/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = psxsignal06 psxsignal06_SOURCES = init.c diff --git a/testsuites/psxtests/psxspin01/Makefile.am b/testsuites/psxtests/psxspin01/Makefile.am index f7c4df9baf..3bc7cd1c5c 100644 --- a/testsuites/psxtests/psxspin01/Makefile.am +++ b/testsuites/psxtests/psxspin01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxspin01 psxspin01_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxspin02/Makefile.am b/testsuites/psxtests/psxspin02/Makefile.am index e465565682..683c842d2e 100644 --- a/testsuites/psxtests/psxspin02/Makefile.am +++ b/testsuites/psxtests/psxspin02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxspin02 psxspin02_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxstack01/Makefile.am b/testsuites/psxtests/psxstack01/Makefile.am index c8b4be1539..6c2ee580ff 100644 --- a/testsuites/psxtests/psxstack01/Makefile.am +++ b/testsuites/psxtests/psxstack01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxstack01 psxstack01_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxstack02/Makefile.am b/testsuites/psxtests/psxstack02/Makefile.am index 05b4495b96..a5e32f581d 100644 --- a/testsuites/psxtests/psxstack02/Makefile.am +++ b/testsuites/psxtests/psxstack02/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = psxstack02 psxstack02_SOURCES = init.c diff --git a/testsuites/psxtests/psxstat/Makefile.am b/testsuites/psxtests/psxstat/Makefile.am index 797908f0ce..28b822026c 100644 --- a/testsuites/psxtests/psxstat/Makefile.am +++ b/testsuites/psxtests/psxstat/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxstat psxstat_SOURCES = main.c test.c ../include/pmacros.h diff --git a/testsuites/psxtests/psxsysconf/Makefile.am b/testsuites/psxtests/psxsysconf/Makefile.am index 53d68030b6..99954ec302 100644 --- a/testsuites/psxtests/psxsysconf/Makefile.am +++ b/testsuites/psxtests/psxsysconf/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxsysconf psxsysconf_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxtime/Makefile.am b/testsuites/psxtests/psxtime/Makefile.am index 1d50e41447..deb76f5281 100644 --- a/testsuites/psxtests/psxtime/Makefile.am +++ b/testsuites/psxtests/psxtime/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtime psxtime_SOURCES = main.c test.c diff --git a/testsuites/psxtests/psxtimer01/Makefile.am b/testsuites/psxtests/psxtimer01/Makefile.am index 8b0ee83deb..d90a10882d 100644 --- a/testsuites/psxtests/psxtimer01/Makefile.am +++ b/testsuites/psxtests/psxtimer01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtimer01 psxtimer01_SOURCES = psxtimer.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxtimer02/Makefile.am b/testsuites/psxtests/psxtimer02/Makefile.am index 9daf60aa11..44b3c29b97 100644 --- a/testsuites/psxtests/psxtimer02/Makefile.am +++ b/testsuites/psxtests/psxtimer02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtimer02 psxtimer02_SOURCES = psxtimer.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxtimes01/Makefile.am b/testsuites/psxtests/psxtimes01/Makefile.am index 3c2185e73d..fac94c79f7 100644 --- a/testsuites/psxtests/psxtimes01/Makefile.am +++ b/testsuites/psxtests/psxtimes01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = psxtimes01 psxtimes01_SOURCES = init.c ../../support/src/spin.c diff --git a/testsuites/psxtests/psxualarm/Makefile.am b/testsuites/psxtests/psxualarm/Makefile.am index d945415949..59e0dc6618 100644 --- a/testsuites/psxtests/psxualarm/Makefile.am +++ b/testsuites/psxtests/psxualarm/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxualarm psxualarm_SOURCES = init.c system.h ../include/pmacros.h diff --git a/testsuites/psxtests/psxusleep/Makefile.am b/testsuites/psxtests/psxusleep/Makefile.am index 5081d5e67e..1320dae482 100644 --- a/testsuites/psxtests/psxusleep/Makefile.am +++ b/testsuites/psxtests/psxusleep/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxusleep psxusleep_SOURCES = init.c ../include/pmacros.h diff --git a/testsuites/psxtmtests/Makefile.am b/testsuites/psxtmtests/Makefile.am index 72340ab0c7..b334af3046 100644 --- a/testsuites/psxtmtests/Makefile.am +++ b/testsuites/psxtmtests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = diff --git a/testsuites/psxtmtests/configure.ac b/testsuites/psxtmtests/configure.ac index 1bd34d8032..a92df19164 100644 --- a/testsuites/psxtmtests/configure.ac +++ b/testsuites/psxtmtests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-psxtmtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/psxtmtests/psxtmbarrier01/Makefile.am b/testsuites/psxtmtests/psxtmbarrier01/Makefile.am index 0c700968a0..b9b17a3b83 100644 --- a/testsuites/psxtmtests/psxtmbarrier01/Makefile.am +++ b/testsuites/psxtmtests/psxtmbarrier01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmbarrier01 psxtmbarrier01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmbarrier02/Makefile.am b/testsuites/psxtmtests/psxtmbarrier02/Makefile.am index 1b87c3e0ee..124f2aca4e 100644 --- a/testsuites/psxtmtests/psxtmbarrier02/Makefile.am +++ b/testsuites/psxtmtests/psxtmbarrier02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmbarrier02 psxtmbarrier02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmbarrier03/Makefile.am b/testsuites/psxtmtests/psxtmbarrier03/Makefile.am index 160930c6b4..eaec3427eb 100644 --- a/testsuites/psxtmtests/psxtmbarrier03/Makefile.am +++ b/testsuites/psxtmtests/psxtmbarrier03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmbarrier03 psxtmbarrier03_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmkey01/Makefile.am b/testsuites/psxtmtests/psxtmkey01/Makefile.am index 863344a256..dbe684de23 100644 --- a/testsuites/psxtmtests/psxtmkey01/Makefile.am +++ b/testsuites/psxtmtests/psxtmkey01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmkey01 psxtmkey01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmkey02/Makefile.am b/testsuites/psxtmtests/psxtmkey02/Makefile.am index 4968220726..80645c5e36 100644 --- a/testsuites/psxtmtests/psxtmkey02/Makefile.am +++ b/testsuites/psxtmtests/psxtmkey02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmkey02 psxtmkey02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmq01/Makefile.am b/testsuites/psxtmtests/psxtmmq01/Makefile.am index 52489e4270..703b568fe0 100644 --- a/testsuites/psxtmtests/psxtmmq01/Makefile.am +++ b/testsuites/psxtmtests/psxtmmq01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmq01 psxtmmq01_SOURCES = init.c psxtmmq01_SOURCES += ../../tmtests/include/timesys.h diff --git a/testsuites/psxtmtests/psxtmmutex01/Makefile.am b/testsuites/psxtmtests/psxtmmutex01/Makefile.am index 13ce07176d..31b53ea252 100644 --- a/testsuites/psxtmtests/psxtmmutex01/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex01 psxtmmutex01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmutex02/Makefile.am b/testsuites/psxtmtests/psxtmmutex02/Makefile.am index 309542267f..b0405cf751 100644 --- a/testsuites/psxtmtests/psxtmmutex02/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex02 psxtmmutex02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmutex03/Makefile.am b/testsuites/psxtmtests/psxtmmutex03/Makefile.am index 979256ca73..37a2857cb5 100644 --- a/testsuites/psxtmtests/psxtmmutex03/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex03 psxtmmutex03_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmutex04/Makefile.am b/testsuites/psxtmtests/psxtmmutex04/Makefile.am index cf258cd61c..d0a9c88205 100644 --- a/testsuites/psxtmtests/psxtmmutex04/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex04 psxtmmutex04_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmutex05/Makefile.am b/testsuites/psxtmtests/psxtmmutex05/Makefile.am index 3f5650a9f0..9afabe24cd 100644 --- a/testsuites/psxtmtests/psxtmmutex05/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex05 psxtmmutex05_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmutex06/Makefile.am b/testsuites/psxtmtests/psxtmmutex06/Makefile.am index c6b3a909cf..10e60e16c4 100644 --- a/testsuites/psxtmtests/psxtmmutex06/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex06 psxtmmutex06_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmmutex07/Makefile.am b/testsuites/psxtmtests/psxtmmutex07/Makefile.am index f844e70302..052a00a8f4 100644 --- a/testsuites/psxtmtests/psxtmmutex07/Makefile.am +++ b/testsuites/psxtmtests/psxtmmutex07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmmutex07 psxtmmutex07_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmnanosleep01/Makefile.am b/testsuites/psxtmtests/psxtmnanosleep01/Makefile.am index 645edd1f98..b69aa3d8a7 100644 --- a/testsuites/psxtmtests/psxtmnanosleep01/Makefile.am +++ b/testsuites/psxtmtests/psxtmnanosleep01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmnanosleep01 psxtmnanosleep01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmnanosleep02/Makefile.am b/testsuites/psxtmtests/psxtmnanosleep02/Makefile.am index cfcfb3cb3d..c44d76e4ab 100644 --- a/testsuites/psxtmtests/psxtmnanosleep02/Makefile.am +++ b/testsuites/psxtmtests/psxtmnanosleep02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmnanosleep02 psxtmnanosleep02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock01/Makefile.am b/testsuites/psxtmtests/psxtmrwlock01/Makefile.am index f20a13b2fa..53cfc98e9d 100644 --- a/testsuites/psxtmtests/psxtmrwlock01/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock01 psxtmrwlock01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock02/Makefile.am b/testsuites/psxtmtests/psxtmrwlock02/Makefile.am index c2e62d2a0b..60812de84d 100644 --- a/testsuites/psxtmtests/psxtmrwlock02/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock02 psxtmrwlock02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock03/Makefile.am b/testsuites/psxtmtests/psxtmrwlock03/Makefile.am index f07db729bc..5b6e84385b 100644 --- a/testsuites/psxtmtests/psxtmrwlock03/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock03 psxtmrwlock03_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock04/Makefile.am b/testsuites/psxtmtests/psxtmrwlock04/Makefile.am index 37e9b6f0f1..4e78c0bfe0 100644 --- a/testsuites/psxtmtests/psxtmrwlock04/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock04 psxtmrwlock04_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock05/Makefile.am b/testsuites/psxtmtests/psxtmrwlock05/Makefile.am index 188ac75f4f..77aaf7ce1f 100644 --- a/testsuites/psxtmtests/psxtmrwlock05/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock05 psxtmrwlock05_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock06/Makefile.am b/testsuites/psxtmtests/psxtmrwlock06/Makefile.am index 468ed2ec32..eb33adbb76 100644 --- a/testsuites/psxtmtests/psxtmrwlock06/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock06 psxtmrwlock06_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmrwlock07/Makefile.am b/testsuites/psxtmtests/psxtmrwlock07/Makefile.am index 05ee068ffb..67789eba59 100644 --- a/testsuites/psxtmtests/psxtmrwlock07/Makefile.am +++ b/testsuites/psxtmtests/psxtmrwlock07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmrwlock07 psxtmrwlock07_SOURCES = init.c psxtmrwlock07_SOURCES += ../../tmtests/include/timesys.h diff --git a/testsuites/psxtmtests/psxtmsem01/Makefile.am b/testsuites/psxtmtests/psxtmsem01/Makefile.am index 16eca6107f..6da44a7d8a 100644 --- a/testsuites/psxtmtests/psxtmsem01/Makefile.am +++ b/testsuites/psxtmtests/psxtmsem01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsem01 psxtmsem01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmsem02/Makefile.am b/testsuites/psxtmtests/psxtmsem02/Makefile.am index 782d9b1510..4d9f413eb6 100644 --- a/testsuites/psxtmtests/psxtmsem02/Makefile.am +++ b/testsuites/psxtmtests/psxtmsem02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsem02 psxtmsem02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmsem03/Makefile.am b/testsuites/psxtmtests/psxtmsem03/Makefile.am index 663f219d78..f217bebe14 100644 --- a/testsuites/psxtmtests/psxtmsem03/Makefile.am +++ b/testsuites/psxtmtests/psxtmsem03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsem03 psxtmsem03_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmsem04/Makefile.am b/testsuites/psxtmtests/psxtmsem04/Makefile.am index 28e440ff67..84d770ab07 100644 --- a/testsuites/psxtmtests/psxtmsem04/Makefile.am +++ b/testsuites/psxtmtests/psxtmsem04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsem04 psxtmsem04_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmsem05/Makefile.am b/testsuites/psxtmtests/psxtmsem05/Makefile.am index 18548c3e6f..68e915dc1b 100644 --- a/testsuites/psxtmtests/psxtmsem05/Makefile.am +++ b/testsuites/psxtmtests/psxtmsem05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsem05 psxtmsem05_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmsleep01/Makefile.am b/testsuites/psxtmtests/psxtmsleep01/Makefile.am index 8a55788c65..1d1ff44256 100644 --- a/testsuites/psxtmtests/psxtmsleep01/Makefile.am +++ b/testsuites/psxtmtests/psxtmsleep01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsleep01 psxtmsleep01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmsleep02/Makefile.am b/testsuites/psxtmtests/psxtmsleep02/Makefile.am index 5766ebd9a9..1dd6b97c81 100644 --- a/testsuites/psxtmtests/psxtmsleep02/Makefile.am +++ b/testsuites/psxtmtests/psxtmsleep02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmsleep02 psxtmsleep02_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmthread01/Makefile.am b/testsuites/psxtmtests/psxtmthread01/Makefile.am index 7cb5c5695b..eb3fc3dc55 100644 --- a/testsuites/psxtmtests/psxtmthread01/Makefile.am +++ b/testsuites/psxtmtests/psxtmthread01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmthread01 psxtmthread01_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/psxtmtests/psxtmthread03/Makefile.am b/testsuites/psxtmtests/psxtmthread03/Makefile.am index 9b77de2687..cd7680ff31 100644 --- a/testsuites/psxtmtests/psxtmthread03/Makefile.am +++ b/testsuites/psxtmtests/psxtmthread03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = psxtmthread03 psxtmthread03_SOURCES = init.c ../../tmtests/include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/samples/Makefile.am b/testsuites/samples/Makefile.am index d0826b89a1..82560d18ff 100644 --- a/testsuites/samples/Makefile.am +++ b/testsuites/samples/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = hello capture ticker base_sp unlimited minimum fileio diff --git a/testsuites/samples/base_mp/Makefile.am b/testsuites/samples/base_mp/Makefile.am index 1815b4179c..1e0a552dd4 100644 --- a/testsuites/samples/base_mp/Makefile.am +++ b/testsuites/samples/base_mp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = node1 node2 include $(top_srcdir)/../automake/subdirs.am diff --git a/testsuites/samples/base_mp/node1/Makefile.am b/testsuites/samples/base_mp/node1/Makefile.am index 9e0f52a4a1..97a606a598 100644 --- a/testsuites/samples/base_mp/node1/Makefile.am +++ b/testsuites/samples/base_mp/node1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = base_mp-node1 base_mp_node1_SOURCES = ../init.c ../apptask.c ../system.h @@ -11,7 +15,7 @@ include $(top_srcdir)/../automake/leaf.am AM_CPPFLAGS += -DNODE_NUMBER=1 -I. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(base_mp_node1_OBJECTS) LINK_LIBS = $(base_mp_node1_LDLIBS) base_mp-node1$(EXEEXT): $(base_mp_node1_OBJECTS) $(base_mp_node1_DEPENDENCIES) diff --git a/testsuites/samples/base_mp/node2/Makefile.am b/testsuites/samples/base_mp/node2/Makefile.am index af0550e0a6..d522814f19 100644 --- a/testsuites/samples/base_mp/node2/Makefile.am +++ b/testsuites/samples/base_mp/node2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = base_mp-node2 base_mp_node2_SOURCES = ../init.c ../apptask.c ../system.h @@ -11,7 +15,7 @@ include $(top_srcdir)/../automake/leaf.am AM_CPPFLAGS += -DNODE_NUMBER=2 -I. AM_CPPFLAGS += -I$(top_srcdir)/../support/include -LINK_OBJS = +LINK_OBJS = $(base_mp_node2_OBJECTS) LINK_LIBS = $(base_mp_node2_LDLIBS) base_mp-node2$(EXEEXT): $(base_mp_node2_OBJECTS) $(base_mp_node2_DEPENDENCIES) diff --git a/testsuites/samples/base_sp/Makefile.am b/testsuites/samples/base_sp/Makefile.am index 85fdb78d8f..917f9613d1 100644 --- a/testsuites/samples/base_sp/Makefile.am +++ b/testsuites/samples/base_sp/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = base_sp base_sp_SOURCES = init.c apptask.c system.h diff --git a/testsuites/samples/capture/Makefile.am b/testsuites/samples/capture/Makefile.am index d7f10206be..dfa1d59a9a 100644 --- a/testsuites/samples/capture/Makefile.am +++ b/testsuites/samples/capture/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = capture capture_SOURCES = init.c test1.c system.h diff --git a/testsuites/samples/cdtest/Makefile.am b/testsuites/samples/cdtest/Makefile.am index 6901fd2689..73763adcb0 100644 --- a/testsuites/samples/cdtest/Makefile.am +++ b/testsuites/samples/cdtest/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = cdtest cdtest_SOURCES = init.c main.cc system.h diff --git a/testsuites/samples/configure.ac b/testsuites/samples/configure.ac index 87eb2c1b93..97b3d9e143 100644 --- a/testsuites/samples/configure.ac +++ b/testsuites/samples/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-samples],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/samples/hello/Makefile.am b/testsuites/samples/hello/Makefile.am index 60222e95c6..94cf69f293 100644 --- a/testsuites/samples/hello/Makefile.am +++ b/testsuites/samples/hello/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = hello hello_SOURCES = init.c diff --git a/testsuites/samples/iostream/Makefile.am b/testsuites/samples/iostream/Makefile.am index 7c45c64194..3eb4e3c96e 100644 --- a/testsuites/samples/iostream/Makefile.am +++ b/testsuites/samples/iostream/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = cxx_iostream cxx_iostream_SOURCES = init.cc system.h diff --git a/testsuites/samples/loopback/Makefile.am b/testsuites/samples/loopback/Makefile.am index 1a833dc9af..4d65cbc03b 100644 --- a/testsuites/samples/loopback/Makefile.am +++ b/testsuites/samples/loopback/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = loopback loopback_SOURCES = init.c diff --git a/testsuites/samples/minimum/Makefile.am b/testsuites/samples/minimum/Makefile.am index df6efbdf6e..2d567e43b6 100644 --- a/testsuites/samples/minimum/Makefile.am +++ b/testsuites/samples/minimum/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = minimum minimum_SOURCES = init.c diff --git a/testsuites/samples/nsecs/Makefile.am b/testsuites/samples/nsecs/Makefile.am index 6526df1ae6..2c82f17ccd 100644 --- a/testsuites/samples/nsecs/Makefile.am +++ b/testsuites/samples/nsecs/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = nsecs nsecs_SOURCES = init.c empty.c diff --git a/testsuites/samples/paranoia/Makefile.am b/testsuites/samples/paranoia/Makefile.am index 82afecf480..ab9830e5a4 100644 --- a/testsuites/samples/paranoia/Makefile.am +++ b/testsuites/samples/paranoia/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = paranoia paranoia_SOURCES = init.c paranoia.c system.h diff --git a/testsuites/samples/pppd/Makefile.am b/testsuites/samples/pppd/Makefile.am index f893c159d2..94f4b6eab8 100644 --- a/testsuites/samples/pppd/Makefile.am +++ b/testsuites/samples/pppd/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = pppd pppd_SOURCES = init.c pppdapp.c netconfig.h system.h diff --git a/testsuites/samples/ticker/Makefile.am b/testsuites/samples/ticker/Makefile.am index a542193685..f099c8c6f9 100644 --- a/testsuites/samples/ticker/Makefile.am +++ b/testsuites/samples/ticker/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = ticker ticker_SOURCES = init.c tasks.c system.h diff --git a/testsuites/samples/unlimited/Makefile.am b/testsuites/samples/unlimited/Makefile.am index 92d7164dd7..d839f11269 100644 --- a/testsuites/samples/unlimited/Makefile.am +++ b/testsuites/samples/unlimited/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = unlimited unlimited_SOURCES = init.c test1.c test2.c test3.c system.h diff --git a/testsuites/smptests/Makefile.am b/testsuites/smptests/Makefile.am index 02975a45a5..175778dbac 100644 --- a/testsuites/smptests/Makefile.am +++ b/testsuites/smptests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = diff --git a/testsuites/smptests/configure.ac b/testsuites/smptests/configure.ac index aad32ee81d..a2801bc137 100644 --- a/testsuites/smptests/configure.ac +++ b/testsuites/smptests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-smptests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/smptests/smp01/Makefile.am b/testsuites/smptests/smp01/Makefile.am index db648f7ee4..3fd2183744 100644 --- a/testsuites/smptests/smp01/Makefile.am +++ b/testsuites/smptests/smp01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp01 smp01_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp02/Makefile.am b/testsuites/smptests/smp02/Makefile.am index b4e0795556..61c60bd369 100644 --- a/testsuites/smptests/smp02/Makefile.am +++ b/testsuites/smptests/smp02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp02 smp02_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp03/Makefile.am b/testsuites/smptests/smp03/Makefile.am index a6a8a61e90..73f2967d5a 100644 --- a/testsuites/smptests/smp03/Makefile.am +++ b/testsuites/smptests/smp03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp03 smp03_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp04/Makefile.am b/testsuites/smptests/smp04/Makefile.am index bd1f7b13b0..3579e94f78 100644 --- a/testsuites/smptests/smp04/Makefile.am +++ b/testsuites/smptests/smp04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp04 smp04_SOURCES = init.c system.h ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp05/Makefile.am b/testsuites/smptests/smp05/Makefile.am index b730fba1cc..6db395d304 100644 --- a/testsuites/smptests/smp05/Makefile.am +++ b/testsuites/smptests/smp05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp05 smp05_SOURCES = init.c ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp06/Makefile.am b/testsuites/smptests/smp06/Makefile.am index 871f1d5b13..fe6fcacb4c 100644 --- a/testsuites/smptests/smp06/Makefile.am +++ b/testsuites/smptests/smp06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp06 smp06_SOURCES = init.c ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp07/Makefile.am b/testsuites/smptests/smp07/Makefile.am index 449148352e..b94fa1675a 100644 --- a/testsuites/smptests/smp07/Makefile.am +++ b/testsuites/smptests/smp07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp07 smp07_SOURCES = init.c ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp08/Makefile.am b/testsuites/smptests/smp08/Makefile.am index 6fdd303c0e..04748a6db2 100644 --- a/testsuites/smptests/smp08/Makefile.am +++ b/testsuites/smptests/smp08/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp08 smp08_SOURCES = init.c tasks.c system.h ../../support/src/locked_print.c diff --git a/testsuites/smptests/smp09/Makefile.am b/testsuites/smptests/smp09/Makefile.am index cb4d60aa87..453ddef267 100644 --- a/testsuites/smptests/smp09/Makefile.am +++ b/testsuites/smptests/smp09/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = smp09 smp09_SOURCES = init.c ../../support/src/locked_print.c diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am index d847e1d33c..4a1ac8a0cc 100644 --- a/testsuites/sptests/Makefile.am +++ b/testsuites/sptests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal ## Test names are spaced to indicate gaps in numbering from tests being diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac index 2e385bbb1b..17c56caf4b 100644 --- a/testsuites/sptests/configure.ac +++ b/testsuites/sptests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-sptests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/sptests/sp01/Makefile.am b/testsuites/sptests/sp01/Makefile.am index a237ca06cb..2fdfa174ea 100644 --- a/testsuites/sptests/sp01/Makefile.am +++ b/testsuites/sptests/sp01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp01 sp01_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp02/Makefile.am b/testsuites/sptests/sp02/Makefile.am index d2bb2b8632..c5c159ac4a 100644 --- a/testsuites/sptests/sp02/Makefile.am +++ b/testsuites/sptests/sp02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp02 sp02_SOURCES = init.c task1.c task2.c task3.c preempt.c system.h diff --git a/testsuites/sptests/sp03/Makefile.am b/testsuites/sptests/sp03/Makefile.am index 1385686c32..42ae4c2873 100644 --- a/testsuites/sptests/sp03/Makefile.am +++ b/testsuites/sptests/sp03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp03 sp03_SOURCES = init.c task1.c task2.c system.h diff --git a/testsuites/sptests/sp04/Makefile.am b/testsuites/sptests/sp04/Makefile.am index 7790694c7e..025c15b43c 100644 --- a/testsuites/sptests/sp04/Makefile.am +++ b/testsuites/sptests/sp04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp04 sp04_SOURCES = init.c task1.c task2.c task3.c tswitch.c system.h diff --git a/testsuites/sptests/sp05/Makefile.am b/testsuites/sptests/sp05/Makefile.am index 2a91f39cc7..9708d9c7cf 100644 --- a/testsuites/sptests/sp05/Makefile.am +++ b/testsuites/sptests/sp05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp05 sp05_SOURCES = init.c task1.c task2.c task3.c system.h diff --git a/testsuites/sptests/sp06/Makefile.am b/testsuites/sptests/sp06/Makefile.am index d77a10b05b..afa03ba3fd 100644 --- a/testsuites/sptests/sp06/Makefile.am +++ b/testsuites/sptests/sp06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp06 sp06_SOURCES = init.c task1.c task2.c task3.c system.h diff --git a/testsuites/sptests/sp07/Makefile.am b/testsuites/sptests/sp07/Makefile.am index 8884e776ba..b151412153 100644 --- a/testsuites/sptests/sp07/Makefile.am +++ b/testsuites/sptests/sp07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp07 sp07_SOURCES = init.c buffered_io.c task1.c task2.c task3.c task4.c \ taskexit.c tcreate.c tdelete.c trestart.c tstart.c system.h diff --git a/testsuites/sptests/sp08/Makefile.am b/testsuites/sptests/sp08/Makefile.am index 140c598e7b..5aa86ba2a2 100644 --- a/testsuites/sptests/sp08/Makefile.am +++ b/testsuites/sptests/sp08/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = sp08 sp08_SOURCES = init.c diff --git a/testsuites/sptests/sp09/Makefile.am b/testsuites/sptests/sp09/Makefile.am index a1bacc13e7..b35e02f212 100644 --- a/testsuites/sptests/sp09/Makefile.am +++ b/testsuites/sptests/sp09/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp09 sp09_SOURCES = init.c delay.c isr.c screen01.c screen02.c screen03.c screen04.c \ screen05.c screen06.c screen07.c screen08.c screen09.c screen10.c \ diff --git a/testsuites/sptests/sp10/Makefile.am b/testsuites/sptests/sp10/Makefile.am index ca20786bc4..e3ef4210f9 100644 --- a/testsuites/sptests/sp10/Makefile.am +++ b/testsuites/sptests/sp10/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp10 sp10_SOURCES = init.c diff --git a/testsuites/sptests/sp11/Makefile.am b/testsuites/sptests/sp11/Makefile.am index 1b30fc916a..d9120435d5 100644 --- a/testsuites/sptests/sp11/Makefile.am +++ b/testsuites/sptests/sp11/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp11 sp11_SOURCES = init.c task1.c task2.c timer.c system.h diff --git a/testsuites/sptests/sp12/Makefile.am b/testsuites/sptests/sp12/Makefile.am index 684424b023..e565d4e287 100644 --- a/testsuites/sptests/sp12/Makefile.am +++ b/testsuites/sptests/sp12/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp12 sp12_SOURCES = init.c task1.c task2.c task3.c task4.c task5.c pridrv.c \ pritask.c system.h diff --git a/testsuites/sptests/sp13/Makefile.am b/testsuites/sptests/sp13/Makefile.am index 498dbd9deb..6ec24fea34 100644 --- a/testsuites/sptests/sp13/Makefile.am +++ b/testsuites/sptests/sp13/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp13 sp13_SOURCES = init.c fillbuff.c putbuff.c task1.c task2.c task3.c system.h diff --git a/testsuites/sptests/sp14/Makefile.am b/testsuites/sptests/sp14/Makefile.am index 4771979785..b9b841afef 100644 --- a/testsuites/sptests/sp14/Makefile.am +++ b/testsuites/sptests/sp14/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp14 sp14_SOURCES = init.c asr.c task1.c task2.c system.h diff --git a/testsuites/sptests/sp15/Makefile.am b/testsuites/sptests/sp15/Makefile.am index 3f7d6b7e34..a6e1bb608e 100644 --- a/testsuites/sptests/sp15/Makefile.am +++ b/testsuites/sptests/sp15/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp15 sp15_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp16/Makefile.am b/testsuites/sptests/sp16/Makefile.am index 43e56d75dc..d0f413396c 100644 --- a/testsuites/sptests/sp16/Makefile.am +++ b/testsuites/sptests/sp16/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp16 sp16_SOURCES = init.c task1.c task2.c task3.c task4.c task5.c system.h diff --git a/testsuites/sptests/sp17/Makefile.am b/testsuites/sptests/sp17/Makefile.am index 5d1d55476e..ebb1b48f75 100644 --- a/testsuites/sptests/sp17/Makefile.am +++ b/testsuites/sptests/sp17/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp17 sp17_SOURCES = init.c asr.c task1.c task2.c system.h diff --git a/testsuites/sptests/sp18/Makefile.am b/testsuites/sptests/sp18/Makefile.am index f27b99c716..1a35b63645 100644 --- a/testsuites/sptests/sp18/Makefile.am +++ b/testsuites/sptests/sp18/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp18 sp18_SOURCES = init.c diff --git a/testsuites/sptests/sp19/Makefile.am b/testsuites/sptests/sp19/Makefile.am index 168052c9ea..ff99c2a318 100644 --- a/testsuites/sptests/sp19/Makefile.am +++ b/testsuites/sptests/sp19/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp19 sp19_SOURCES = init.c first.c fptask.c task1.c system.h fptest.h inttest.h diff --git a/testsuites/sptests/sp20/Makefile.am b/testsuites/sptests/sp20/Makefile.am index 73ab51ed16..dc9bb40a2f 100644 --- a/testsuites/sptests/sp20/Makefile.am +++ b/testsuites/sptests/sp20/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp20 sp20_SOURCES = init.c getall.c task1.c system.h diff --git a/testsuites/sptests/sp2038/Makefile.am b/testsuites/sptests/sp2038/Makefile.am index 11058475a2..391ff6025c 100644 --- a/testsuites/sptests/sp2038/Makefile.am +++ b/testsuites/sptests/sp2038/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp2038 sp2038_SOURCES = init.c diff --git a/testsuites/sptests/sp21/Makefile.am b/testsuites/sptests/sp21/Makefile.am index e41c492271..8fc953900b 100644 --- a/testsuites/sptests/sp21/Makefile.am +++ b/testsuites/sptests/sp21/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = sp21 sp21_SOURCES = init.c diff --git a/testsuites/sptests/sp22/Makefile.am b/testsuites/sptests/sp22/Makefile.am index 7b731b09d4..29659bd397 100644 --- a/testsuites/sptests/sp22/Makefile.am +++ b/testsuites/sptests/sp22/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp22 sp22_SOURCES = init.c prtime.c delay.c task1.c system.h diff --git a/testsuites/sptests/sp23/Makefile.am b/testsuites/sptests/sp23/Makefile.am index 9d10aa0282..f6c285a08d 100644 --- a/testsuites/sptests/sp23/Makefile.am +++ b/testsuites/sptests/sp23/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp23 sp23_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp24/Makefile.am b/testsuites/sptests/sp24/Makefile.am index 725487d3af..0c660d6857 100644 --- a/testsuites/sptests/sp24/Makefile.am +++ b/testsuites/sptests/sp24/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp24 sp24_SOURCES = init.c resume.c task1.c system.h diff --git a/testsuites/sptests/sp25/Makefile.am b/testsuites/sptests/sp25/Makefile.am index 87277562ff..919fb8dd59 100644 --- a/testsuites/sptests/sp25/Makefile.am +++ b/testsuites/sptests/sp25/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp25 sp25_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp26/Makefile.am b/testsuites/sptests/sp26/Makefile.am index faf5211236..67060af47d 100644 --- a/testsuites/sptests/sp26/Makefile.am +++ b/testsuites/sptests/sp26/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp26 sp26_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/sp27/Makefile.am b/testsuites/sptests/sp27/Makefile.am index e200ad174f..ecc421bb44 100644 --- a/testsuites/sptests/sp27/Makefile.am +++ b/testsuites/sptests/sp27/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp27 sp27_SOURCES = init.c diff --git a/testsuites/sptests/sp27a/Makefile.am b/testsuites/sptests/sp27a/Makefile.am index 3eb42caf46..e725210f58 100644 --- a/testsuites/sptests/sp27a/Makefile.am +++ b/testsuites/sptests/sp27a/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp27a sp27a_SOURCES = ../sp27/init.c diff --git a/testsuites/sptests/sp28/Makefile.am b/testsuites/sptests/sp28/Makefile.am index 774ac294b8..f11eda22f4 100644 --- a/testsuites/sptests/sp28/Makefile.am +++ b/testsuites/sptests/sp28/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp28 sp28_SOURCES = init.c diff --git a/testsuites/sptests/sp29/Makefile.am b/testsuites/sptests/sp29/Makefile.am index c685c50c07..e682626289 100644 --- a/testsuites/sptests/sp29/Makefile.am +++ b/testsuites/sptests/sp29/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp29 sp29_SOURCES = init.c diff --git a/testsuites/sptests/sp30/Makefile.am b/testsuites/sptests/sp30/Makefile.am index b13e0f4b25..9726b4b8a1 100644 --- a/testsuites/sptests/sp30/Makefile.am +++ b/testsuites/sptests/sp30/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp30 sp30_SOURCES = init.c resume.c task1.c system.h diff --git a/testsuites/sptests/sp31/Makefile.am b/testsuites/sptests/sp31/Makefile.am index 68f5b05961..14d9d94a9b 100644 --- a/testsuites/sptests/sp31/Makefile.am +++ b/testsuites/sptests/sp31/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp31 sp31_SOURCES = delay.c init.c prtime.c task1.c system.h diff --git a/testsuites/sptests/sp32/Makefile.am b/testsuites/sptests/sp32/Makefile.am index b1ba895d7e..df46616657 100644 --- a/testsuites/sptests/sp32/Makefile.am +++ b/testsuites/sptests/sp32/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp32 sp32_SOURCES = init.c diff --git a/testsuites/sptests/sp33/Makefile.am b/testsuites/sptests/sp33/Makefile.am index f17542eadd..fcd8449588 100644 --- a/testsuites/sptests/sp33/Makefile.am +++ b/testsuites/sptests/sp33/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp33 sp33_SOURCES = init.c diff --git a/testsuites/sptests/sp34/Makefile.am b/testsuites/sptests/sp34/Makefile.am index c9857eaefb..f41d2bece9 100644 --- a/testsuites/sptests/sp34/Makefile.am +++ b/testsuites/sptests/sp34/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp34 sp34_SOURCES = changepri.c diff --git a/testsuites/sptests/sp35/Makefile.am b/testsuites/sptests/sp35/Makefile.am index 97d1c79300..a8e732366f 100644 --- a/testsuites/sptests/sp35/Makefile.am +++ b/testsuites/sptests/sp35/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp35 sp35_SOURCES = priinv.c diff --git a/testsuites/sptests/sp36/Makefile.am b/testsuites/sptests/sp36/Makefile.am index c76eb6f666..b2cadd174b 100644 --- a/testsuites/sptests/sp36/Makefile.am +++ b/testsuites/sptests/sp36/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp36 sp36_SOURCES = strict_order_mut.c diff --git a/testsuites/sptests/sp37/Makefile.am b/testsuites/sptests/sp37/Makefile.am index 8b141036c3..6b00ac3559 100644 --- a/testsuites/sptests/sp37/Makefile.am +++ b/testsuites/sptests/sp37/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp37 sp37_SOURCES = init.c system.h diff --git a/testsuites/sptests/sp38/Makefile.am b/testsuites/sptests/sp38/Makefile.am index d7adc4b9dc..7a1f38f6b1 100644 --- a/testsuites/sptests/sp38/Makefile.am +++ b/testsuites/sptests/sp38/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp38 sp38_SOURCES = init.c system.h diff --git a/testsuites/sptests/sp39/Makefile.am b/testsuites/sptests/sp39/Makefile.am index bbeff20572..2ccecaaebd 100644 --- a/testsuites/sptests/sp39/Makefile.am +++ b/testsuites/sptests/sp39/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp39 sp39_SOURCES = init.c system.h diff --git a/testsuites/sptests/sp40/Makefile.am b/testsuites/sptests/sp40/Makefile.am index 7376d6361b..15f70f10f4 100644 --- a/testsuites/sptests/sp40/Makefile.am +++ b/testsuites/sptests/sp40/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp40 sp40_SOURCES = init.c diff --git a/testsuites/sptests/sp41/Makefile.am b/testsuites/sptests/sp41/Makefile.am index d8ce1a32f1..e9e2ad104f 100644 --- a/testsuites/sptests/sp41/Makefile.am +++ b/testsuites/sptests/sp41/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp41 sp41_SOURCES = init.c diff --git a/testsuites/sptests/sp42/Makefile.am b/testsuites/sptests/sp42/Makefile.am index be8b66c961..00dc52ab2a 100644 --- a/testsuites/sptests/sp42/Makefile.am +++ b/testsuites/sptests/sp42/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp42 sp42_SOURCES = init.c diff --git a/testsuites/sptests/sp43/Makefile.am b/testsuites/sptests/sp43/Makefile.am index f1de0c874c..c03569b2f3 100644 --- a/testsuites/sptests/sp43/Makefile.am +++ b/testsuites/sptests/sp43/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp43 sp43_SOURCES = init.c sp43_SOURCES += system.h diff --git a/testsuites/sptests/sp44/Makefile.am b/testsuites/sptests/sp44/Makefile.am index e244a7199d..dbab2a46bc 100644 --- a/testsuites/sptests/sp44/Makefile.am +++ b/testsuites/sptests/sp44/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp44 sp44_SOURCES = init.c diff --git a/testsuites/sptests/sp45/Makefile.am b/testsuites/sptests/sp45/Makefile.am index 52afb5b7f4..21a367f87c 100644 --- a/testsuites/sptests/sp45/Makefile.am +++ b/testsuites/sptests/sp45/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp45 sp45_SOURCES = init.c diff --git a/testsuites/sptests/sp46/Makefile.am b/testsuites/sptests/sp46/Makefile.am index 7702859372..387b611995 100644 --- a/testsuites/sptests/sp46/Makefile.am +++ b/testsuites/sptests/sp46/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp46 sp46_SOURCES = init.c diff --git a/testsuites/sptests/sp47/Makefile.am b/testsuites/sptests/sp47/Makefile.am index 7d814c13da..b431728ae4 100644 --- a/testsuites/sptests/sp47/Makefile.am +++ b/testsuites/sptests/sp47/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp47 sp47_SOURCES = init.c diff --git a/testsuites/sptests/sp48/Makefile.am b/testsuites/sptests/sp48/Makefile.am index b424e7f2c0..0bd5598141 100644 --- a/testsuites/sptests/sp48/Makefile.am +++ b/testsuites/sptests/sp48/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp48 sp48_SOURCES = init.c diff --git a/testsuites/sptests/sp49/Makefile.am b/testsuites/sptests/sp49/Makefile.am index c63380b5ec..a291ff6198 100644 --- a/testsuites/sptests/sp49/Makefile.am +++ b/testsuites/sptests/sp49/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp49 sp49_SOURCES = init.c diff --git a/testsuites/sptests/sp50/Makefile.am b/testsuites/sptests/sp50/Makefile.am index d83298793e..783979dacd 100644 --- a/testsuites/sptests/sp50/Makefile.am +++ b/testsuites/sptests/sp50/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp50 sp50_SOURCES = init.c diff --git a/testsuites/sptests/sp51/Makefile.am b/testsuites/sptests/sp51/Makefile.am index 312cd1951e..be42ae7f54 100644 --- a/testsuites/sptests/sp51/Makefile.am +++ b/testsuites/sptests/sp51/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp51 sp51_SOURCES = init.c diff --git a/testsuites/sptests/sp52/Makefile.am b/testsuites/sptests/sp52/Makefile.am index 7ce6984cc5..2e23d84545 100644 --- a/testsuites/sptests/sp52/Makefile.am +++ b/testsuites/sptests/sp52/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp52 sp52_SOURCES = init.c diff --git a/testsuites/sptests/sp53/Makefile.am b/testsuites/sptests/sp53/Makefile.am index 6c52da80ac..738ac63f4f 100644 --- a/testsuites/sptests/sp53/Makefile.am +++ b/testsuites/sptests/sp53/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp53 sp53_SOURCES = ../sp52/init.c diff --git a/testsuites/sptests/sp54/Makefile.am b/testsuites/sptests/sp54/Makefile.am index d078cb9dcd..d78e4488fc 100644 --- a/testsuites/sptests/sp54/Makefile.am +++ b/testsuites/sptests/sp54/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp54 sp54_SOURCES = init.c diff --git a/testsuites/sptests/sp55/Makefile.am b/testsuites/sptests/sp55/Makefile.am index f70d1a3cdd..e4e43d5cf4 100644 --- a/testsuites/sptests/sp55/Makefile.am +++ b/testsuites/sptests/sp55/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp55 sp55_SOURCES = init.c diff --git a/testsuites/sptests/sp56/Makefile.am b/testsuites/sptests/sp56/Makefile.am index 22c62cf6a8..cc7788385a 100644 --- a/testsuites/sptests/sp56/Makefile.am +++ b/testsuites/sptests/sp56/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp56 sp56_SOURCES = init.c diff --git a/testsuites/sptests/sp57/Makefile.am b/testsuites/sptests/sp57/Makefile.am index 1edf5bd424..a4f5bd77ff 100644 --- a/testsuites/sptests/sp57/Makefile.am +++ b/testsuites/sptests/sp57/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp57 sp57_SOURCES = init.c diff --git a/testsuites/sptests/sp58/Makefile.am b/testsuites/sptests/sp58/Makefile.am index 757d8373d7..ec20a74bc2 100644 --- a/testsuites/sptests/sp58/Makefile.am +++ b/testsuites/sptests/sp58/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp58 sp58_SOURCES = init.c diff --git a/testsuites/sptests/sp59/Makefile.am b/testsuites/sptests/sp59/Makefile.am index d7e9c9b310..c9b03c4443 100644 --- a/testsuites/sptests/sp59/Makefile.am +++ b/testsuites/sptests/sp59/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp59 sp59_SOURCES = init.c diff --git a/testsuites/sptests/sp60/Makefile.am b/testsuites/sptests/sp60/Makefile.am index 87e4893545..87464bea2a 100644 --- a/testsuites/sptests/sp60/Makefile.am +++ b/testsuites/sptests/sp60/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp60 sp60_SOURCES = init.c diff --git a/testsuites/sptests/sp62/Makefile.am b/testsuites/sptests/sp62/Makefile.am index 593a644d0e..d43d398bc7 100644 --- a/testsuites/sptests/sp62/Makefile.am +++ b/testsuites/sptests/sp62/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp62 sp62_SOURCES = init.c diff --git a/testsuites/sptests/sp63/Makefile.am b/testsuites/sptests/sp63/Makefile.am index dc3c055edb..78610e1c52 100644 --- a/testsuites/sptests/sp63/Makefile.am +++ b/testsuites/sptests/sp63/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp63 sp63_SOURCES = init.c diff --git a/testsuites/sptests/sp64/Makefile.am b/testsuites/sptests/sp64/Makefile.am index 4481e3fd96..02d8f367e7 100644 --- a/testsuites/sptests/sp64/Makefile.am +++ b/testsuites/sptests/sp64/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp64 sp64_SOURCES = init.c diff --git a/testsuites/sptests/sp65/Makefile.am b/testsuites/sptests/sp65/Makefile.am index aaa97f674c..c400049aca 100644 --- a/testsuites/sptests/sp65/Makefile.am +++ b/testsuites/sptests/sp65/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp65 sp65_SOURCES = init.c diff --git a/testsuites/sptests/sp66/Makefile.am b/testsuites/sptests/sp66/Makefile.am index 7eeec2f887..f702e22b67 100644 --- a/testsuites/sptests/sp66/Makefile.am +++ b/testsuites/sptests/sp66/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp66 sp66_SOURCES = ../sp65/init.c diff --git a/testsuites/sptests/sp67/Makefile.am b/testsuites/sptests/sp67/Makefile.am index ed03130ad0..5b940f42c8 100644 --- a/testsuites/sptests/sp67/Makefile.am +++ b/testsuites/sptests/sp67/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp67 sp67_SOURCES = init.c diff --git a/testsuites/sptests/sp68/Makefile.am b/testsuites/sptests/sp68/Makefile.am index 8d4e1bb603..7b7c0e456f 100644 --- a/testsuites/sptests/sp68/Makefile.am +++ b/testsuites/sptests/sp68/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp68 sp68_SOURCES = init.c diff --git a/testsuites/sptests/sp69/Makefile.am b/testsuites/sptests/sp69/Makefile.am index acdf7f8f08..a4b3b93d02 100644 --- a/testsuites/sptests/sp69/Makefile.am +++ b/testsuites/sptests/sp69/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp69 sp69_SOURCES = init.c ../../support/src/spin.c diff --git a/testsuites/sptests/sp70/Makefile.am b/testsuites/sptests/sp70/Makefile.am index 077973cfbb..20497cddd3 100644 --- a/testsuites/sptests/sp70/Makefile.am +++ b/testsuites/sptests/sp70/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp70 sp70_SOURCES = init.c diff --git a/testsuites/sptests/sp71/Makefile.am b/testsuites/sptests/sp71/Makefile.am index 1d09ae13d0..5a2c46ee5c 100644 --- a/testsuites/sptests/sp71/Makefile.am +++ b/testsuites/sptests/sp71/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp71 sp71_SOURCES = init.c diff --git a/testsuites/sptests/sp72/Makefile.am b/testsuites/sptests/sp72/Makefile.am index aca2be8ad6..1ee2aa2a28 100644 --- a/testsuites/sptests/sp72/Makefile.am +++ b/testsuites/sptests/sp72/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp72 sp72_SOURCES = init.c diff --git a/testsuites/sptests/sp73/Makefile.am b/testsuites/sptests/sp73/Makefile.am index a8479d1515..6b29e15486 100644 --- a/testsuites/sptests/sp73/Makefile.am +++ b/testsuites/sptests/sp73/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp73 sp73_SOURCES = init.c diff --git a/testsuites/sptests/sp74/Makefile.am b/testsuites/sptests/sp74/Makefile.am index 1017bff754..255b65d3c8 100644 --- a/testsuites/sptests/sp74/Makefile.am +++ b/testsuites/sptests/sp74/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp74 sp74_SOURCES = init.c diff --git a/testsuites/sptests/sp75/Makefile.am b/testsuites/sptests/sp75/Makefile.am index af0e875c92..651cbe5518 100644 --- a/testsuites/sptests/sp75/Makefile.am +++ b/testsuites/sptests/sp75/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp75 sp75_SOURCES = init.c diff --git a/testsuites/sptests/sp76/Makefile.am b/testsuites/sptests/sp76/Makefile.am index 2cec3ef53a..84bb041b30 100644 --- a/testsuites/sptests/sp76/Makefile.am +++ b/testsuites/sptests/sp76/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sp76 sp76_SOURCES = init.c diff --git a/testsuites/sptests/spassoc01/Makefile.am b/testsuites/sptests/spassoc01/Makefile.am index 6a04abaa78..54f7d7f019 100644 --- a/testsuites/sptests/spassoc01/Makefile.am +++ b/testsuites/sptests/spassoc01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spassoc01 spassoc01_SOURCES = init.c diff --git a/testsuites/sptests/spcbssched01/Makefile.am b/testsuites/sptests/spcbssched01/Makefile.am index f522eecc5a..69ca9f5cdb 100644 --- a/testsuites/sptests/spcbssched01/Makefile.am +++ b/testsuites/sptests/spcbssched01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spcbssched01 spcbssched01_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/spcbssched02/Makefile.am b/testsuites/sptests/spcbssched02/Makefile.am index 4f98d96311..b8db8f7206 100644 --- a/testsuites/sptests/spcbssched02/Makefile.am +++ b/testsuites/sptests/spcbssched02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spcbssched02 spcbssched02_SOURCES = init.c task_periodic.c system.h diff --git a/testsuites/sptests/spcbssched03/Makefile.am b/testsuites/sptests/spcbssched03/Makefile.am index 8f01e26d9e..04557ce74f 100644 --- a/testsuites/sptests/spcbssched03/Makefile.am +++ b/testsuites/sptests/spcbssched03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spcbssched03 spcbssched03_SOURCES = init.c tasks_periodic.c tasks_aperiodic.c system.h \ cbsparams.h diff --git a/testsuites/sptests/spchain/Makefile.am b/testsuites/sptests/spchain/Makefile.am index f117d479d9..f700ea3019 100644 --- a/testsuites/sptests/spchain/Makefile.am +++ b/testsuites/sptests/spchain/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spchain spchain_SOURCES = init.c diff --git a/testsuites/sptests/spclockget/Makefile.am b/testsuites/sptests/spclockget/Makefile.am index 0b63c9d1bf..b659397aff 100644 --- a/testsuites/sptests/spclockget/Makefile.am +++ b/testsuites/sptests/spclockget/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spclockget spclockget_SOURCES = init.c diff --git a/testsuites/sptests/spcoverage/Makefile.am b/testsuites/sptests/spcoverage/Makefile.am index f6daccb5af..1d7badf1d7 100644 --- a/testsuites/sptests/spcoverage/Makefile.am +++ b/testsuites/sptests/spcoverage/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spcoverage spcoverage_SOURCES = init.c diff --git a/testsuites/sptests/spedfsched01/Makefile.am b/testsuites/sptests/spedfsched01/Makefile.am index 65523ee419..3af62a3895 100644 --- a/testsuites/sptests/spedfsched01/Makefile.am +++ b/testsuites/sptests/spedfsched01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spedfsched01 spedfsched01_SOURCES = init.c task1.c system.h diff --git a/testsuites/sptests/spedfsched02/Makefile.am b/testsuites/sptests/spedfsched02/Makefile.am index 52981f1847..67c5e4bbcd 100644 --- a/testsuites/sptests/spedfsched02/Makefile.am +++ b/testsuites/sptests/spedfsched02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spedfsched02 spedfsched02_SOURCES = init.c getall.c task1.c system.h diff --git a/testsuites/sptests/spedfsched03/Makefile.am b/testsuites/sptests/spedfsched03/Makefile.am index 3eafc7d217..63a3a12820 100644 --- a/testsuites/sptests/spedfsched03/Makefile.am +++ b/testsuites/sptests/spedfsched03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spedfsched03 spedfsched03_SOURCES = init.c tasks_periodic.c tasks_aperiodic.c system.h edfparams.h diff --git a/testsuites/sptests/sperror01/Makefile.am b/testsuites/sptests/sperror01/Makefile.am index f8e8556628..f34ccd3ea9 100644 --- a/testsuites/sptests/sperror01/Makefile.am +++ b/testsuites/sptests/sperror01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sperror01 sperror01_SOURCES = init.c diff --git a/testsuites/sptests/sperror02/Makefile.am b/testsuites/sptests/sperror02/Makefile.am index 924beaf569..996f93e740 100644 --- a/testsuites/sptests/sperror02/Makefile.am +++ b/testsuites/sptests/sperror02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sperror02 sperror02_SOURCES = init.c diff --git a/testsuites/sptests/sperror03/Makefile.am b/testsuites/sptests/sperror03/Makefile.am index 0e57fe3570..13e96978d5 100644 --- a/testsuites/sptests/sperror03/Makefile.am +++ b/testsuites/sptests/sperror03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sperror03 sperror03_SOURCES = init.c diff --git a/testsuites/sptests/spfatal01/Makefile.am b/testsuites/sptests/spfatal01/Makefile.am index f6e787c3b5..22dd126386 100644 --- a/testsuites/sptests/spfatal01/Makefile.am +++ b/testsuites/sptests/spfatal01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal01 spfatal01_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal02/Makefile.am b/testsuites/sptests/spfatal02/Makefile.am index ea6d713f44..5b7cbe0ef4 100644 --- a/testsuites/sptests/spfatal02/Makefile.am +++ b/testsuites/sptests/spfatal02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal02 spfatal02_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal03/Makefile.am b/testsuites/sptests/spfatal03/Makefile.am index 7c70c0d8a6..feb40bd265 100644 --- a/testsuites/sptests/spfatal03/Makefile.am +++ b/testsuites/sptests/spfatal03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal03 spfatal03_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal04/Makefile.am b/testsuites/sptests/spfatal04/Makefile.am index 84dd06bf72..81b58b6537 100644 --- a/testsuites/sptests/spfatal04/Makefile.am +++ b/testsuites/sptests/spfatal04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal04 spfatal04_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal05/Makefile.am b/testsuites/sptests/spfatal05/Makefile.am index f34b851ace..bc35517276 100644 --- a/testsuites/sptests/spfatal05/Makefile.am +++ b/testsuites/sptests/spfatal05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal05 spfatal05_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal06/Makefile.am b/testsuites/sptests/spfatal06/Makefile.am index 94463c6280..c1b25904d5 100644 --- a/testsuites/sptests/spfatal06/Makefile.am +++ b/testsuites/sptests/spfatal06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal06 spfatal06_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal07/Makefile.am b/testsuites/sptests/spfatal07/Makefile.am index 69a3ba9eb1..52d2a9ff55 100644 --- a/testsuites/sptests/spfatal07/Makefile.am +++ b/testsuites/sptests/spfatal07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal07 spfatal07_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal08/Makefile.am b/testsuites/sptests/spfatal08/Makefile.am index 89885def15..983ff42bc2 100644 --- a/testsuites/sptests/spfatal08/Makefile.am +++ b/testsuites/sptests/spfatal08/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal08 spfatal08_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal09/Makefile.am b/testsuites/sptests/spfatal09/Makefile.am index 41fe35edc5..b24a1d4dd1 100644 --- a/testsuites/sptests/spfatal09/Makefile.am +++ b/testsuites/sptests/spfatal09/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfatal09 spfatal09_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h \ testcase.h diff --git a/testsuites/sptests/spfatal10/Makefile.am b/testsuites/sptests/spfatal10/Makefile.am index da5d0f11ac..acdc90d143 100644 --- a/testsuites/sptests/spfatal10/Makefile.am +++ b/testsuites/sptests/spfatal10/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal10 spfatal10_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h \ testcase.h diff --git a/testsuites/sptests/spfatal11/Makefile.am b/testsuites/sptests/spfatal11/Makefile.am index cf80e716b1..f18fa955f5 100644 --- a/testsuites/sptests/spfatal11/Makefile.am +++ b/testsuites/sptests/spfatal11/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal11 spfatal11_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h \ testcase.h diff --git a/testsuites/sptests/spfatal12/Makefile.am b/testsuites/sptests/spfatal12/Makefile.am index f00499b75c..860545bd0d 100644 --- a/testsuites/sptests/spfatal12/Makefile.am +++ b/testsuites/sptests/spfatal12/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal12 spfatal12_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h \ testcase.h diff --git a/testsuites/sptests/spfatal13/Makefile.am b/testsuites/sptests/spfatal13/Makefile.am index 3ce67292a4..ac9d4c5282 100644 --- a/testsuites/sptests/spfatal13/Makefile.am +++ b/testsuites/sptests/spfatal13/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal13 spfatal13_SOURCES = ../spfatal_support/init.c ../spfatal_support/system.h \ testcase.h diff --git a/testsuites/sptests/spfatal14/Makefile.am b/testsuites/sptests/spfatal14/Makefile.am index e5d1ee1754..b8dad5f8cd 100644 --- a/testsuites/sptests/spfatal14/Makefile.am +++ b/testsuites/sptests/spfatal14/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal14 spfatal14_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal15/Makefile.am b/testsuites/sptests/spfatal15/Makefile.am index 485c92af6b..63006e6b8e 100644 --- a/testsuites/sptests/spfatal15/Makefile.am +++ b/testsuites/sptests/spfatal15/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal15 spfatal15_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal16/Makefile.am b/testsuites/sptests/spfatal16/Makefile.am index 9bdb5e9ccd..fae93ace4c 100644 --- a/testsuites/sptests/spfatal16/Makefile.am +++ b/testsuites/sptests/spfatal16/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal16 spfatal16_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal17/Makefile.am b/testsuites/sptests/spfatal17/Makefile.am index 745ca43f3e..d1d00f74bf 100644 --- a/testsuites/sptests/spfatal17/Makefile.am +++ b/testsuites/sptests/spfatal17/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal17 spfatal17_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal18/Makefile.am b/testsuites/sptests/spfatal18/Makefile.am index 31597bbf51..15a095bbe4 100644 --- a/testsuites/sptests/spfatal18/Makefile.am +++ b/testsuites/sptests/spfatal18/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal18 spfatal18_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal19/Makefile.am b/testsuites/sptests/spfatal19/Makefile.am index 8471aae478..9c6b2666ec 100644 --- a/testsuites/sptests/spfatal19/Makefile.am +++ b/testsuites/sptests/spfatal19/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal19 spfatal19_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal20/Makefile.am b/testsuites/sptests/spfatal20/Makefile.am index ebb1e75316..81eb0966bd 100644 --- a/testsuites/sptests/spfatal20/Makefile.am +++ b/testsuites/sptests/spfatal20/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfatal20 spfatal20_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/consume_sems.c \ diff --git a/testsuites/sptests/spfatal21/Makefile.am b/testsuites/sptests/spfatal21/Makefile.am index 3a2439ac80..9a9ec6455a 100644 --- a/testsuites/sptests/spfatal21/Makefile.am +++ b/testsuites/sptests/spfatal21/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfatal21 spfatal21_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/system.h ../../support/src/test_support.c testcase.h diff --git a/testsuites/sptests/spfatal22/Makefile.am b/testsuites/sptests/spfatal22/Makefile.am index f41b836705..36ef3372c8 100644 --- a/testsuites/sptests/spfatal22/Makefile.am +++ b/testsuites/sptests/spfatal22/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfatal22 spfatal22_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/system.h ../../support/src/test_support.c testcase.h diff --git a/testsuites/sptests/spfatal23/Makefile.am b/testsuites/sptests/spfatal23/Makefile.am index ead41f5359..d20f04d094 100644 --- a/testsuites/sptests/spfatal23/Makefile.am +++ b/testsuites/sptests/spfatal23/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfatal23 spfatal23_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal24/Makefile.am b/testsuites/sptests/spfatal24/Makefile.am index deaade2c57..c37852f0c4 100644 --- a/testsuites/sptests/spfatal24/Makefile.am +++ b/testsuites/sptests/spfatal24/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfatal24 spfatal24_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfatal25/Makefile.am b/testsuites/sptests/spfatal25/Makefile.am index d7f8c4882f..ce92e0393b 100644 --- a/testsuites/sptests/spfatal25/Makefile.am +++ b/testsuites/sptests/spfatal25/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfatal25 spfatal25_SOURCES = ../spfatal_support/init.c \ ../spfatal_support/system.h testcase.h diff --git a/testsuites/sptests/spfifo01/Makefile.am b/testsuites/sptests/spfifo01/Makefile.am index 862a3211ef..66bc426f9a 100644 --- a/testsuites/sptests/spfifo01/Makefile.am +++ b/testsuites/sptests/spfifo01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfifo01 spfifo01_SOURCES = init.c diff --git a/testsuites/sptests/spfifo02/Makefile.am b/testsuites/sptests/spfifo02/Makefile.am index b287809ceb..f93a55ca38 100644 --- a/testsuites/sptests/spfifo02/Makefile.am +++ b/testsuites/sptests/spfifo02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfifo02 spfifo02_SOURCES = init.c diff --git a/testsuites/sptests/spfifo03/Makefile.am b/testsuites/sptests/spfifo03/Makefile.am index 8c1c18bbea..42b70f889f 100644 --- a/testsuites/sptests/spfifo03/Makefile.am +++ b/testsuites/sptests/spfifo03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfifo03 spfifo03_SOURCES = init.c diff --git a/testsuites/sptests/spfifo04/Makefile.am b/testsuites/sptests/spfifo04/Makefile.am index 39abe3d05b..cc7bb0c2b2 100644 --- a/testsuites/sptests/spfifo04/Makefile.am +++ b/testsuites/sptests/spfifo04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spfifo04 spfifo04_SOURCES = init.c diff --git a/testsuites/sptests/spfifo05/Makefile.am b/testsuites/sptests/spfifo05/Makefile.am index 52f8f5d341..cc3aba95fe 100644 --- a/testsuites/sptests/spfifo05/Makefile.am +++ b/testsuites/sptests/spfifo05/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spfifo05 spfifo05_SOURCES = init.c diff --git a/testsuites/sptests/spheapprot/Makefile.am b/testsuites/sptests/spheapprot/Makefile.am index 1a98ec2888..a7452b879b 100644 --- a/testsuites/sptests/spheapprot/Makefile.am +++ b/testsuites/sptests/spheapprot/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spheapprot spheapprot_SOURCES = init.c diff --git a/testsuites/sptests/spintrcritical01/Makefile.am b/testsuites/sptests/spintrcritical01/Makefile.am index e58e4f3cf2..3c7e20bcad 100644 --- a/testsuites/sptests/spintrcritical01/Makefile.am +++ b/testsuites/sptests/spintrcritical01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical01 spintrcritical01_SOURCES = init.c ../spintrcritical_support/intrcritical.c spintrcritical01_SOURCES += ../spintrcritical_support/intrcritical.h diff --git a/testsuites/sptests/spintrcritical02/Makefile.am b/testsuites/sptests/spintrcritical02/Makefile.am index 63facad222..51673e1728 100644 --- a/testsuites/sptests/spintrcritical02/Makefile.am +++ b/testsuites/sptests/spintrcritical02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical02 spintrcritical02_SOURCES = ../spintrcritical01/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical03/Makefile.am b/testsuites/sptests/spintrcritical03/Makefile.am index 075d57c556..ccf7ed83bb 100644 --- a/testsuites/sptests/spintrcritical03/Makefile.am +++ b/testsuites/sptests/spintrcritical03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical03 spintrcritical03_SOURCES = ../spintrcritical01/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical04/Makefile.am b/testsuites/sptests/spintrcritical04/Makefile.am index 2385912388..744939206c 100644 --- a/testsuites/sptests/spintrcritical04/Makefile.am +++ b/testsuites/sptests/spintrcritical04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical04 spintrcritical04_SOURCES = ../spintrcritical01/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical05/Makefile.am b/testsuites/sptests/spintrcritical05/Makefile.am index 533d1e91f1..0770ff24bd 100644 --- a/testsuites/sptests/spintrcritical05/Makefile.am +++ b/testsuites/sptests/spintrcritical05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical05 spintrcritical05_SOURCES = ../spintrcritical01/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical06/Makefile.am b/testsuites/sptests/spintrcritical06/Makefile.am index 31b0ec78db..bf5ca371d9 100644 --- a/testsuites/sptests/spintrcritical06/Makefile.am +++ b/testsuites/sptests/spintrcritical06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical06 spintrcritical06_SOURCES = init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical07/Makefile.am b/testsuites/sptests/spintrcritical07/Makefile.am index 84b008c2a5..25f83a68ee 100644 --- a/testsuites/sptests/spintrcritical07/Makefile.am +++ b/testsuites/sptests/spintrcritical07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical07 spintrcritical07_SOURCES = ../spintrcritical06/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical08/Makefile.am b/testsuites/sptests/spintrcritical08/Makefile.am index 78181b58f3..7ef9fca7e4 100644 --- a/testsuites/sptests/spintrcritical08/Makefile.am +++ b/testsuites/sptests/spintrcritical08/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical08 spintrcritical08_SOURCES = init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical09/Makefile.am b/testsuites/sptests/spintrcritical09/Makefile.am index fe2a4019ff..d16938246d 100644 --- a/testsuites/sptests/spintrcritical09/Makefile.am +++ b/testsuites/sptests/spintrcritical09/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical09 spintrcritical09_SOURCES = init.c ../spintrcritical_support/intrcritical.c spintrcritical09_SOURCES += ../spintrcritical_support/intrcritical.h diff --git a/testsuites/sptests/spintrcritical10/Makefile.am b/testsuites/sptests/spintrcritical10/Makefile.am index 94a225ca1e..ef6bd2e3d6 100644 --- a/testsuites/sptests/spintrcritical10/Makefile.am +++ b/testsuites/sptests/spintrcritical10/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical10 spintrcritical10_SOURCES = init.c ../spintrcritical_support/intrcritical.c spintrcritical10_SOURCES += ../spintrcritical_support/intrcritical.h diff --git a/testsuites/sptests/spintrcritical11/Makefile.am b/testsuites/sptests/spintrcritical11/Makefile.am index 02b4db5250..651956b4b2 100644 --- a/testsuites/sptests/spintrcritical11/Makefile.am +++ b/testsuites/sptests/spintrcritical11/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical11 spintrcritical11_SOURCES = init.c ../spintrcritical_support/intrcritical.c spintrcritical11_SOURCES += ../spintrcritical_support/intrcritical.h diff --git a/testsuites/sptests/spintrcritical12/Makefile.am b/testsuites/sptests/spintrcritical12/Makefile.am index 84766e19e7..d2af7171ff 100644 --- a/testsuites/sptests/spintrcritical12/Makefile.am +++ b/testsuites/sptests/spintrcritical12/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical12 spintrcritical12_SOURCES = ../spintrcritical11/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical13/Makefile.am b/testsuites/sptests/spintrcritical13/Makefile.am index 4e3bfdb021..07764c0652 100644 --- a/testsuites/sptests/spintrcritical13/Makefile.am +++ b/testsuites/sptests/spintrcritical13/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical13 spintrcritical13_SOURCES = init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical14/Makefile.am b/testsuites/sptests/spintrcritical14/Makefile.am index 35d2f74ce3..239129eb6a 100644 --- a/testsuites/sptests/spintrcritical14/Makefile.am +++ b/testsuites/sptests/spintrcritical14/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical14 spintrcritical14_SOURCES = ../spintrcritical13/init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical15/Makefile.am b/testsuites/sptests/spintrcritical15/Makefile.am index 7fda8772bd..13ff155935 100644 --- a/testsuites/sptests/spintrcritical15/Makefile.am +++ b/testsuites/sptests/spintrcritical15/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical15 spintrcritical15_SOURCES = init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical16/Makefile.am b/testsuites/sptests/spintrcritical16/Makefile.am index 663a6496ac..53ebf49ed5 100644 --- a/testsuites/sptests/spintrcritical16/Makefile.am +++ b/testsuites/sptests/spintrcritical16/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical16 spintrcritical16_SOURCES = init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spintrcritical17/Makefile.am b/testsuites/sptests/spintrcritical17/Makefile.am index 2393a47d73..27f0968fab 100644 --- a/testsuites/sptests/spintrcritical17/Makefile.am +++ b/testsuites/sptests/spintrcritical17/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spintrcritical17 spintrcritical17_SOURCES = init.c \ ../spintrcritical_support/intrcritical.c diff --git a/testsuites/sptests/spmkdir/Makefile.am b/testsuites/sptests/spmkdir/Makefile.am index 1d57dd1085..dbf00c26d2 100644 --- a/testsuites/sptests/spmkdir/Makefile.am +++ b/testsuites/sptests/spmkdir/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spmkdir spmkdir_SOURCES = init.c diff --git a/testsuites/sptests/spmountmgr01/Makefile.am b/testsuites/sptests/spmountmgr01/Makefile.am index 6c873bee8f..39d12e2ed2 100644 --- a/testsuites/sptests/spmountmgr01/Makefile.am +++ b/testsuites/sptests/spmountmgr01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spmountmgr01 spmountmgr01_SOURCES = init.c diff --git a/testsuites/sptests/spnotepad01/Makefile.am b/testsuites/sptests/spnotepad01/Makefile.am index bea746a34a..30bd24a186 100644 --- a/testsuites/sptests/spnotepad01/Makefile.am +++ b/testsuites/sptests/spnotepad01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spnotepad01 spnotepad01_SOURCES = init.c diff --git a/testsuites/sptests/spnsext01/Makefile.am b/testsuites/sptests/spnsext01/Makefile.am index 92223adc59..41e682eb4c 100644 --- a/testsuites/sptests/spnsext01/Makefile.am +++ b/testsuites/sptests/spnsext01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spnsext01 spnsext01_SOURCES = init.c diff --git a/testsuites/sptests/spobjgetnext/Makefile.am b/testsuites/sptests/spobjgetnext/Makefile.am index bc596e20de..e56b4cdb14 100644 --- a/testsuites/sptests/spobjgetnext/Makefile.am +++ b/testsuites/sptests/spobjgetnext/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spobjgetnext spobjgetnext_SOURCES = init.c system.h diff --git a/testsuites/sptests/spprintk/Makefile.am b/testsuites/sptests/spprintk/Makefile.am index 9d534d76d8..513da3e999 100644 --- a/testsuites/sptests/spprintk/Makefile.am +++ b/testsuites/sptests/spprintk/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spprintk spprintk_SOURCES = init.c diff --git a/testsuites/sptests/spprivenv01/Makefile.am b/testsuites/sptests/spprivenv01/Makefile.am index e3dcefa050..b8d465bccf 100644 --- a/testsuites/sptests/spprivenv01/Makefile.am +++ b/testsuites/sptests/spprivenv01/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + rtems_tests_PROGRAMS = spprivenv01 spprivenv01_SOURCES = init.c diff --git a/testsuites/sptests/spqreslib/Makefile.am b/testsuites/sptests/spqreslib/Makefile.am index 72b5277f34..bd8323ff9d 100644 --- a/testsuites/sptests/spqreslib/Makefile.am +++ b/testsuites/sptests/spqreslib/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + MANAGERS = io rate_monotonic semaphore clock rtems_tests_PROGRAMS = spqreslib diff --git a/testsuites/sptests/spqreslib/init.c b/testsuites/sptests/spqreslib/init.c index 20745d7ea2..139a56ec64 100644 --- a/testsuites/sptests/spqreslib/init.c +++ b/testsuites/sptests/spqreslib/init.c @@ -21,6 +21,12 @@ #define CONFIGURE_INIT #include "system.h" +rtems_id Task_id; +rtems_task_priority Priority; +time_t Period; +time_t Execution; +time_t Phase; + rtems_task Init( rtems_task_argument argument ) @@ -46,10 +52,9 @@ rtems_task Init( puts( "\n\n*** TEST QRES LIBRARY ***" ); - Task_name = rtems_build_name( 'P', 'T', '1', ' ' ); status = rtems_task_create( - Task_name, + rtems_build_name( 'P', 'T', '1', ' ' ), Priority, RTEMS_MINIMUM_STACK_SIZE * 4, RTEMS_DEFAULT_MODES, diff --git a/testsuites/sptests/spqreslib/system.h b/testsuites/sptests/spqreslib/system.h index 1f229687c7..505ec0a85e 100644 --- a/testsuites/sptests/spqreslib/system.h +++ b/testsuites/sptests/spqreslib/system.h @@ -52,11 +52,10 @@ rtems_task Task_Periodic( /* global variables */ -rtems_id Task_id; -rtems_name Task_name; -rtems_task_priority Priority; -time_t Period; -time_t Execution; -time_t Phase; +extern rtems_id Task_id; +extern rtems_task_priority Priority; +extern time_t Period; +extern time_t Execution; +extern time_t Phase; /* end of include file */ diff --git a/testsuites/sptests/sprbtree01/Makefile.am b/testsuites/sptests/sprbtree01/Makefile.am index b65b6adbe0..7704ee4c5b 100644 --- a/testsuites/sptests/sprbtree01/Makefile.am +++ b/testsuites/sptests/sprbtree01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = sprbtree01 sprbtree01_SOURCES = init.c diff --git a/testsuites/sptests/sprbtree01/init.c b/testsuites/sptests/sprbtree01/init.c index 7d0d3f60c7..76035f0bf4 100644 --- a/testsuites/sptests/sprbtree01/init.c +++ b/testsuites/sptests/sprbtree01/init.c @@ -439,13 +439,13 @@ rtems_task Init( } puts( "INIT - Verify rtems_rbtree_predecessor/successor"); - p = rtems_rbtree_predecessor(&rbtree1, p); + p = rtems_rbtree_predecessor(p); if(p && rtems_rbtree_container_of(p,test_node,Node)->id != 29) { puts ("INIT - ERROR ON RBTREE ID MISMATCH"); rtems_test_exit(0); } p = rtems_rbtree_find(&rbtree1, &search_node.Node); - p = rtems_rbtree_successor(&rbtree1, p); + p = rtems_rbtree_successor(p); if(p && rtems_rbtree_container_of(p,test_node,Node)->id != 31) { puts ("INIT - ERROR ON RBTREE ID MISMATCH"); rtems_test_exit(0); diff --git a/testsuites/sptests/spsimplesched01/Makefile.am b/testsuites/sptests/spsimplesched01/Makefile.am index a12bc2ecc8..646a3ac70b 100644 --- a/testsuites/sptests/spsimplesched01/Makefile.am +++ b/testsuites/sptests/spsimplesched01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spsimplesched01 spsimplesched01_SOURCES = init.c diff --git a/testsuites/sptests/spsimplesched02/Makefile.am b/testsuites/sptests/spsimplesched02/Makefile.am index b32f50eef8..7d608abe23 100644 --- a/testsuites/sptests/spsimplesched02/Makefile.am +++ b/testsuites/sptests/spsimplesched02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spsimplesched02 spsimplesched02_SOURCES = init.c diff --git a/testsuites/sptests/spsimplesched03/Makefile.am b/testsuites/sptests/spsimplesched03/Makefile.am index e5bc1e7455..6b5ed31c0c 100644 --- a/testsuites/sptests/spsimplesched03/Makefile.am +++ b/testsuites/sptests/spsimplesched03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spsimplesched03 spsimplesched03_SOURCES = init.c diff --git a/testsuites/sptests/spsize/Makefile.am b/testsuites/sptests/spsize/Makefile.am index c3b59dbf04..e3653c7c99 100644 --- a/testsuites/sptests/spsize/Makefile.am +++ b/testsuites/sptests/spsize/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spsize spsize_SOURCES = init.c getint.c size.c system.h diff --git a/testsuites/sptests/spstkalloc/Makefile.am b/testsuites/sptests/spstkalloc/Makefile.am index 86a10c84b0..d8cf668fd0 100644 --- a/testsuites/sptests/spstkalloc/Makefile.am +++ b/testsuites/sptests/spstkalloc/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spstkalloc spstkalloc_SOURCES = init.c diff --git a/testsuites/sptests/spstkalloc02/Makefile.am b/testsuites/sptests/spstkalloc02/Makefile.am index 36150dc3fe..5058d34bae 100644 --- a/testsuites/sptests/spstkalloc02/Makefile.am +++ b/testsuites/sptests/spstkalloc02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spstkalloc02 spstkalloc02_SOURCES = init.c diff --git a/testsuites/sptests/spthreadq01/Makefile.am b/testsuites/sptests/spthreadq01/Makefile.am index e2c950c08d..4edbd45f37 100644 --- a/testsuites/sptests/spthreadq01/Makefile.am +++ b/testsuites/sptests/spthreadq01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spthreadq01 spthreadq01_SOURCES = init.c diff --git a/testsuites/sptests/spwatchdog/Makefile.am b/testsuites/sptests/spwatchdog/Makefile.am index 636ad5aa95..a01d959a13 100644 --- a/testsuites/sptests/spwatchdog/Makefile.am +++ b/testsuites/sptests/spwatchdog/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spwatchdog spwatchdog_SOURCES = init.c task1.c system.h prtime.c delay.c diff --git a/testsuites/sptests/spwkspace/Makefile.am b/testsuites/sptests/spwkspace/Makefile.am index 04126e027b..a2f052f3ff 100644 --- a/testsuites/sptests/spwkspace/Makefile.am +++ b/testsuites/sptests/spwkspace/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = spwkspace spwkspace_SOURCES = init.c diff --git a/testsuites/tmtests/Makefile.am b/testsuites/tmtests/Makefile.am index 2e473653d4..cff96a164e 100644 --- a/testsuites/tmtests/Makefile.am +++ b/testsuites/tmtests/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../aclocal SUBDIRS = tmck tmoverhd tm01 tm02 tm03 tm04 tm05 tm06 tm07 tm08 tm09 tm10 \ diff --git a/testsuites/tmtests/configure.ac b/testsuites/tmtests/configure.ac index 10656e1376..60715a959d 100644 --- a/testsuites/tmtests/configure.ac +++ b/testsuites/tmtests/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-tmtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/tmtests/tm01/Makefile.am b/testsuites/tmtests/tm01/Makefile.am index e698944be6..8f840eb987 100644 --- a/testsuites/tmtests/tm01/Makefile.am +++ b/testsuites/tmtests/tm01/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm01 tm01_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm02/Makefile.am b/testsuites/tmtests/tm02/Makefile.am index 89b88e1a74..9c57a76c59 100644 --- a/testsuites/tmtests/tm02/Makefile.am +++ b/testsuites/tmtests/tm02/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm02 tm02_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm03/Makefile.am b/testsuites/tmtests/tm03/Makefile.am index a02800daf6..ebc26df189 100644 --- a/testsuites/tmtests/tm03/Makefile.am +++ b/testsuites/tmtests/tm03/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm03 tm03_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm04/Makefile.am b/testsuites/tmtests/tm04/Makefile.am index 1282279e75..15f80a5e40 100644 --- a/testsuites/tmtests/tm04/Makefile.am +++ b/testsuites/tmtests/tm04/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm04 tm04_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm05/Makefile.am b/testsuites/tmtests/tm05/Makefile.am index 8929dacaa9..e27e032f3d 100644 --- a/testsuites/tmtests/tm05/Makefile.am +++ b/testsuites/tmtests/tm05/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm05 tm05_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm06/Makefile.am b/testsuites/tmtests/tm06/Makefile.am index aa8100e64e..f267ab3086 100644 --- a/testsuites/tmtests/tm06/Makefile.am +++ b/testsuites/tmtests/tm06/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm06 tm06_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm07/Makefile.am b/testsuites/tmtests/tm07/Makefile.am index 91ee525bba..0f541abd03 100644 --- a/testsuites/tmtests/tm07/Makefile.am +++ b/testsuites/tmtests/tm07/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm07 tm07_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm08/Makefile.am b/testsuites/tmtests/tm08/Makefile.am index e229d0cd3f..4f97695609 100644 --- a/testsuites/tmtests/tm08/Makefile.am +++ b/testsuites/tmtests/tm08/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm08 tm08_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm09/Makefile.am b/testsuites/tmtests/tm09/Makefile.am index 34491945f4..fcb2c192c6 100644 --- a/testsuites/tmtests/tm09/Makefile.am +++ b/testsuites/tmtests/tm09/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm09 tm09_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm10/Makefile.am b/testsuites/tmtests/tm10/Makefile.am index 2fa4427b27..e281c47c0f 100644 --- a/testsuites/tmtests/tm10/Makefile.am +++ b/testsuites/tmtests/tm10/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm10 tm10_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm11/Makefile.am b/testsuites/tmtests/tm11/Makefile.am index 410cfc1808..6eec0e85df 100644 --- a/testsuites/tmtests/tm11/Makefile.am +++ b/testsuites/tmtests/tm11/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm11 tm11_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm12/Makefile.am b/testsuites/tmtests/tm12/Makefile.am index 0c20d3d561..82b129e5cb 100644 --- a/testsuites/tmtests/tm12/Makefile.am +++ b/testsuites/tmtests/tm12/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm12 tm12_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm13/Makefile.am b/testsuites/tmtests/tm13/Makefile.am index 5967389e56..07fd8714d5 100644 --- a/testsuites/tmtests/tm13/Makefile.am +++ b/testsuites/tmtests/tm13/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm13 tm13_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm14/Makefile.am b/testsuites/tmtests/tm14/Makefile.am index 8874753a06..e46ee2781e 100644 --- a/testsuites/tmtests/tm14/Makefile.am +++ b/testsuites/tmtests/tm14/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm14 tm14_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm15/Makefile.am b/testsuites/tmtests/tm15/Makefile.am index ec043a7170..ebfb891e3a 100644 --- a/testsuites/tmtests/tm15/Makefile.am +++ b/testsuites/tmtests/tm15/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm15 tm15_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm16/Makefile.am b/testsuites/tmtests/tm16/Makefile.am index 0b3dff8009..6536a0c1d1 100644 --- a/testsuites/tmtests/tm16/Makefile.am +++ b/testsuites/tmtests/tm16/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm16 tm16_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm17/Makefile.am b/testsuites/tmtests/tm17/Makefile.am index de3b3a0afb..29cbc92d98 100644 --- a/testsuites/tmtests/tm17/Makefile.am +++ b/testsuites/tmtests/tm17/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm17 tm17_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm18/Makefile.am b/testsuites/tmtests/tm18/Makefile.am index e83e926e79..60e4073385 100644 --- a/testsuites/tmtests/tm18/Makefile.am +++ b/testsuites/tmtests/tm18/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm18 tm18_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm19/Makefile.am b/testsuites/tmtests/tm19/Makefile.am index f63305a468..6c10e68e07 100644 --- a/testsuites/tmtests/tm19/Makefile.am +++ b/testsuites/tmtests/tm19/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm19 tm19_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm20/Makefile.am b/testsuites/tmtests/tm20/Makefile.am index 22abfd19c9..5dd0a0e062 100644 --- a/testsuites/tmtests/tm20/Makefile.am +++ b/testsuites/tmtests/tm20/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm20 tm20_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm21/Makefile.am b/testsuites/tmtests/tm21/Makefile.am index 103ebe213e..e4351e7522 100644 --- a/testsuites/tmtests/tm21/Makefile.am +++ b/testsuites/tmtests/tm21/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm21 tm21_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm22/Makefile.am b/testsuites/tmtests/tm22/Makefile.am index 4b0feb1c20..55351c57e7 100644 --- a/testsuites/tmtests/tm22/Makefile.am +++ b/testsuites/tmtests/tm22/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm22 tm22_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm23/Makefile.am b/testsuites/tmtests/tm23/Makefile.am index ac0901267a..abb7d86b54 100644 --- a/testsuites/tmtests/tm23/Makefile.am +++ b/testsuites/tmtests/tm23/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm23 tm23_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm24/Makefile.am b/testsuites/tmtests/tm24/Makefile.am index a0deda11df..139e0f7f95 100644 --- a/testsuites/tmtests/tm24/Makefile.am +++ b/testsuites/tmtests/tm24/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm24 tm24_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm25/Makefile.am b/testsuites/tmtests/tm25/Makefile.am index 5d31d1522c..ae762fcac8 100644 --- a/testsuites/tmtests/tm25/Makefile.am +++ b/testsuites/tmtests/tm25/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm25 tm25_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm26/Makefile.am b/testsuites/tmtests/tm26/Makefile.am index 44f58718c1..2544ab58ba 100644 --- a/testsuites/tmtests/tm26/Makefile.am +++ b/testsuites/tmtests/tm26/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm26 tm26_SOURCES = task1.c system.h fptest.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm27/Makefile.am b/testsuites/tmtests/tm27/Makefile.am index 8c2559a54a..90bcd1cc1c 100644 --- a/testsuites/tmtests/tm27/Makefile.am +++ b/testsuites/tmtests/tm27/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm27 tm27_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm28/Makefile.am b/testsuites/tmtests/tm28/Makefile.am index d43c7b355c..9560dbd021 100644 --- a/testsuites/tmtests/tm28/Makefile.am +++ b/testsuites/tmtests/tm28/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm28 tm28_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm29/Makefile.am b/testsuites/tmtests/tm29/Makefile.am index 70f96ce188..fccdfa8bff 100644 --- a/testsuites/tmtests/tm29/Makefile.am +++ b/testsuites/tmtests/tm29/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm29 tm29_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tm30/Makefile.am b/testsuites/tmtests/tm30/Makefile.am index 4655688111..04d8bb1336 100644 --- a/testsuites/tmtests/tm30/Makefile.am +++ b/testsuites/tmtests/tm30/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tm30 tm30_SOURCES = init.c ../include/timesys.h \ ../../support/src/tmtests_empty_function.c \ diff --git a/testsuites/tmtests/tm30/init.c b/testsuites/tmtests/tm30/init.c index 88bc4bbfcd..77c797bb53 100644 --- a/testsuites/tmtests/tm30/init.c +++ b/testsuites/tmtests/tm30/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2010. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -21,6 +21,10 @@ rtems_id barrier[ OPERATION_COUNT ]; +rtems_task Init( + rtems_task_argument argument +); + static void benchmark_barrier_create( int iteration, void *argument diff --git a/testsuites/tmtests/tmck/Makefile.am b/testsuites/tmtests/tmck/Makefile.am index a055a774a2..162838f8af 100644 --- a/testsuites/tmtests/tmck/Makefile.am +++ b/testsuites/tmtests/tmck/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tmck tmck_SOURCES = task1.c system.h ../include/timesys.h \ ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tmtests/tmoverhd/Makefile.am b/testsuites/tmtests/tmoverhd/Makefile.am index c35f318b1f..bc07418480 100644 --- a/testsuites/tmtests/tmoverhd/Makefile.am +++ b/testsuites/tmtests/tmoverhd/Makefile.am @@ -1,3 +1,8 @@ +## +## $Id$ +## + + rtems_tests_PROGRAMS = tmoverhd tmoverhd_SOURCES = testtask.c empty.c system.h dumrtems.h \ ../include/timesys.h ../../support/src/tmtests_empty_function.c diff --git a/testsuites/tools/Makefile.am b/testsuites/tools/Makefile.am index 6033081ace..3a7fd41163 100644 --- a/testsuites/tools/Makefile.am +++ b/testsuites/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../aclocal SUBDIRS = @subdirs@ diff --git a/testsuites/tools/configure.ac b/testsuites/tools/configure.ac index a63b5dbdbf..2d8be189f1 100644 --- a/testsuites/tools/configure.ac +++ b/testsuites/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/testsuites/tools/generic/Makefile.am b/testsuites/tools/generic/Makefile.am index 2b4a6fcef3..6591bf76de 100644 --- a/testsuites/tools/generic/Makefile.am +++ b/testsuites/tools/generic/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal bin_SCRIPTS = difftest sorttimes diff --git a/testsuites/tools/generic/configure.ac b/testsuites/tools/generic/configure.ac index 7c7597b304..6f5d6aac54 100644 --- a/testsuites/tools/generic/configure.ac +++ b/testsuites/tools/generic/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-tests-tools-generic],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/tools/build/Makefile.am b/tools/build/Makefile.am index 53067d935e..f58624929f 100644 --- a/tools/build/Makefile.am +++ b/tools/build/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../aclocal bin_PROGRAMS = cklength eolstrip packhex unhex rtems-bin2c diff --git a/tools/build/configure.ac b/tools/build/configure.ac index a485dc3dec..d24f3e2d5a 100644 --- a/tools/build/configure.ac +++ b/tools/build/configure.ac @@ -1,3 +1,7 @@ +# +# $Id$ +# + AC_PREREQ([2.68]) AC_INIT([rtems-tools-build],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) AC_CONFIG_SRCDIR([install-if-change.in]) diff --git a/tools/cpu/Makefile.am b/tools/cpu/Makefile.am index 460de891c2..43b1da1524 100644 --- a/tools/cpu/Makefile.am +++ b/tools/cpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../aclocal SUBDIRS = @subdirs@ diff --git a/tools/cpu/configure.ac b/tools/cpu/configure.ac index 918cbdf692..f5ae63bfbf 100644 --- a/tools/cpu/configure.ac +++ b/tools/cpu/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-tools-cpu],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/tools/cpu/generic/Makefile.am b/tools/cpu/generic/Makefile.am index af48742ee0..8f4d18658f 100644 --- a/tools/cpu/generic/Makefile.am +++ b/tools/cpu/generic/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal noinst_SCRIPTS = size_rtems diff --git a/tools/cpu/generic/configure.ac b/tools/cpu/generic/configure.ac index e76e5a9e28..0ac6687587 100644 --- a/tools/cpu/generic/configure.ac +++ b/tools/cpu/generic/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-tools-cpu-generic],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/tools/cpu/nios2/Makefile.am b/tools/cpu/nios2/Makefile.am index 5d67affcdc..254d245d27 100644 --- a/tools/cpu/nios2/Makefile.am +++ b/tools/cpu/nios2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal noinst_PROGRAMS = nios2gen diff --git a/tools/cpu/nios2/configure.ac b/tools/cpu/nios2/configure.ac index 02b9ffed78..a2b2041074 100644 --- a/tools/cpu/nios2/configure.ac +++ b/tools/cpu/nios2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-tools-cpu-nios2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/tools/cpu/sh/Makefile.am b/tools/cpu/sh/Makefile.am index e72f37dd77..be30a63c12 100644 --- a/tools/cpu/sh/Makefile.am +++ b/tools/cpu/sh/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal noinst_PROGRAMS = shgen diff --git a/tools/cpu/sh/configure.ac b/tools/cpu/sh/configure.ac index 38cf5bc0d1..82fae15f96 100644 --- a/tools/cpu/sh/configure.ac +++ b/tools/cpu/sh/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-tools-cpu-sh],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |