summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp28/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-05-04rtems: Remove task variablesSebastian Huber1-439/+0
Update #2494. Update #2555.
2014-03-25tests/sptests: Use <rtems/test.h>Sebastian Huber1-2/+6
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2012-05-31sptests - Eliminate missing prototype warningsJoel Sherrill1-1/+3
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
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.
2011-07-242011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-12/+37
* 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-02-22Add HAVE_CONFIG_H.Ralf Corsepius1-0/+4
2009-11-30Whitespace removal.Ralf Corsepius1-3/+3
2009-10-27Use PRIdrtems_task_argument to print rtems_task_argument's.Ralf Corsepius1-3/+3
2009-10-27Use PRIu32 to print uint32_t's.Ralf Corsepius1-3/+3
2009-10-042009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* 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-09-282009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-0/+7
* 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-08-072009-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-16/+33
* sp28/init.c, sp28/sp28.scn: Update screen. Add a few missing error cases.
2009-05-102009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+17
* 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.
2008-12-142008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+3
* 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-10-022008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-8/+11
* 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-06-052008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+3
* 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-02-222008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* sp09/screen01.c: Correct test. * sp09/screen14.c: Update copyright. * sp28/init.c: Correct end of test messages.
2008-02-012008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* 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-01-242008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+2
* 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.
2007-12-122007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-81/+322
* sp28/init.c: Add test code for task variables to improve coverage.
2004-04-01 * sp01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.Ralf Corsepius1-1/+1
* 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>.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-10/+34
2000-01-21Patch from Eric Norum <eric@cls.usask.ca> to implement this:Joel Sherrill1-14/+12
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-13Added start and end herald.Jennifer Averett1-2/+4
1999-11-12Added comment block and removed include of deleted file.Joel Sherrill1-1/+4
1999-11-11Added new test sp28 to test the task variable directives.Joel Sherrill1-0/+96