Commit Graph

1320 Commits

Author SHA1 Message Date
Joel Sherrill
c83a33ccbb 2009-01-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add sp48 which tests that configuring for
	unlimited objects when configured for a unified workspace works as
	expected.
	* sp48/.cvsignore, sp48/Makefile.am, sp48/init.c, sp48/sp48.doc,
	sp48/sp48.scn: New files.
2009-01-30 22:20:39 +00:00
Joel Sherrill
03f0885546 2009-01-21 Nickolay Kolchin <nbkolchin@gmail.com>
Joel Sherrill <joel.sherrill@oarcorp.com>

	PR 1357/cpukit
	* rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
2009-01-21 20:47:58 +00:00
Jennifer Averett
22fa9d6176 2009-01-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Add new test to test Watchdog display
	helper routines. These reach into the SuperCore.
	* spwatchdog/.cvsignore, spwatchdog/Makefile.am, spwatchdog/delay.c,
	spwatchdog/init.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
	spwatchdog/system.h, spwatchdog/task1.c: New files.
2009-01-16 18:57:53 +00:00
Joel Sherrill
786330c0d1 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp30/task1.c: Cast pointer to id as "void *" rather than task Id.
2009-01-05 19:47:16 +00:00
Joel Sherrill
fa8ad9c2c3 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
	sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
	hard-coded hex numbers for bad object Ids.
2009-01-05 19:45:49 +00:00
Joel Sherrill
29a83352f6 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp15/system.h, sp19/system.h: Array of task names should be of type
	rtems_name not rtems_id. Similarly array of task ids should be
	rtems_id not rtems_name.
2009-01-05 19:44:53 +00:00
Joel Sherrill
9d01e1deed 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/timesys.h: Array of task names should be of type rtems_name
	not rtems_id.
2009-01-05 19:41:11 +00:00
Joel Sherrill
8bafd774c2 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue
	with create option so we are sure it will get a control block and
	proceed to allocate other memory. Clean up screen output.
2009-01-05 19:39:56 +00:00
Ralf Corsepius
ab92255414 Remove tic4x. 2008-12-22 03:58:22 +00:00
Ralf Corsepius
fd9d071056 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4: Remove tic4x.
2008-12-22 03:58:12 +00:00
Joel Sherrill
52410c2695 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* capture/test1.c: Add const to eliminate warning.
2008-12-18 21:14:16 +00:00
Joel Sherrill
69e10f3e95 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Eliminate _TOD_Microseconds_per_tick.
2008-12-16 20:56:40 +00:00
Joel Sherrill
27b2c34b98 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* capture/test1.c: Eliminate all public use of TOD conversion routines.
2008-12-16 20:56:14 +00:00
Joel Sherrill
bb9c80df45 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal06/testcase.h,
	spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h,
	spsize/size.c: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
	* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn,
	spfatal10/testcase.h: Removed.
2008-12-15 19:21:10 +00:00
Joel Sherrill
64f1df3259 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Change sizes of heap/region and allocated objects
	in heap to intptr_t so they can be larger than a single allocatable
	object (e.g. size_t).
2008-12-15 14:50:25 +00:00
Joel Sherrill
d32daa6a8a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c: Add parameter to call to sched_get_priority_max().
2008-12-14 23:56:21 +00:00
Joel Sherrill
de48cb67a2 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/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 19:13:56 +00:00
Joel Sherrill
5abf63d983 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/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:41:18 +00:00
Joel Sherrill
11ef7b6a46 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask04/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:39:44 +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
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
527ecc7acf 2008-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Add explicit creation of /etc/passwd and /etc/group so
	we have a test case for real password checking.
2008-12-09 19:34:04 +00:00
Joel Sherrill
bdd1f5d1af 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtimer01/psxtimer.c, psxtimer02/psxtimer.c: Obtain TOD with
	clock_gettime() NOT by reaching into the SuperCore.
2008-12-08 17:33:37 +00:00
Joel Sherrill
d30316c40c 2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm26/task1.c: Fix typo.
2008-12-08 16:15:43 +00:00
Joel Sherrill
75ed329599 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp46/sp46.scn: Add screen missed earlier.
2008-12-04 18:00:05 +00:00
Joel Sherrill
ed348c8a7a 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1348/cpukit
	* Makefile.am, configure.ac: Add test of special case of resetting cpu
	usage information while a period is running.
	* sp46/.cvsignore, sp46/Makefile.am, sp46/init.c, sp46/sp46.doc,
	sp46/sp46.scn: New files.
2008-12-04 15:58:49 +00:00
Joel Sherrill
ab29fefe85 2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp45/init.c: New file.
2008-12-03 21:33:17 +00:00
Joel Sherrill
a88e2dd030 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* Makefile.am, configure.ac, sp30/resume.c, sp30/task1.c, sp31/delay.c:
	Rework Timer Server to ensure that the context allows for blocking,
	allocating memory, and acquiring semaphores and mutexes.
	* sp45/.cvsignore, sp45/Makefile.am, sp45/sp45.doc, sp45/sp45.scn:
	New files.
2008-12-03 20:59:49 +00:00
Joel Sherrill
1ea0f9d26a 2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp25/system.h: Add warning and temporary m32c conditional until size
	type addressed.
2008-11-25 22:13:36 +00:00
Ralf Corsepius
e1871b9205 2008-11-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* paranoia/paranoia.c: Add missing prototypes.
2008-11-24 16:39:04 +00:00
Joel Sherrill
55448ebeea 2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm22/system.h, tm22/task1.c: Account for message buffers used.
2008-10-28 21:42:42 +00:00
Joel Sherrill
d7e739a96b 2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Do not generate alignment factors larger that will
	not fit in a native integer.
2008-10-14 13:16:03 +00:00
Joel Sherrill
29ff6c9ccb 2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c: Use INT_MAX as number of messages so always
	properly sized and no overflow on constant.
	* sp09/screen10.c: Delay so on targets with simulator idle clock
	tick driver this will work.
	* sp09/screen11.c, sp09/system.h: Move badly aligned objects to odd
	byte boundaries rather than two byte boundaries.
	* sp09/screen03.c, sp09/screen14.c: Skip tests which try to
	allocate more memory than size_t holds on m32c.
2008-10-14 13:03:38 +00:00
Joel Sherrill
a0653adab1 2008-10-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/system.h: Tighten configuration for stack space.
2008-10-13 19:15:26 +00:00
Ralf Corsepius
3ab27952c2 Fix up ChangeLog. 2008-10-03 09:23:19 +00:00
Joel Sherrill
339fd66572 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: When USE_SHELL not defined, do not attempt to
	configure shell.
2008-10-02 21:49:39 +00:00
Joel Sherrill
b28b126b20 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/system.h: 10000 task ids is too many for some targets.
2008-10-02 21:31:08 +00:00
Joel Sherrill
1d7a927dc4 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/timesys.h: Use inttypes.h.
	* tmck/task1.c: Use uint32_t for count.
2008-10-02 21:01:58 +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
7d2aaa6f76 2008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx01/psx01.scn: Bump version to 4.9.99.0
2008-10-01 17:16:37 +00:00
Joel Sherrill
df518cbeab 2008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/sp43.scn: Bump version to 4.9.99.0
2008-10-01 17:16:33 +00:00
Ralf Corsepius
f8f2e41da7 2008-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.10.
	Bump _RTEMS_VERSION to 4.9.99.0.
2008-09-22 14:14:09 +00:00
Joel Sherrill
975021e7ec 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/system.h: Support up to 10K tasks in loop. With 64MB on
	pc386 and configured for unified workspace, you can get close to
	this.
2008-09-18 20:43:48 +00:00
Joel Sherrill
6c89d726fb 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/timesys.h: Rename STACK_CHECKER_ON to more appropriate
	CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:31:23 +00:00
Joel Sherrill
fd6092a3fe 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/system.h: Rename STACK_CHECKER_ON to more appropriate
	CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:31:18 +00:00
Joel Sherrill
156dc1d36c 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* stackchk/system.h: Rename STACK_CHECKER_ON to more appropriate
	CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:31:13 +00:00
Joel Sherrill
1117465116 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c, unlimited/system.h: Add support for optionally having
	a unified work area. In other words, the RTEMS Workspace and C
	Program Heap are the same pool of memory.
2008-09-17 18:38:57 +00:00
Joel Sherrill
e8fcadbc49 2008-09-17 Miao Yan <yanmiaobest@gmail.com>
* hello/system.h, minimum/Makefile.am, minimum/init.c: Merge GSOC
	project code to add simple device only filesystem (devfs), optionally
	completely drop out filesystem, and to clean up disabling newlib
	reentrancy support. This dropped 17K from the minimum.exe for
	sparc/sis and arm/rtl22xx_t now has a 15K code space.
2008-09-17 15:42:48 +00:00
Ralf Corsepius
4fcb2f17d5 Use "double" instead of "rtems_double". 2008-09-15 13:53:53 +00:00
Joel Sherrill
8a33503890 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm09/system.h, tm09/task1.c: Account for message buffer memory.
2008-09-08 21:47:23 +00:00