Commit Graph

14937 Commits

Author SHA1 Message Date
Joel Sherrill
90f6ea620d 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
2008-01-24 15:12:30 +00:00
Joel Sherrill
2345d61bdc 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/object.h,
	score/src/objectextendinformation.c,
	score/src/objectinitializeinformation.c,
	score/src/objectshrinkinformation.c: Eliminate name_table since it is
	not used.
2008-01-24 15:12:09 +00:00
Joel Sherrill
f3a5a20cd0 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectnametoidstring.c: New file.
2008-01-23 22:58:36 +00:00
Joel Sherrill
23a368d91e 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp34/changepri.c, sp35/priinv.c: Convert the Objects_Name type from a
	simple type to a union of an unsigned 32 bit integer and a pointer.
	This should help eliminate weird casts between u32 and pointers in
	various places. The APIs now have to explicitly call _u32 or _string
	versions of helper routines. This should also simplify things and
	eliminate the need for ugly casts in some cases.
2008-01-23 22:57:54 +00:00
Joel Sherrill
ce19f1fa3b 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
	libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
	libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
	libmisc/stackchk/check.c, posix/src/condinit.c,
	posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
	posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
	posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
	posix/src/mutexinit.c, posix/src/pbarrierinit.c,
	posix/src/prwlockinit.c, posix/src/pspininit.c,
	posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
	posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
	posix/src/timercreate.c, rtems/src/barrierident.c,
	rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
	rtems/src/ratemonident.c, rtems/src/regionident.c,
	rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
	sapi/src/extensionident.c, score/Makefile.am,
	score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
	score/src/objectextendinformation.c,
	score/src/objectgetnameasstring.c, score/src/objectmp.c,
	score/src/objectnametoid.c: Convert the Objects_Name type from a
	simple type to a union of an unsigned 32 bit integer and a pointer.
	This should help eliminate weird casts between u32 and pointers in
	various places. The APIs now have to explicitly call _u32 or _string
	versions of helper routines. This should also simplify things and
	eliminate the need for ugly casts in some cases.
	* score/src/objectclearname.c, score/src/objectcomparenameraw.c,
	score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
	score/src/objectcopynamestring.c: Removed.
2008-01-23 22:57:43 +00:00
Joel Sherrill
8571262799 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test for stub
	implementation mprotect().
2008-01-23 15:35:41 +00:00
Jennifer Averett
f070c86cac 2008-01-23 Jennifer Averett <jennifer.averett@OARcorp.com>
* sp42/Makefile.am: New file.
2008-01-23 14:50:42 +00:00
Joel Sherrill
4a4aabcae0 2008-01-23 Joel Sherrill <joel.sherrill@OARcorp.com>
Add sp42 to exercise thread queue with knowledge of the implementation
	so we can exercise all of the normal paths possible.
	* Makefile.am, configure.ac: Add sp42.
	* sp42/.cvsignore, sp42/init.c, sp42/sp42.scn: New files.
2008-01-23 13:58:54 +00:00
Joel Sherrill
6b8da2b989 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadblockingoperationcancel.c: Clean up.
	* score/src/threadqextract.c: Restructure to eliminate dead code.
2008-01-23 13:07:13 +00:00
Joel Sherrill
9185d61c54 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Add case for long timeout on blocking operation.
	* Makefile.am, configure.ac: Add new test to exercise thread
	queue blokcing synchronization. sp39 and sp41 are very similar.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.scn,
	sp41/system.h: New files.
2008-01-23 13:05:55 +00:00
Joel Sherrill
11c16a64f6 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
	score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
	score/src/threadqdequeuepriority.c: Fix bugs encountered while
	testing and clean up more code.
2008-01-22 21:19:18 +00:00
Joel Sherrill
4e1304dcb9 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadqfirst.c: Remove switch.
2008-01-22 19:10:04 +00:00
Joel Sherrill
8b7a7139df 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Clean up.
2008-01-22 18:30:14 +00:00
Joel Sherrill
3168deaa10 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/event.h,
	rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
	rtems/src/eventseize.c, rtems/src/eventsurrender.c,
	rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/interr.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/tqdata.h,
	score/inline/rtems/score/threadq.inl,
	score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
	score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
	score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
	score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
	score/src/threadqextract.c, score/src/threadqextractfifo.c,
	score/src/threadqextractpriority.c,
	score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
	score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
	score/src/threadqflush.c, score/src/threadqrequeue.c,
	score/src/threadqtimeout.c: Refactor thread queue enqueue and event
	blocking synchronization critical sections. This resulted in three
	copies of essentially the same hard to test critical section code
	becoming the one shared routine _Thread_blocking_operation_Cancel. In
	addition, the thread queue and event code now share a common
	synchronization enumerated type. Along the way, switches were
	reworked to eliminate dead code generated by gcc and comments and
	copyrights were updated.
	* score/include/rtems/score/threadsync.h,
	score/src/threadblockingoperationcancel.c: New files.
2008-01-22 18:28:53 +00:00
Joel Sherrill
b89f64cc41 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Remove debug print.
2008-01-22 15:39:05 +00:00
Joel Sherrill
af043e1319 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Improve comments and clean up argc/argv order.
2008-01-22 15:30:59 +00:00
Joel Sherrill
148626632c 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove duplicate cases of mmu.rel and timer.rel in list
	of objects.
2008-01-22 15:21:28 +00:00
Joel Sherrill
797c232dad 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libi2c/README_libi2c: Correct spelling error.
	* score/src/threadclearstate.c: Improve comment.
2008-01-22 15:20:34 +00:00
Joel Sherrill
b4df56ddb4 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_asm.S: Spacing and comment alignment.
2008-01-22 15:18:26 +00:00
Joel Sherrill
00b66f2aac 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcleanup/.cvsignore: New file.
2008-01-22 14:48:55 +00:00
Joel Sherrill
265d9b6476 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Modify to improve coverage.
2008-01-22 14:46:13 +00:00
Ralf Corsepius
c539ced128 Preps for automake-1.10.1 2008-01-22 08:56:18 +00:00
Ralf Corsepius
980102a7a5 automake-1.10.1 2008-01-22 08:56:01 +00:00
Ralf Corsepius
84b84db0b1 Bump version to 0.10. 2008-01-19 05:29:23 +00:00
Ralf Corsepius
8caf0530fa Remove ftp:// URLs (OAR's ftp: is too unreliable.) 2008-01-19 05:28:52 +00:00
Jennifer Averett
9b9f018e09 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* psxcleanup/system.h: New file.
2008-01-18 17:30:20 +00:00
Jennifer Averett
f7ad5b3e12 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac:
	* psxcleanup/Makefile.am, psxcleanup/psxcleanup.c,
	psxcleanup/psxcleanup.scn: New files.
2008-01-18 17:09:51 +00:00
Jennifer Averett
0c76166efe 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* sp36/strict_order_mut.c:
2008-01-18 16:34:56 +00:00
Jennifer Averett
0e4232bbd6 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* psx01/init.c, psxmsgq01/init.c, psxtimer01/psxtimer.c,
	psxtimer01/psxtimer01.scn, psxtimer02/psxtimer.c:
2008-01-18 16:33:35 +00:00
Jennifer Averett
c3925dbe92 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
	posix/src/cleanuppush.c, posix/src/mqueueclose.c,
	posix/src/timergettime.c, posix/src/timersettime.c,
	score/include/rtems/score/timespec.h:
2008-01-18 16:31:57 +00:00
Joel Sherrill
f91db017d5 2008-01-18 David Erickson <David.Erickson@drdc-rddc.gc.ca>
* startup/bspstart.c: Add semicolon.
2008-01-18 14:34:35 +00:00
Ralf Corsepius
db4045eb10 Regenerate. 2008-01-16 04:56:09 +00:00
Ralf Corsepius
1a297e5326 2008-01-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Fix indentation.
2008-01-16 04:54:28 +00:00
Ralf Corsepius
e30a00f40c 2008-01-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/Makefile.am: Don't use make variables.
2008-01-16 04:33:25 +00:00
Ralf Corsepius
5e57f8336c Regenerate. 2008-01-14 09:29:23 +00:00
Ralf Corsepius
30b8e468de Bump GCC_RPMREL. 2008-01-14 09:28:24 +00:00
Ralf Corsepius
c23804dd11 gcc-core-4.2.2-rtems4.9-20080114.diff.Remove gcc-3.4.6. 2008-01-14 09:27:45 +00:00
Ralf Corsepius
5ec21f41e7 gcc-core-4.2.2-rtems4.9-20080114.diff. 2008-01-14 09:27:15 +00:00
Ralf Corsepius
b4448d1cea New. Add h8sw to h8300-rtems-gcc. 2008-01-14 09:05:24 +00:00
Joel Sherrill
23452b5c97 2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* hello/init.c: Remove accidental commit.
2008-01-11 22:50:10 +00:00
Joel Sherrill
c730ce07c2 2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add bsp_timer_least_valid and
	bsp_timer_average_overhead so tmtests link.
2008-01-11 22:40:40 +00:00
Joel Sherrill
4b10f2001e 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/task.t: Add manual page for rtems_task_self().
2008-01-11 22:26:29 +00:00
Joel Sherrill
aec29f178c 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h, hello/init.c: Enable malloc
	statistics so shell output can be interesting.
2008-01-11 21:43:58 +00:00
Joel Sherrill
be8ab6a72d 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c: When stdin or stdout is NULL, just use
	existing one.
2008-01-11 21:42:48 +00:00
Joel Sherrill
eabd9f06e7 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Add
	ALLOW_IRQ_NESTING option. The MPC5200 has a settle time after
	acknowledging the IRQs and currently the BSP does not account for
	that. After acknowledging an interrupt, it currently gets a second
	spurious IRQ a significant percentage of the time. Rename to
	BENCHMARK_IRQ_PROCESSING and get it working again. Under one test
	load, not nesting interrupts resulted in a 50% reduction in the
	number of IRQs and an ~30% reduction in time spent in IRQs.
2008-01-11 18:25:35 +00:00
Ralf Corsepius
49cf70f1d0 Add http://www.rtems.info, http://www.rtems.org/ftp.
Abandon *-testing.
2008-01-11 05:18:23 +00:00
Ralf Corsepius
98915674a6 Require autoconf-2.61.
Bump version to 0.9.
2008-01-11 05:17:38 +00:00
Till Straumann
bc0ff4737c 2008-01-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: When unhooking
	and ISR only disable IRQs at the PIC if we are
	unhooking the last ISR.
2008-01-10 18:25:47 +00:00
Joel Sherrill
5b33dc8076 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/wkspace.h,
	score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
	inline _Workspace_Free or _Workspace_Allocate since they are not
	always inlined and actually smaller overall as subroutines. They are
	not particularly time critical so inlining is not absolutely
	necessary.
2008-01-09 22:35:10 +00:00
Joel Sherrill
4d3200628d 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am, posix/include/rtems/posix/cond.h,
	posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
	Condition Variable object get helpers because they are more
	complicated than the norm. They can implicitly perform a create. They
	cross the line as being too complex and large to inline since they
	negatively impact size and binary test coverage.
	* posix/src/condget.c, posix/src/mutexget.c: New files.
2008-01-09 22:08:31 +00:00