Commit Graph

21 Commits

Author SHA1 Message Date
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
e90b1dfdda rtems: Create timer implementation header
Move implementation specific parts of timer.h and timer.inl into new
header file timerimpl.h.  The timer.h contains now only the application
visible API.
2013-07-23 15:12:54 +02: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
849d4bbc80 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp31/task1.c: Make Do_nothing static.
	* sprbtree01/init.c: Make test_compare_function, rb_assert static.
2011-12-13 10:02:30 +00:00
Joel Sherrill
9e15e9bfba 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/tswitch.c, sp07/task1.c, sp07/task2.c, sp09/screen07.c,
	sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c,
	sp13/task1.c, sp14/asr.c, sp14/task1.c, sp19/first.c, sp19/fptask.c,
	sp19/inttest.h, sp19/task1.c, sp20/task1.c, sp25/task1.c,
	sp26/task1.c, sp28/init.c, sp29/init.c, sp31/task1.c, sp32/init.c,
	sp33/init.c, sp34/changepri.c, sp36/strict_order_mut.c, sp37/init.c,
	sp43/init.c, sp44/init.c, sp48/init.c, sp54/init.c, sp59/init.c,
	sp65/init.c, sp68/init.c, spchain/init.c, spclockget/init.c,
	spfatal03/testcase.h, spfatal07/testcase.h, spfatal_support/init.c:
	Do not line length exceed 80 columns.
2011-07-24 22:10:20 +00:00
Ralf Corsepius
7d3f9c646a Add HAVE_CONFIG_H. 2011-02-22 07:37:03 +00:00
Joel Sherrill
5c3c78ba2e 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp31/task1.c: Fixed spacing.
2009-12-08 21:03:29 +00:00
Joel Sherrill
9e7d02a3dc 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp18/init.c, sp31/task1.c, sp43/init.c, sp63/init.c, sp64/init.c,
	spfatal10/testcase.h, spfatal11/testcase.h, spobjgetnext/init.c,
	spwkspace/init.c: Use rtems_test_assert() consistently instead of
	system assert(). rtems_test_assert() is designed to integrate into
	the RTEMS test suite infrastructure.
2009-12-08 17:52:56 +00:00
Joel Sherrill
bb14405df2 2009-12-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp31/sp31.scn, sp31/task1.c, spintrcritical17/init.c: New test
	cases. Updated copyright notice.
2009-12-04 14:08:51 +00:00
Thomas Doerfler
6e51c4c9f7 Added timer server control block
Removed _Timer_Server thread pointer
Added _Timer_server pointer to the default timer server control block
Rework of the timer server implementation.
2009-11-30 09:08:35 +00:00
Ralf Corsepius
c784b7fe72 Use PRIdWatchdog_Interval to print Watchdog_Interval's. 2009-10-26 17:13:09 +00:00
Ralf Corsepius
fde1456d5d Use PRIxrtems_id to print rtems_ids. 2009-10-26 11:29:24 +00:00
Joel Sherrill
1f7ee0275b 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp02/task1.c, sp02/task2.c, sp02/task3.c, sp03/task2.c, sp05/task1.c,
	sp05/task2.c, sp05/task3.c, sp06/task1.c, sp06/task2.c,
	sp09/screen02.c, sp09/screen04.c, sp09/screen06.c, sp09/screen07.c,
	sp09/screen10.c, sp09/screen12.c, sp09/screen13.c, sp09/screen14.c,
	sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/task1.c, sp13/task1.c, sp13/task2.c, sp14/task1.c, sp16/task1.c,
	sp16/task4.c, sp19/fptask.c, sp19/task1.c, sp22/task1.c,
	sp24/task1.c, sp26/task1.c, sp29/init.c, sp30/task1.c, sp31/task1.c,
	sp33/init.c, sp45/init.c, sp46/init.c, sp50/init.c,
	spintrcritical06/init.c, spwatchdog/task1.c: Eliminate test routines
	TICKS_PER_SECOND and get_ticks_per_second() in favor of new
	rtems_clock_get_ticks_per_second().
2009-08-12 20:50:43 +00:00
Joel Sherrill
bcf16c034d 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp01/sp01.scn, sp01/task1.c, sp03/task1.c, sp03/task2.c,
	sp04/task1.c, sp04/tswitch.c, sp09/screen02.c, sp09/screen13.c,
	sp09/screen14.c, sp09/sp09.scn, sp11/sp11.scn, sp11/task1.c,
	sp11/task2.c, sp19/fptask.c, sp19/sp19.scn, sp19/task1.c,
	sp22/prtime.c, sp22/sp22.scn, sp22/task1.c, sp24/sp24.scn,
	sp24/task1.c, sp30/task1.c, sp31/prtime.c, sp31/sp31.scn,
	sp31/task1.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
	spwatchdog/task1.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:49:51 +00:00
Joel Sherrill
b84f1fdc0d 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/system.h, sp04/task1.c, sp04/tswitch.c, sp07/init.c,
	sp12/init.c, sp13/putbuff.c, sp13/system.h, sp13/task1.c,
	sp15/init.c, sp16/system.h, sp19/fptask.c, sp25/system.h,
	sp26/task1.c, sp27/init.c, sp28/init.c, sp29/init.c, sp31/task1.c,
	sp33/init.c, sp34/changepri.c, sp35/priinv.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp41/init.c, sp42/init.c, sp43/init.c,
	sp44/init.c, sp45/init.c, sp46/init.c, sp47/init.c, sp48/init.c,
	spfatal03/testcase.h, spfatal05/testcase.h, spfatal06/testcase.h,
	spfatal_support/system.h, spobjgetnext/init.c, spsize/getint.c,
	spsize/size.c: Fix warnings.
2009-05-10 14:39:46 +00:00
Ralf Corsepius
1b4f2b305c Remove stray white spaces. 2004-04-16 09:24:30 +00:00
Joel Sherrill
d2b93bfd98 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* sp01/init.c, sp01/sp01.doc, sp01/system.h, sp01/task1.c, sp02/init.c,
	sp02/preempt.c, sp02/sp02.doc, sp02/system.h, sp02/task1.c,
	sp02/task2.c, sp02/task3.c, sp03/init.c, sp03/sp03.doc,
	sp03/system.h, sp03/task1.c, sp03/task2.c, sp04/init.c,
	sp04/sp04.doc, sp04/system.h, sp04/task1.c, sp04/task2.c,
	sp04/task3.c, sp04/tswitch.c, sp05/init.c, sp05/sp05.doc,
	sp05/system.h, sp05/task1.c, sp05/task2.c, sp05/task3.c, sp06/init.c,
	sp06/sp06.doc, sp06/system.h, sp06/task1.c, sp06/task2.c,
	sp06/task3.c, sp07/init.c, sp07/sp07.doc, sp07/system.h,
	sp07/task1.c, sp07/task2.c, sp07/task3.c, sp07/task4.c,
	sp07/taskexit.c, sp07/tcreate.c, sp07/tdelete.c, sp07/trestart.c,
	sp07/tstart.c, sp08/init.c, sp08/sp08.doc, sp08/system.h,
	sp08/task1.c, sp09/delay.c, sp09/init.c, sp09/isr.c, sp09/screen01.c,
	sp09/screen02.c, sp09/screen03.c, sp09/screen04.c, sp09/screen05.c,
	sp09/screen06.c, sp09/screen07.c, sp09/screen08.c, sp09/screen09.c,
	sp09/screen10.c, sp09/screen11.c, sp09/screen12.c, sp09/screen13.c,
	sp09/screen14.c, sp09/sp09.doc, sp09/system.h, sp09/task1.c,
	sp09/task2.c, sp09/task3.c, sp09/task4.c, sp11/init.c, sp11/sp11.doc,
	sp11/system.h, sp11/task1.c, sp11/task2.c, sp11/timer.c, sp12/init.c,
	sp12/pridrv.c, sp12/pritask.c, sp12/sp12.doc, sp12/system.h,
	sp12/task1.c, sp12/task2.c, sp12/task3.c, sp12/task4.c, sp12/task5.c,
	sp13/fillbuff.c, sp13/init.c, sp13/putbuff.c, sp13/sp13.doc,
	sp13/system.h, sp13/task1.c, sp13/task2.c, sp13/task3.c, sp14/asr.c,
	sp14/init.c, sp14/sp14.doc, sp14/system.h, sp14/task1.c,
	sp14/task2.c, sp15/init.c, sp15/sp15.doc, sp15/system.h,
	sp15/task1.c, sp16/init.c, sp16/sp16.doc, sp16/system.h,
	sp16/task1.c, sp16/task2.c, sp16/task3.c, sp16/task4.c, sp16/task5.c,
	sp17/asr.c, sp17/init.c, sp17/sp17.doc, sp17/system.h, sp17/task1.c,
	sp17/task2.c, sp19/first.c, sp19/fptask.c, sp19/fptest.h,
	sp19/init.c, sp19/inttest.h, sp19/sp19.doc, sp19/system.h,
	sp19/task1.c, sp20/getall.c, sp20/init.c, sp20/sp20.doc,
	sp20/system.h, sp20/task1.c, sp21/init.c, sp21/sp21.doc,
	sp21/system.h, sp21/task1.c, sp22/delay.c, sp22/init.c,
	sp22/prtime.c, sp22/sp22.doc, sp22/system.h, sp22/task1.c,
	sp23/init.c, sp23/sp23.doc, sp23/system.h, sp23/task1.c, sp24/init.c,
	sp24/resume.c, sp24/sp24.doc, sp24/system.h, sp24/task1.c,
	sp25/init.c, sp25/sp25.doc, sp25/system.h, sp25/task1.c, sp26/init.c,
	sp26/sp26.doc, sp26/system.h, sp26/task1.c, sp30/init.c,
	sp30/resume.c, sp30/sp30.doc, sp30/system.h, sp30/task1.c,
	sp31/delay.c, sp31/init.c, sp31/prtime.c, sp31/sp31.doc,
	sp31/system.h, sp31/task1.c, sp32/init.c, spfatal/fatal.c,
	spfatal/init.c, spfatal/puterr.c, spfatal/spfatal.doc,
	spfatal/system.h, spfatal/task1.c, spsize/getint.c, spsize/init.c,
	spsize/size.c, spsize/system.h: URL for license changed.
2003-09-04 18:53:48 +00:00
Joel Sherrill
3aa4c2e0ce 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.
	* sp01/task1.c, sp02/task1.c, sp03/task2.c, sp04/task1.c, sp05/task1.c,
	sp06/task1.c, sp07/taskexit.c, sp08/task1.c, sp09/task1.c,
	sp11/task1.c, sp12/pritask.c, sp12/task5.c, sp13/task1.c,
	sp14/task2.c, sp15/task1.c, sp16/task1.c, sp17/task1.c,
	sp19/fptask.c, sp20/task1.c, sp21/task1.c, sp22/task1.c,
	sp23/task1.c, sp24/task1.c, sp25/task1.c, sp26/init.c, sp26/task1.c,
	sp30/task1.c, sp31/task1.c, spsize/init.c, spsize/size.c: Modified.
2002-08-02 00:52:14 +00:00
Joel Sherrill
5729f62e12 2001-03-29 Joel Sherrill <joel@OARcorp.com>
* Per PR147 addressed problems when reseting and inserting a timer
	into a timer chain that did not honor time passage since the last
	time the timer server was scheduled and the new insertion.
	* sp31/sp31.scn, sp31/task1.c: Added test code to detect this case.
2002-03-29 15:32:08 +00:00
Joel Sherrill
ef70d9b652 2001-01-29 Joel Sherrill <joel@OARcorp.com>
* Fixed bug where resetting a timer that was not at the head
	of one of the task timer chains resulted in the Timer Server
	task waking up too far in the future.
	* Added rtems_timer_get_information() directive to support testing.
	* sp31/init.c, sp31/system.h, sp31/task1.c: Modified to test for
	above condition.
2002-01-29 18:20:59 +00:00
Joel Sherrill
de569fee9f 2001-01-16 Joel Sherrill <joel@OARcorp.com>
* Added tests for task-based timers.  This included the new tests
	sp30 and sp31.
	* Makefile.am, configure.ac: Modified to reflect new tests and files.
	* sp09/screen14.c, sp09/sp09.scn: Modified to add error checks
	for task-based timer services.
	* sp30/.cvsignore, sp30/Makefile.am, sp30/init.c, sp30/resume.c,
	sp30/sp30.doc, sp30/sp30.scn, sp30/system.h, sp30/task1.c,
	sp31/.cvsignore, sp31/Makefile.am, sp31/delay.c, sp31/init.c,
	sp31/prtime.c, sp31/sp31.doc, sp31/sp31.scn, sp31/system.h,
	sp31/task1.c: New files.
2002-01-16 22:13:29 +00:00