Commit Graph

26 Commits

Author SHA1 Message Date
bjorn larsson
2ead50ac4e tmtests: convert to test.h 2014-03-25 08:06:37 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Joel Sherrill
a98d5fc291 tmoverhd/testtask.c: Fix output to be consistent 2013-12-07 19:45:11 -06:00
Joel Sherrill
a03d4453dd tmoverhd - Eliminate warnings 2012-05-11 09:25:49 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
a4bc4d6e29 Add HAVE_CONFIG_H. 2011-02-22 10:00:39 +00:00
Ralf Corsepius
b5c8e278c6 2009-11-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* tmoverhd/testtask.c: Apply RTEMS_GCC_NOWARN_USED.
2009-11-02 11:13:59 +00:00
Joel Sherrill
4389287a39 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm16/task1.c,
	tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c, tm21/task1.c,
	tm23/task1.c, tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c,
	tm28/task1.c, tm29/task1.c, tmoverhd/testtask.c: Run all tests
	successfully with maxixum number of priorities as 16 instead of 256.
	This was done by temporarily modifying the score priority.h maximum.
	This allowed testing of all API code to ensure that it worked
	properly with a reduced number of priorities. Most modifications were
	to switch from hard-coded maximum to using the API provided methods
	to determine maximum number of priority levels.
2008-12-14 18:38:45 +00:00
Joel Sherrill
dbf4f175ac 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/Makefile.am, tm01/task1.c, tm02/Makefile.am, tm02/task1.c,
	tm03/Makefile.am, tm03/task1.c, tm04/Makefile.am, tm04/task1.c,
	tm05/Makefile.am, tm05/task1.c, tm06/Makefile.am, tm06/task1.c,
	tm07/Makefile.am, tm07/task1.c, tm08/Makefile.am, tm08/task1.c,
	tm09/Makefile.am, tm09/task1.c, tm10/Makefile.am, tm10/task1.c,
	tm11/Makefile.am, tm11/task1.c, tm12/Makefile.am, tm12/task1.c,
	tm13/Makefile.am, tm13/task1.c, tm14/Makefile.am, tm14/task1.c,
	tm15/Makefile.am, tm15/task1.c, tm16/Makefile.am, tm16/task1.c,
	tm17/Makefile.am, tm17/task1.c, tm18/Makefile.am, tm18/task1.c,
	tm19/Makefile.am, tm19/task1.c, tm20/Makefile.am, tm20/task1.c,
	tm21/Makefile.am, tm21/task1.c, tm22/Makefile.am, tm22/task1.c,
	tm23/Makefile.am, tm23/task1.c, tm24/Makefile.am, tm24/task1.c,
	tm25/Makefile.am, tm25/task1.c, tm26/Makefile.am, tm26/task1.c,
	tm27/Makefile.am, tm27/task1.c, tm28/Makefile.am, tm28/task1.c,
	tm29/Makefile.am, tm29/task1.c, tmck/Makefile.am, tmck/task1.c,
	tmoverhd/Makefile.am, tmoverhd/testtask.c: Eliminate empty function
	from every benchmark timer driver. Fix spelling.
2008-08-31 17:21:47 +00:00
Joel Sherrill
4074e70b03 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
	tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
	tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
	tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
	tmoverhd/testtask.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:47:18 +00:00
Joel Sherrill
d1128e26a3 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
	tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
	tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
	tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
	tmoverhd/testtask.c: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:16 +00:00
Joel Sherrill
9a56628e7b 2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* tmoverhd/testtask.c: Spacing and remove call to obsolete
	rtems_initialize_executive().
2007-12-05 22:24:53 +00:00
Joel Sherrill
c610850ede 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmoverhd/testtask.c: Move interrupt_stack_size field from CPU Table
	to Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:18:39 +00:00
Ralf Corsepius
0720ff433e 2004-03-28 Ralf Corsepius <ralf_corsepius@rtems.org>
* include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c,
	tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c,
	tm08/task1.c, tm09/task1.c, tm10/task1.c, tm11/task1.c,
	tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
	tm16/task1.c, tm17/task1.c, tm18/task1.c, tm20/task1.c,
	tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c,
	tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c,
	tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Convert to using
	c99 fixed size types.
2004-03-28 07:20:11 +00:00
Joel Sherrill
95a81ab4eb 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/timesys.h, tm01/system.h, tm01/task1.c, tm01/tm01.doc,
	tm02/system.h, tm02/task1.c, tm02/tm02.doc, tm03/system.h,
	tm03/task1.c, tm03/tm03.doc, tm04/system.h, tm04/task1.c,
	tm04/tm04.doc, tm05/system.h, tm05/task1.c, tm05/tm05.doc,
	tm06/system.h, tm06/task1.c, tm06/tm06.doc, tm07/system.h,
	tm07/task1.c, tm07/tm07.doc, tm08/system.h, tm08/task1.c,
	tm08/tm08.doc, tm09/system.h, tm09/task1.c, tm09/tm09.doc,
	tm10/system.h, tm10/task1.c, tm10/tm10.doc, tm11/system.h,
	tm11/task1.c, tm11/tm11.doc, tm12/system.h, tm12/task1.c,
	tm12/tm12.doc, tm13/system.h, tm13/task1.c, tm13/tm13.doc,
	tm14/system.h, tm14/task1.c, tm14/tm14.doc, tm15/system.h,
	tm15/task1.c, tm15/tm15.doc, tm16/system.h, tm16/task1.c,
	tm16/tm16.doc, tm17/system.h, tm17/task1.c, tm17/tm17.doc,
	tm18/system.h, tm18/task1.c, tm18/tm18.doc, tm19/system.h,
	tm19/task1.c, tm19/tm19.doc, tm20/system.h, tm20/task1.c,
	tm20/tm20.doc, tm21/system.h, tm21/task1.c, tm21/tm21.doc,
	tm22/system.h, tm22/task1.c, tm22/tm22.doc, tm23/system.h,
	tm23/task1.c, tm23/tm23.doc, tm24/system.h, tm24/task1.c,
	tm24/tm24.doc, tm25/system.h, tm25/task1.c, tm25/tm25.doc,
	tm26/fptest.h, tm26/system.h, tm26/task1.c, tm26/tm26.doc,
	tm27/system.h, tm27/task1.c, tm27/tm27.doc, tm28/system.h,
	tm28/task1.c, tm28/tm28.doc, tm29/system.h, tm29/task1.c,
	tm29/tm29.doc, tmck/system.h, tmck/task1.c, tmck/tmck.doc,
	tmoverhd/dumrtems.h, tmoverhd/empty.c, tmoverhd/system.h,
	tmoverhd/testtask.c, tmoverhd/tmoverhd.doc: URL for license changed.
2003-09-04 18:53:55 +00:00
Joel Sherrill
b454bc9149 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.
	* include/timesys.h, tm01/task1.c, tm02/task1.c, tm03/task1.c,
	tm04/task1.c, tm05/task1.c, tm06/task1.c, tm07/task1.c, tm08/task1.c,
	tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c,
	tm14/task1.c, tm15/task1.c, tm16/task1.c, tm17/task1.c, tm18/task1.c,
	tm19/task1.c, tm20/task1.c, tm21/task1.c, tm22/task1.c, tm23/task1.c,
	tm24/task1.c, tm25/task1.c, tm26/task1.c, tm27/task1.c, tm28/task1.c,
	tm29/task1.c, tmck/task1.c, tmoverhd/testtask.c: Modified.
2002-08-02 00:52:37 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
03f2154e51 headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
1997-04-22 17:20:27 +00:00
Joel Sherrill
ba3911317a The name of the test support routine pause was changed to rtems_test_pause
to avoid conflict with the standard POSIX routine pause(2).
1996-02-22 20:14:36 +00:00
Joel Sherrill
3652ad356b Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.
1995-09-19 14:53:29 +00:00
Joel Sherrill
3a4ae6c210 The word "RTEMS" almost completely removed from the core.
Configuration Table Template file added and all tests
modified to use this.  All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines.  Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized.  These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver.  Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.
1995-09-11 19:35:39 +00:00
Joel Sherrill
7f6a24abdd Added unused priority ceiling parameter to rtems_semaphore_create.
Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class.  This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.
1995-08-28 15:30:29 +00:00
Joel Sherrill
ac7d5ef06a Initial revision 1995-05-11 17:39:37 +00:00