Commit Graph

20 Commits

Author SHA1 Message Date
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Ralf Corsepius
073dff354d Use PRIdrtems_task_argument to print rtems_task_argument's. 2009-10-27 06:59:20 +00:00
Ralf Corsepius
d23649d2c3 Use PRIu32 to print uint32_t's. 2009-10-27 04:03:41 +00:00
Joel Sherrill
d05ec0f773 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp07/sp07.scn, sp09/init.c, sp09/screen01.c,
	sp09/sp09.scn, sp28/init.c, sp62/init.c, sp62/sp62.scn, sp64/init.c,
	sp64/sp64.scn: Add more test cases highlighted on SPARC at -O2, x86
	at -Os and m68k at -Os. Fix typos.
2009-10-04 22:02:18 +00:00
Joel Sherrill
f55f60591c 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/screen02.c, sp09/screen03.c, sp09/screen05.c,
	sp09/screen09.c, sp09/screen14.c, sp09/sp09.scn, sp28/init.c,
	sp28/sp28.scn, sp43/init.c: Add more error cases uncovered by uC5282
	coverage runs.
2009-09-28 23:07:56 +00:00
Joel Sherrill
ab808e236f 2009-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c, sp28/sp28.scn: Update screen. Add a few missing error
	cases.
2009-08-07 14:04:55 +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
Joel Sherrill
a986c0757a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp12/init.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/system.h, sp16/system.h, sp25/system.h, sp26/task1.c,
	sp28/init.c, sp29/init.c, sp35/priinv.c, sp42/init.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:36:00 +00:00
Joel Sherrill
82478ffc7d 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c, sp09/screen12.c, sp25/system.h, sp25/task1.c,
	sp28/init.c, sp39/init.c, sp41/init.c, spfatal01/testcase.h,
	spfatal08/testcase.h: Change size_t to ssize_t on all Heap, Workspace
	and Region calls. On 16-bit architectures, size_t can be 16-bits
	which would limit sizes to 64K. Also address constants which
	overflowed on 16-bit integer targets.
2008-10-02 20:57:28 +00:00
Joel Sherrill
86db88d270 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Corrections to configuration.
	* sp37/init.c: Correctly invoke rtems_interrupt_disable() body.
	* spsize/size.c: _ISR_Vector_table only exists on architectures
	which use the Simple Vectored Interrupt Model.
2008-06-05 14:23:57 +00:00
Joel Sherrill
5afa393ed5 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test.
	* sp09/screen14.c: Update copyright.
	* sp28/init.c: Correct end of test messages.
2008-02-22 19:35:14 +00:00
Joel Sherrill
2186ba8064 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/init.c, sp02/init.c, sp03/init.c, sp04/init.c, sp05/init.c,
	sp06/init.c, sp07/init.c, sp08/init.c, sp09/init.c, sp11/init.c,
	sp12/init.c, sp13/init.c, sp14/init.c, sp15/init.c, sp16/init.c,
	sp17/init.c, sp19/init.c, sp20/init.c, sp21/init.c, sp22/init.c,
	sp23/init.c, sp24/init.c, sp25/init.c, sp26/init.c, sp28/init.c,
	sp30/init.c, sp31/init.c, sp32/init.c, sp33/init.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp40/init.c, sp41/init.c, sp43/init.c,
	spfatal/init.c, spfatal_support/init.c, spsize/init.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:11 +00:00
Joel Sherrill
90f6ea620d 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp28/init.c, sp28/sp28.scn, sp29/init.c, sp29/sp29.scn, sp32/init.c,
	sp32/sp32.scn, sp33/init.c, sp33/sp33.scn, sp42/init.c: Fix end of
	test messages.
2008-01-24 15:12:30 +00:00
Joel Sherrill
f446e6d0f2 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Add test code for task variables to improve coverage.
2007-12-12 23:18:05 +00:00
Ralf Corsepius
e806450393 * sp01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* sp02/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp03/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp04/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp05/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp06/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp07/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp08/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp09/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp11/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp12/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp13/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp14/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp15/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp16/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp17/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp19/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp20/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp21/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp22/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp23/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp24/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp25/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp26/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp27/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp28/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp29/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp30/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp31/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* sp32/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* spfatal/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* spsize/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
2004-04-01 15:16:30 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
c941a980cc Patch from Eric Norum <eric@cls.usask.ca> to implement this:
I'd like to propose a change to RTEMS task variables that I think would
    make them more useful.  I think that it is early enough in their
    existence to still make changes to their API.

    1) Change type from `int' to `void *'.
    2) Add extra argument to task_variable_add -- if non-NULL, a pointer to
    a `destructor' function to be called when the task exits.  This function
    would be called with that task's value of the task variable as its
    argument.  In many cases, the `dtor' function could be `free'.

    rtems_status_code rtems_task_variable_add (
      rtems_id tid, void **ptr, void (*dtor)(void *));
    rtems_status_code rtems_task_variable_delete (rtems_id tid, void **ptr);

    This would be all we'd need to cleanly and efficiently support C++
    per-thread exception information without dragging in all that POSIX API
    stuff.
2000-01-21 15:07:55 +00:00
Jennifer Averett
0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +00:00
Joel Sherrill
f9078d1da0 Added comment block and removed include of deleted file. 1999-11-12 13:22:31 +00:00
Joel Sherrill
458d4e6652 Added new test sp28 to test the task variable directives. 1999-11-11 02:23:04 +00:00