Commit Graph
22127 Commits
Author SHA1 Message Date
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 d556e818f4 Import from zlib-1.2.4 2008-01-11 06:05:09 +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
Joel Sherrill 7fbe680567 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am: Add src/malloc_dirtier.c.
	* libcsupport/include/rtems/malloc.h: Add malloc dirty support.
	* libcsupport/src/malloc_p.h: Correct prototype.
2008-01-09 21:24:30 +00:00
Joel Sherrill 8daaa21556 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/coremutex.h,
	score/src/coremutexseizeintr.c: Fix conditional code for inlining
	_CORE_mutex_Seize_interrupt_trylock() and add comments.
2008-01-09 21:11:04 +00:00
Joel Sherrill bfc54b08c8 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
2008-01-09 21:09:54 +00:00
Joel Sherrill 635865aefd 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_deferred.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_sbrk_helpers.c,
	libcsupport/src/posix_memalign.c: Place all deferred free code and
	place it in subroutines. Add plugin for dirtying allocated memory to
	assist in debugging. Clean up comments and spacing as needed.
	* libcsupport/src/malloc_dirtier.c: New file.
2008-01-09 21:08:36 +00:00
Joel Sherrill b9e23917f0 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* monitor02/.cvsignore: New file.
2008-01-09 20:50:21 +00:00
Joel Sherrill 4ff7e0f401 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
	when there is an error.
2008-01-09 20:49:44 +00:00
Joel Sherrill 43fa4fc476 2008-01-09 Eric Norum <norume@aps.anl.gov>
* include/bsp.h: Include <bsp/vectors.h>.
2008-01-09 20:37:48 +00:00
Joel Sherrill 3408806956 2008-01-09 Eric Norum <norume@aps.anl.gov>
* custom/mvme3100.cfg: Add make-cxx-exe rule.
2008-01-09 20:37:14 +00:00
Jennifer Averett bbbe941321 2008-01-09 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/keycreate.c, rtems/src/eventseize.c,
	score/include/rtems/score/interr.h: Rearranged source to allow more
	test coverage.
2008-01-09 19:32:52 +00:00
Jennifer Averett dee3992f93 2008-01-09 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added automatic test for monitor shell
	* monitor02/Makefile.am, monitor02/init.c, monitor02/monitor02.scn,
	monitor02/system.h: New files.
2008-01-09 19:01:28 +00:00