Commit Graph

18264 Commits

Author SHA1 Message Date
Joel Sherrill
7ffdc70c0a 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>
* start/start.S: copied gcrt1.S and macros.inc from avr-libc.
	Change from call main to call boot_card for RTEMS.
	* start/macros.inc: New file.
2009-07-06 15:28:09 +00:00
Joel Sherrill
81551a2541 Update copyright. 2009-07-06 14:47:09 +00:00
Joel Sherrill
8cdf733f50 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/src/mutex.c, posix/src/mutexinit.c: Add
	initial support for the pthread mutex type attribute added by UNIX98.
	It can be normal, recursive, errorcheck or default.
	* posix/src/mutexattrgettype.c, posix/src/mutexattrsettype.c: New files.
2009-07-06 14:46:36 +00:00
Joel Sherrill
70a4809f84 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Remove obsolete test now that the numbered
	spfatal tests appear to cover all fatal error cases.
	* spfatal/.cvsignore, spfatal/Makefile.am, spfatal/README,
	spfatal/fatal.c, spfatal/init.c, spfatal/puterr.c,
	spfatal/spfatal.doc, spfatal/spfatal.scn, spfatal/system.h,
	spfatal/task1.c: Removed.
2009-07-06 13:44:22 +00:00
Joel Sherrill
cf7267cfc2 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal11/init.c: Add test of cannot
	initialize workspace heap during initialize. Can be caused by
	unaligned address or not enough memory to initialize heap required
	overhead.
	* spfatal12/.cvsignore, spfatal12/Makefile.am, spfatal12/init.c,
	spfatal12/spfatal12.doc, spfatal12/spfatal12.scn: New files.
2009-07-06 13:43:17 +00:00
Joel Sherrill
c6dc6db074 2009-07-04 Santosh G Vattam <vattam.santosh@gmail.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining an rwlock and then releasing it twice.
2009-07-04 20:26:18 +00:00
Joel Sherrill
e660f86feb 2009-07-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/taskinitusers.c: Restructure to eliminate dead check --
	loop will not be executed when 0 tasks. Also improved comments and
	eliminated a local variable.
2009-07-04 19:45:18 +00:00
Joel Sherrill
cf46f9de14 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/apiext.c: Unreachable API Extension paths marked as either
	unused or only with certain APIs.
2009-07-03 20:57:21 +00:00
Joel Sherrill
27b961a39b 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c,
	sapi/src/exinit.c, score/include/rtems/score/apiext.h,
	score/src/apiext.c: No APIs currently implemented use the
	predriver_hook so disable it until such time as it is used.
2009-07-03 20:25:35 +00:00
Joel Sherrill
4a105192af 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test of vfork stub.
2009-07-03 20:08:22 +00:00
Joel Sherrill
78e285976c 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp54/init.c, sp54/sp54.doc: Add test for Workspace zeroed.
2009-07-03 19:43:57 +00:00
Joel Sherrill
ecdbb4259e 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/sigtimedwait.c: Restructure to improve coverage. Improve
	comments.
2009-07-03 18:40:31 +00:00
Joel Sherrill
2819bd17b2 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx04/init.c, psx04/psx04.scn: Test error cases in sigwait() and
	sigtimedwait(). Update screen file.
2009-07-03 18:39:11 +00:00
Joel Sherrill
c5d412c18c 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp54/init.c, sp54/sp54.doc: Fix typos and comments.
2009-07-03 15:56:01 +00:00
Joel Sherrill
562eab5c4e 2009-07-03 Daniel Hellstrom <daniel@gaisler.com>
* sapi/src/exinit.c, score/include/rtems/score/objectmp.h,
	score/src/objectmp.c: Ensure local node number is set early enough in
	MP configurations.
2009-07-03 15:13:47 +00:00
Joel Sherrill
fc5490fe84 2009-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/irq/irq.h, shared/irq/irq.c, shared/irq/irq_init.c: Converted
	to use generic interrupt support.
	* shared/irq/irq-config.h: New file.
2009-07-03 15:08:54 +00:00
Joel Sherrill
2c8a9804a5 2009-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, preinstall.am: Update for generic interrupt support.
2009-07-03 15:07:54 +00:00
Joel Sherrill
c5dcfd4e0e 2009-07-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Switch to shared routine.
	* startup/setvec.c: Removed.
2009-07-03 13:58:17 +00:00
Joel Sherrill
2ed512bfb2 2009-07-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Eliminate unused routine.
	* startup/setvec.c: Removed.
2009-07-03 13:58:05 +00:00
Joel Sherrill
d81b56bd4f 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/coremsg.h, score/src/coremsgflushwait.c:
	Mark _CORE_message_queue_Flush_waiting_threads with
	FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API since there is no way to
	reach it via an API.
2009-07-02 22:04:42 +00:00
Joel Sherrill
2f9092ed3f 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Fix typos where semaphore referenced instead of region
	or segment.
2009-07-02 16:22:12 +00:00
Joel Sherrill
7a79dc37aa 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/preface.texi: Correct list of supported CPU architectures.
2009-07-02 16:12:00 +00:00
Joel Sherrill
9c34c023ec 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* spstkalloc/spstkalloc.scn: Update screen.
2009-07-02 15:41:28 +00:00
Joel Sherrill
62e6e7cdad 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test for user configured stack
	allocator/deallocator. Test both pass and fail cases.
	* spstkalloc/.cvsignore, spstkalloc/Makefile.am, spstkalloc/init.c,
	spstkalloc/spstkalloc.doc, spstkalloc/spstkalloc.scn: New files.
2009-07-02 15:25:36 +00:00
Joel Sherrill
84b7a96833 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* spchain/init.c, spchain/spchain.scn: Clean up test.
2009-07-02 15:24:37 +00:00
Joel Sherrill
bfa4bb20d1 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/tod.h: Correct name of parameter.
2009-07-01 19:50:00 +00:00
Joel Sherrill
37cff02c38 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to cover bodies of some chain
	routines whose bodies are not used by RTEMS itself.
	* spchain/.cvsignore, spchain/Makefile.am, spchain/init.c,
	spchain/spchain.doc, spchain/spchain.scn: New files.
2009-07-01 19:49:08 +00:00
Joel Sherrill
605b6eb746 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* spwatchdog/init.c, spwatchdog/spwatchdog.scn: Add test case of empty
	chain for coverage.
2009-07-01 19:31:53 +00:00
Joel Sherrill
c7b38baf37 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/sp01.doc, sp01/task1.c, sp16/sp16.doc, sp16/task5.c: Bypass
	RTEMS_MILLISECONDS_TO_TICKS and RTEMS_MICROSECONDS_TO_TICKS to
	improve coverage.
2009-07-01 19:23:58 +00:00
Joel Sherrill
e5d3dd6ee0 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/task1.c: Use RTEMS_MILLISECONDS_TO_TICKS to improve coverage.
2009-07-01 18:40:39 +00:00
Joel Sherrill
f9ff8cea68 2009-07-01 Santosh G Vattam <vattam.santosh@gmail.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining rwlock for write with a timed lock operation when the
	abstime timeout is in the past.
2009-07-01 16:15:21 +00:00
Joel Sherrill
d852e2342b 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/prwlocktimedrdlock.c: Restructure if slightly to make to
	make it easier to analyze for coverage.
2009-06-30 17:54:50 +00:00
Joel Sherrill
94ccbb7b3d 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining rwlock for read with a timed lock operation when the
	abstime timeout is in the past.
2009-06-30 17:50:15 +00:00
Joel Sherrill
b4e5a61914 2009-06-29 Xi Yang <hiyangxi@gmail.com>
* pxa255/ffuart/ffuart.c, pxa255/include/pxa255.h: Add Skyeye support.
	* pxa255/include/bits.h: Removed.
2009-06-29 23:25:29 +00:00
Joel Sherrill
85e525aab8 2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx05/psx05.scn: Add test case for process scope now
	that the assert has been removed in the source.
2009-06-29 23:23:23 +00:00
Joel Sherrill
290d2b79fe 2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/killinfo.c, posix/src/mutexinit.c, posix/src/psignal.c,
	posix/src/psignalchecksignal.c, posix/src/pthread.c,
	posix/src/pthreadexit.c, posix/src/pthreadinitthreads.c: Remove
	includes of <assert.h> where possible. Make other uses conditional on
	ifdef RTEMS_DEBUG.
2009-06-29 23:19:28 +00:00
Joel Sherrill
89c3f8498f 2009-06-29 Xi Yang <hiyangxi@gmail.com>
* Makefile.am: Update to current style.
	* bsp_specs: Fix warning for _start.
	* start/start.S: Proper attribution for origin.
	* startup/bspstart.c: Add Skyeye bsp_reset() on Skyeye.
	* include/.cvsignore: New file.
	* include/bspopts.h.in: Removed.
2009-06-29 23:16:44 +00:00
Ralf Corsepius
5ca8bf3bf8 Update to gdb-6.8.50.20090629 2009-06-29 16:55:24 +00:00
Ralf Corsepius
db47affdc3 New. 2009-06-29 16:29:42 +00:00
Joel Sherrill
40b905ccf8 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/init.c,
	spfatal10/spfatal10.doc, spfatal10/spfatal10.scn: New files.
2009-06-24 22:02:11 +00:00
Joel Sherrill
2212a2adf9 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/pthread.h,
	posix/inline/rtems/posix/priority.inl, posix/src/killinfo.c,
	posix/src/pthread.c, posix/src/pthreadcreate.c,
	posix/src/pthreadsetschedparam.c: Various modifications to improve
	binary code coverage analysis. Some of these are to mark code as
	debug only. Some are to break conditional expressions into multiple
	lines. Some are to move inline methods that are not time critical
	into subroutines to make them easier to test. Inlining them multiple
	times means that their logic paths are spread across multiple
	methods. This explodes the test cases required.
	* posix/src/psxpriorityisvalid.c, posix/src/psxtransschedparam.c: New files.
2009-06-24 06:38:52 +00:00
Joel Sherrill
046f47154f 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spprintk/init.c, spprintk/spprintk.scn:
	Enhance spprintk. Add two new fatal error tests to cover
	__assert_func.
	* spfatal11/.cvsignore, spfatal11/Makefile.am, spfatal11/init.c,
	spfatal11/spfatal11.doc, spfatal11/spfatal11.scn: New files.
2009-06-24 06:35:29 +00:00
Joel Sherrill
b2cf98586c 2009-06-18 Fernando Nicodemos <fgnicodemos@terra.com.br>
* umon/umonrtemsglue.c: Add console device that uses MicroMonitor to do
	actual input and output. This driver should work on any board that
	uses MicroMonitor.
	* umon/umoncons.c: New file.
2009-06-18 19:58:35 +00:00
Joel Sherrill
737f8c4d5d 2009-06-18 Fernando Nicodemos <fgnicodemos@terra.com.br>
* Makefile.am, configure.ac, console/uarts.c: Add console device that
	uses MicroMonitor to do actual input and output. This driver should
	work on any board that uses MicroMonitor.
2009-06-18 19:58:27 +00:00
Joel Sherrill
753ddb2ffb 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.csb637: Move .init section from
	the front of the executable so the start label has the first
	instruction in the executable.
2009-06-18 19:54:37 +00:00
Joel Sherrill
cbbc55ef71 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong
	mode bits being set. This behavior was not POSIX compliant and has
	been corrected in the filesystem code.
2009-06-18 16:19:53 +00:00
Joel Sherrill
c1d924daa7 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/regionextend.c: Restructure to eliminate dead code being
	generated.
2009-06-18 16:17:03 +00:00
Chris Johns
18105b44d9 2009-06-18 Chris Johns <chrisj@rtems.org>
* sp35/priinv.c, sp35/priinv.c: Declare unions volatile to
        workaround the H8300 gcc bug.
2009-06-17 22:59:16 +00:00
Chris Johns
f9eb21d863 2009-06-18 Chris Johns <chrisj@rtems.org>
* psx04/task3.c: Declare unions volatile to workaround the H8300
        gcc bug.
2009-06-17 22:58:19 +00:00
Chris Johns
c0075af37a 2009-06-18 Chris Johns <chrisj@rtems.org>
* telnetd/des.c: Split the des_f struct into smaller parts so
        targets that cannot address large structs can be supported.
2009-06-17 22:29:52 +00:00