2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* include/.cvsignore: Remove.
	* include/Makefile.am: Remove.
	* include/timesys.h: Remove.
	* .cvsignore: Remove.
	* ChangeLog: Remove.
	* Makefile.am: Remove.
	* README: Remove.
	* configure.ac: Remove.
	* tmitrontests.am: Remove.
	* tmitronsem01/.cvsignore: Remove.
	* tmitronsem01/Makefile.am: Remove.
	* tmitronsem01/init.c: Remove.
	* tmitronsem01/system.h: Remove.
	* tmitronsem01/tmitronsem01.doc: Remove.
This commit is contained in:
Ralf Corsepius
2003-11-11 01:00:22 +00:00
parent 124080ced0
commit 1931470a9d
14 changed files with 0 additions and 528 deletions

View File

@@ -1,14 +0,0 @@
aclocal.m4
autom4te*.cache
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
Makefile
Makefile.in
missing
mkinstalldirs

View File

@@ -1,139 +0,0 @@
2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/.cvsignore: Remove.
* include/Makefile.am: Remove.
* include/timesys.h: Remove.
* .cvsignore: Remove.
* ChangeLog: Remove.
* Makefile.am: Remove.
* README: Remove.
* configure.ac: Remove.
* tmitrontests.am: Remove.
* tmitronsem01/.cvsignore: Remove.
* tmitronsem01/Makefile.am: Remove.
* tmitronsem01/init.c: Remove.
* tmitronsem01/system.h: Remove.
* tmitronsem01/tmitronsem01.doc: Remove.
2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CANONICAL_HOST.
2003-10-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:Remove RTEMS_CHECK_CPU.
2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/timesys.h, tmitronsem01/init.c, tmitronsem01/system.h,
tmitronsem01/tmitronsem01.doc: URL for license changed.
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect having moved aclocal/.
2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect having moved automake/.
* include/Makefile.am: Reflect having moved automake/.
* tmitronsem01/Makefile.am: Reflect having moved automake/.
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove CC_CFLAGS_DEBUG_V.
CC_CFLAGS_DEFAULT (obsolete).
2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove CC_CFLAGS_PROFILE_V.
Remove CC_LDFLAGS_PROFILE_V.
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
Add autom4te*cache.
Remove autom4te.cache.
2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tmitronsem01/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-01 Joel Sherrill <joel@OARcorp.com>
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* tmitronsem01/init.c: Modified.
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* tmitronsem01/Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tmitrontests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tmitronsem01/Makefile.am: include leaf.am instead of leaf.cfg.
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
Switch to GNU canonicalization.
* tmitrontests.am: Remove DEFS.
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tmitronsem01/Makefile.am: Include compile.am
2000-08-10 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: New file.

View File

@@ -1,14 +0,0 @@
##
## $Id$
##
ACLOCAL_AMFLAGS = -I ../aclocal
ITRON_DIRS = include tmitronsem01
SUBDIRS = $(ITRON_DIRS)
EXTRA_DIST = tmitrontests.am
include $(top_srcdir)/../automake/subdirs.am
include $(top_srcdir)/../automake/local.am

View File

@@ -1,6 +0,0 @@
#
# $Id$
#
This directory contains the functionality tests for the ITRON 3.0 API
implementation.

View File

@@ -1,38 +0,0 @@
## Process this file with autoconf to produce a configure script.
##
## $Id$
AC_PREREQ(2.57)
AC_INIT([rtems-c-src-tests-tmitrontests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
AC_CONFIG_SRCDIR([tmitronsem01])
RTEMS_TOP(../../../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
AM_MAINTAINER_MODE
RTEMS_ENABLE_BARE
RTEMS_ENV_RTEMSBSP
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
RTEMS_CANONICALIZE_TOOLS
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
AC_SUBST(BARE_CPU_CFLAGS)
AC_SUBST(BARE_CPU_MODEL)
OPERATION_COUNT=${OPERATION_COUNT-100}
AC_SUBST(OPERATION_COUNT)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
include/Makefile
tmitronsem01/Makefile
])
AC_OUTPUT

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -1,8 +0,0 @@
##
## $Id$
##
noinst_HEADERS = timesys.h
include $(top_srcdir)/../automake/local.am

View File

@@ -1,55 +0,0 @@
/* timesys.h
*
* This header file contains the global variables for the Time
* suite.
*
* 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 <tmacros.h>
/*
* How many times a particular operation is performed while timed.
*/
#ifndef OPERATION_COUNT
#define OPERATION_COUNT 100
#endif
/* functions */
#define put_time( _message, _total_time, \
_iterations, _loop_overhead, _overhead ) \
printf( \
"%s %d\n", \
(_message), \
(((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \
)
#if defined(STACK_CHECKER_ON) || defined(RTEMS_DEBUG)
#define Print_Warning() \
do { \
puts( \
"\n" \
"THE TIMES REPORTED BY THIS TEST INCLUDE DEBUG CODE!\n" \
"\n" \
); \
} while (0)
#else
#define Print_Warning()
#endif
/* variables */
TEST_EXTERN volatile unsigned32 end_time; /* ending time variable */
TEST_EXTERN volatile unsigned32 overhead; /* loop overhead variable */
/* end of include file */

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -1,45 +0,0 @@
##
## $Id$
##
TEST = tmitronsem01
MANAGERS = all
C_FILES = init.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
H_FILES = system.h
noinst_HEADERS = $(H_FILES)
DOCTYPES = doc
DOCS = $(DOCTYPES:%=$(TEST).%)
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
OBJS = $(C_O_FILES)
PRINT_SRCS = $(DOCS)
PGM = ${ARCH}/$(TEST).exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
include $(top_srcdir)/tmitrontests.am
#
# (OPTIONAL) Add local stuff here using +=
#
OPERATION_COUNT = @OPERATION_COUNT@
AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
all-local: $(ARCH) $(TMPINSTALL_FILES)
EXTRA_DIST = $(C_FILES) $(DOCS)
include $(top_srcdir)/../automake/local.am

View File

@@ -1,144 +0,0 @@
/* Init
*
* This routine is the initialization task for this test program.
* It is called from init_exec and has the responsibility for creating
* and starting the tasks that make up the test. If the time of day
* clock is required for the test, it should also be set to a known
* value by this function.
*
* Input parameters: NONE
*
* Output parameters: NONE
*
* 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$
*/
#define TEST_INIT
#include "system.h"
#include <timesys.h>
#include <stdio.h>
void ITRON_Init( void )
{
T_CSEM pk_csem;
T_RSEM pk_rsem;
int index;
pk_csem.isemcnt = 2;
pk_csem.maxsem = 3;
pk_csem.sematr = TA_TFIFO;
printf( "\n\n*** TMITRON01 -- ITRON TIMING TEST ***\n" );
/*
* time one invocation of cre_sem
*/
Timer_initialize();
(void) cre_sem( 1, &pk_csem );
end_time = Read_timer();
put_time(
"cre_sem",
end_time,
1,
0, /* no loop overhead to take out */
0 /* no calling overhead */
);
/*
* time one invocation of del_sem
*/
Timer_initialize();
(void) del_sem( 1 );
end_time = Read_timer();
put_time(
"del_sem",
end_time,
1,
0, /* no loop overhead to take out */
0 /* no calling overhead */
);
pk_csem.isemcnt = 100;
pk_csem.maxsem = 100;
pk_csem.sematr = TA_TFIFO;
(void) cre_sem( 1, &pk_csem );
/*
* time preq_sem (available)
*/
Timer_initialize();
for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
(void) preq_sem( 1 );
end_time = Read_timer();
put_time(
"preq_sem (available)",
end_time,
OPERATION_COUNT,
0, /* don't take the loop overhead out */
0 /* no calling overhead */
);
/*
* time preq_sem (not available)
*/
Timer_initialize();
for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
(void) preq_sem( 1 );
end_time = Read_timer();
put_time(
"preq_sem (not available)",
end_time,
OPERATION_COUNT,
0, /* don't take the loop overhead out */
0 /* no calling overhead */
);
/*
* time sig_sem (no waiting tasks)
*/
Timer_initialize();
for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
(void) sig_sem( 1 );
end_time = Read_timer();
put_time(
"sig_sem (no waiting tasks)",
end_time,
OPERATION_COUNT,
0, /* don't take the loop overhead out */
0 /* no calling overhead */
);
/*
* time ref_sem
*/
Timer_initialize();
for ( index = 1 ; index<=OPERATION_COUNT ; index++ )
(void) ref_sem( 1, &pk_rsem );
end_time = Read_timer();
put_time(
"ref_sem",
end_time,
OPERATION_COUNT,
0, /* don't take the loop overhead out */
0 /* no calling overhead */
);
printf( "\n\nXXX ADD BLOCKING AND PREEMPTING TIME TESTS\n\n" );
printf( "*** END OF TMITRON01 -- ITRON TIMING TEST ***\n" );
rtems_test_exit( 0 );
}

View File

@@ -1,39 +0,0 @@
/* system.h
*
* This include file contains information that is included in every
* function in the test set.
*
* 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 <tmacros.h>
#include <itron.h>
#include <assert.h>
/* functions */
void ITRON_Init( void );
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_MAXIMUM_ITRON_TASKS 1
#define CONFIGURE_MAXIMUM_ITRON_SEMAPHORES 100
#define CONFIGURE_ITRON_INIT_TASK_TABLE
#include <confdefs.h>
/* global variables */
TEST_EXTERN rtems_id Global_variable; /* example global variable */
/* end of include file */

View File

@@ -1,9 +0,0 @@
#
# $Id$
#
# 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.
#
Time some basic ITRON semaphore operations

View File

@@ -1,13 +0,0 @@
## $Id$
project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
$(project_bspdir)/tests:
@$(mkinstalldirs) $@
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
$(INSTALL_PROGRAM) $< $@
TMPINSTALL_FILES = \
$(project_bspdir)/tests \
$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe