Commit Graph

1289 Commits

Author SHA1 Message Date
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
Joel Sherrill
5265a27fa2 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp09/recvmsg.c, mp09/task1.c, mp10/task1.c, mp13/task1.c,
	mp14/msgtask1.c: Correct types to eliminate warnings.
2008-09-08 15:25:08 +00:00
Joel Sherrill
2d29741ab6 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp34/sp34.scn, sp35/sp35.scn: Convert to UNIX CR/LF style.
2008-09-08 13:26:34 +00:00
Ralf Corsepius
0422fde543 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/test_support.c: Convert to "bool".
2008-09-06 03:40:05 +00:00
Ralf Corsepius
f0157b8fd8 Convert to "bool". 2008-09-06 03:39:58 +00:00
Ralf Corsepius
b9073c3792 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* malloctest/init.c: Convert to "bool".
2008-09-06 03:37:48 +00:00
Ralf Corsepius
7b7073e834 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxcleanup/psxcleanup.c, psxfatal_support/init.c,
	psxfatal_support/system.h: Convert to "bool".
2008-09-06 03:33:27 +00:00
Ralf Corsepius
5cd68b4fdf 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* capture/system.h, capture/test1.c, fileio/init.c,
	unlimited/init.c, unlimited/system.h, unlimited/test1.c:
	Convert to "bool".
2008-09-06 03:31:27 +00:00
Ralf Corsepius
c502aa3dc0 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp35/priinv.c, sp37/init.c, sp38/init.c, sp39/init.c, sp41/init.c,
	sp42/init.c, sp43/init.c, spfatal/fatal.c, spfatal/system.h,
	spfatal_support/init.c, spfatal_support/system.h:
	Convert to "bool".
2008-09-06 03:28:15 +00:00
Joel Sherrill
7753aa9fd5 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp14/delay.c, mp14/evtmtask.c: Pass task Id to TSR.
	* mp14/system.h: Semaphore_task_id and Semaphore_task_name arrays
	were one entry too short.
2008-09-05 21:30:17 +00:00
Joel Sherrill
40c2d41e5b 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Must extern _MPCI_Semaphore because it is no longer
	declared in a public place.
2008-09-05 14:43:45 +00:00
Joel Sherrill
7eb312d5c4 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am: Updating and
	fixing while running mptests on psim.
2008-09-05 14:41:49 +00:00
Joel Sherrill
a319ebef08 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp03/delay.c, mp06/task1.c, mp06/node2/mp06-node2.scn, mp07/task1.c:
	Updating and fixing while running them on psim.
2008-09-05 14:41:37 +00:00
Joel Sherrill
6d97132e92 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/system.h, sp07/tcreate.c: Convert to bool type.
2008-09-03 22:06:25 +00:00
Joel Sherrill
f2ad3d120b 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* mp05/system.h, mp05/task1.c, mp06/system.h, mp06/task1.c,
	mp07/system.h, mp07/task1.c, mp14/evtask1.c, mp14/evtmtask.c,
	mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c,
	mp14/system.h: Convert to bool type.
2008-09-03 22:06:22 +00:00
Joel Sherrill
35eb543d87 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: New file.
2008-08-31 17:37:39 +00:00
Joel Sherrill
e0c13fa383 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tmitronsem01/Makefile.am, tmitronsem01/init.c: Eliminate empty
	function from every benchmark timer driver. Fix spelling.
2008-08-31 17:22:21 +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
f132a3d8dd 2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1296/cpukit.
	* psxtimer01/psxtimer.c, psxtimer01/psxtimer01.scn: POSIX timers use
	incorrect repeat interval. This patch fixes the following problems in
	the test.
	  (1) Adds test for value of it_interval.tv_nsec.
	  (2) Corrects test for absolute timer in past.
	  (3) Modifies test to use different initial and repeat periods.
	  (4) Updates psxtimer01.scn to match results.
2008-08-19 14:46:52 +00:00
Joel Sherrill
4f6bb5b01f 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c: Fix derefence of uninitialized pointer.
2008-08-15 16:33:22 +00:00
Joel Sherrill
d95b992a2c 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit
	* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute
	pointer handling.
2008-08-15 16:30:01 +00:00
Joel Sherrill
02d989c0ef 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when
	multiprocessing is not enabled. Saves one more variable from single
	processor configuration.
2008-08-07 18:23:54 +00:00
Joel Sherrill
cccd632c8d 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* Makefile.am, configure.ac: Time slicing will not happen if the task
	mode is changed from a non-timeslicing mode to timeslicing mode if it
	is done by the executing thread (e.g. in its task body). This change
	includes sp44 to demonstrate the problem and verify the correction.
	* sp44/.cvsignore, sp44/Makefile.am, sp44/init.c, sp44/sp44.scn: New files.
2008-08-05 13:10:26 +00:00
Joel Sherrill
ce7803fe45 2008-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/init.c: Spacing.
2008-08-04 16:13:10 +00:00
Joel Sherrill
decb0759ad 2008-08-04 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1293/tests
	* psx10/init.c: Make sure we do not let tv_nsec go to -1.
2008-08-04 14:39:45 +00:00
Joel Sherrill
f5119be40a 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1291/cpukit
	* psx05/init.c, psxmsgq01/init.c: As part of addressing timeouts and
	POSIX services taking relative instead of absolute time for timeouts,
	these tests were updated.
2008-07-18 18:47:30 +00:00
Joel Sherrill
05480bb8be 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: truncate on /dev/console now works.
2008-07-17 21:23:19 +00:00
Joel Sherrill
ffb9eeb5ce 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen09.c: Do not use Simple Vectored Interrupt calls on
	architectures they are not supported on.
2008-07-17 21:22:29 +00:00
Joel Sherrill
72cb077f39 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: New argument sequence for rtems_shell_init(). Also
	split on multiple lines and document each parameter.
2008-07-16 17:08:41 +00:00
Joel Sherrill
03b655aaee 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Add call to rtems_get_version_string().
2008-07-16 16:48:51 +00:00
Ralf Corsepius
e03da1549c 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-07-02 02:19:22 +00:00