Commit Graph

18124 Commits

Author SHA1 Message Date
Joel Sherrill
8860ecf275 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mutexget.c: Restructure to improve ability to do coverage
	analysis.
2009-07-06 22:02:34 +00:00
Joel Sherrill
824b3d1c90 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx05/init.c, psx05/psx05.scn: Add a couple of invalid Id cases.
2009-07-06 22:01:58 +00:00
Joel Sherrill
9847e4b478 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal12/init.c: Address to heap initialize must be aligned but size
	must be too small.
2009-07-06 21:05:03 +00:00
Joel Sherrill
147c5d512f 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal01/init.c: Tune code to really hit POSIX signal from ISR
	code.
2009-07-06 21:03:05 +00:00
Joel Sherrill
3ba0750fd1 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/psxtransschedparam.c: Restructure to avoid untestable code
	being generated by switch.
2009-07-06 17:59:34 +00:00
Joel Sherrill
69ca55c088 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx07/init.c: Slight test fix to ensure state of sched_param
	structure.
2009-07-06 17:58:44 +00:00
Joel Sherrill
630a2a68ea 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise case when
	broadcasting to a message queue with a pending message.
	* sp55/.cvsignore, sp55/Makefile.am, sp55/init.c, sp55/sp55.doc,
	sp55/sp55.scn: New files.
2009-07-06 17:10:39 +00:00
Joel Sherrill
402dad517e 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
	conditional.
2009-07-06 16:44:49 +00:00
Joel Sherrill
45d3b3304e 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* setvec.c: Add CVS Id.
2009-07-06 15:45:45 +00:00
Joel Sherrill
7c46cf58b3 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
	of a macro.  It works with limited functionality.  Implemented
	_CPU_Thread_Idle_body to use sleep instruction.
	* Makefile.am: Changed cpu_asm.c -> cpu_asm.S
	* cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm
	* rtems/asm.h: Appended "macros.inc" to the end of "asm.h"
	* rtems/score/cpu.h:
	  + Included "avr/io.h".
	  + Added use 16 bit object definition.
	  + Modified Context_Control struct to relect the registers
	    that need to be saved.
	  + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash.
	    Added function definitions for _CPU_Context_Initialize and
	    _CPU_Push.
2009-07-06 15:36:23 +00:00
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