Commit Graph
1052 Commits
Author SHA1 Message Date
Joel Sherrill e996604bf8 2006-10-24 Joel Sherrill <joel@OARcorp.com>
* rtems/bfin/bfin.h: Eliminate hi, lo, HI, LO, and MK_BMSK.
2006-10-24 20:24:29 +00:00
Joel Sherrill 9dfd75ec52 2006-10-24 Alain Schaefer <alani@easc.ch>
* Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/score/bfin.h:
	Clean up rtems/score/bfin.h removing parts that are not needed by
	RTEMS CPUkit to bfin specific .h files.
	* rtems/bfin/bf533.h, rtems/bfin/bfin.h: New files.
2006-10-24 20:20:36 +00:00
Joel Sherrill b78d94debd 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* configure.ac, score/cpu/Makefile.am: Add bfin.
2006-10-23 19:39:51 +00:00
Joel Sherrill 5b8b467017 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Use the default IDLE thread body.
2006-10-23 17:19:52 +00:00
Joel Sherrill d9a6ab3fed 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, cpu.c, cpu_asm.S, irq.c,
	preinstall.am, rtems/asm.h, rtems/score/bfin.h, rtems/score/cpu.h,
	rtems/score/cpu_asm.h, rtems/score/types.h: New files.
2006-10-23 17:17:50 +00:00
Joel Sherrill cbeebc061f 2006-10-19 Joel Sherrill <joel@OARcorp.com>
* score/Makefile.am, score/preinstall.am: Add pieces missed in previous
	commit.
2006-10-19 20:30:47 +00:00
Joel Sherrill 04dba496a6 2006-10-19 Joel Sherrill <joel@OARcorp.com>
* configure.ac, itron/Makefile.am, itron/preinstall.am,
	posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
	score/Makefile.am, score/preinstall.am, score/include/rtems/system.h,
	score/include/rtems/score/chain.h,
	score/include/rtems/score/thread.h, score/src/chain.c,
	score/src/coremutexseize.c, score/src/threadget.c: Remove all macro
	implementations and use only the static inline. Static inline
	functions are now well supported so there is no reason for duplicate
	maintenance.
	* itron/macros/rtems/itron/eventflags.inl,
	itron/macros/rtems/itron/fmempool.inl,
	itron/macros/rtems/itron/intr.inl, itron/macros/rtems/itron/mbox.inl,
	itron/macros/rtems/itron/msgbuffer.inl,
	itron/macros/rtems/itron/network.inl,
	itron/macros/rtems/itron/port.inl,
	itron/macros/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/sysmgmt.inl,
	itron/macros/rtems/itron/task.inl, itron/macros/rtems/itron/time.inl,
	itron/macros/rtems/itron/vmempool.inl,
	posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/key.inl,
	posix/macros/rtems/posix/mqueue.inl,
	posix/macros/rtems/posix/mutex.inl,
	posix/macros/rtems/posix/priority.inl,
	posix/macros/rtems/posix/pthread.inl,
	posix/macros/rtems/posix/semaphore.inl,
	posix/macros/rtems/posix/timer.inl, rtems/macros/rtems/rtems/asr.inl,
	rtems/macros/rtems/rtems/attr.inl,
	rtems/macros/rtems/rtems/barrier.inl,
	rtems/macros/rtems/rtems/dpmem.inl,
	rtems/macros/rtems/rtems/event.inl,
	rtems/macros/rtems/rtems/eventset.inl,
	rtems/macros/rtems/rtems/message.inl,
	rtems/macros/rtems/rtems/modes.inl,
	rtems/macros/rtems/rtems/options.inl,
	rtems/macros/rtems/rtems/part.inl,
	rtems/macros/rtems/rtems/ratemon.inl,
	rtems/macros/rtems/rtems/region.inl,
	rtems/macros/rtems/rtems/sem.inl,
	rtems/macros/rtems/rtems/status.inl,
	rtems/macros/rtems/rtems/support.inl,
	rtems/macros/rtems/rtems/tasks.inl,
	rtems/macros/rtems/rtems/timer.inl, sapi/macros/rtems/extension.inl,
	score/macros/README, score/macros/rtems/score/address.inl,
	score/macros/rtems/score/chain.inl,
	score/macros/rtems/score/corebarrier.inl,
	score/macros/rtems/score/coremsg.inl,
	score/macros/rtems/score/coremutex.inl,
	score/macros/rtems/score/corerwlock.inl,
	score/macros/rtems/score/coresem.inl,
	score/macros/rtems/score/corespinlock.inl,
	score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl,
	score/macros/rtems/score/mppkt.inl,
	score/macros/rtems/score/object.inl,
	score/macros/rtems/score/objectmp.inl,
	score/macros/rtems/score/priority.inl,
	score/macros/rtems/score/stack.inl,
	score/macros/rtems/score/states.inl,
	score/macros/rtems/score/sysstate.inl,
	score/macros/rtems/score/thread.inl,
	score/macros/rtems/score/threadmp.inl,
	score/macros/rtems/score/tod.inl,
	score/macros/rtems/score/tqdata.inl,
	score/macros/rtems/score/userext.inl,
	score/macros/rtems/score/watchdog.inl,
	score/macros/rtems/score/wkspace.inl: Removed.
2006-10-19 19:20:10 +00:00
Joel Sherrill 9c191eea63 * score/Makefile.am, score/preinstall.am,
score/include/rtems/score/coresem.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/states.h,
	score/inline/rtems/score/coresem.inl: Add SuperCore Barriers,
	SpinLocks and a partial implementation of RWLocks.
	* score/include/rtems/score/corebarrier.h,
	score/include/rtems/score/corerwlock.h,
	score/include/rtems/score/corespinlock.h,
	score/inline/rtems/score/corebarrier.inl,
	score/inline/rtems/score/corerwlock.inl,
	score/inline/rtems/score/corespinlock.inl,
	score/macros/rtems/score/corebarrier.inl,
	score/macros/rtems/score/corerwlock.inl,
	score/macros/rtems/score/corespinlock.inl, score/src/corebarrier.c,
	score/src/corebarrierrelease.c, score/src/corebarrierwait.c,
	score/src/corerwlock.c, score/src/corerwlockobtainread.c,
	score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c,
	score/src/corespinlock.c, score/src/corespinlockrelease.c,
	score/src/corespinlockwait.c: New files.
2006-09-25 13:36:58 +00:00
Joel Sherrill ea1d598f08 2006-09-11 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Remove warning.
2006-09-11 21:41:36 +00:00
Joel Sherrill cf04e8aca9 *** empty log message *** 2006-09-01 19:10:01 +00:00
Joel Sherrill ddee935174 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Revert change. It did not appear to correct all
	warnings.
2006-08-31 01:53:35 +00:00
Joel Sherrill eba52fd39d 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h:
2006-08-30 17:16:50 +00:00
Joel Sherrill 0337a9c5e9 2006-08-29 Joel Sherrill <joel@OARcorp.com>
* score/include/rtems/score/object.h: _Objects_Local_node is a uint16_t
	so cast the _Objects_Local_node constant to 1.
2006-08-29 21:54:36 +00:00
Joel Sherrill cd12590b7f 2006-08-29 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Correct inline assembly constraints.
2006-08-29 21:53:25 +00:00
Joel Sherrill 94690433ea 2006-08-10 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all
	compile.
2006-08-10 21:56:54 +00:00
Joel Sherrill f77424ea92 2006-08-10 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: New file.
2006-08-10 11:18:44 +00:00
Joel Sherrill a19034d902 2006-08-09 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Because gcc implicitly uses floating point turn on
	floating point for all threads if there is a hardware FPU.
2006-08-09 23:04:47 +00:00
Joel Sherrill f4786d82aa 2006-08-09 Kolja Waschk <waschk@telos.de>
* rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/nios2.h,
	rtems/score/types.h: New files.
2006-08-09 21:28:40 +00:00
Joel Sherrill 60eae27dea 2006-08-09 Kolja Waschk <waschk@telos.de>
* configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: New
	port to Altera NIOS II.
2006-08-09 21:03:27 +00:00
Joel Sherrill 50f4487823 2006-08-09 Kolja Waschk <waschk@telos.de>
* ChangeLog, Makefile.am, cpu.c, cpu_asm.S, irq.c, preinstall.am,
	rtems/asm.h: New files.
2006-08-09 20:58:11 +00:00
Till Straumann a031fc2272 * rtems/old-exceptions/cpu.h, rtems/powerpc/registers.h:
Checked inline assembly; added early-clobber '&' to output operands
	of multi-instruction asms.
2006-07-13 00:36:15 +00:00
Joel Sherrill 83df49f697 2006-07-11 Joel Sherrill <joel@OARcorp.com>
PR 1124/rtems
	* score/include/rtems/score/threadq.h, score/src/coremutexseize.c,
	score/src/coremutexsurrender.c, score/src/threadqenqueue.c,
	score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c:
	The placement of the changing a thread's priority when using priority
	ceiling should be on the successful transfer of the mutex -- not when
	the thread tries to acquire. Plus the lack of a dispatch disable
	point lead to the potential for a thread timing out and already
	having inherited the ceiling priority.
2006-07-11 21:05:12 +00:00
Joel Sherrill 1d63ebb9b9 2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems
	* libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c,
	score/src/coremutex.c: Remove dead code.
2006-06-22 21:56:13 +00:00
Joel Sherrill e5f55a1008 Fix formatting. 2006-06-21 13:52:18 +00:00
Till Straumann 412da6df02 PR1091/patch
* cpu_asm.S: Reduce mask from 0xffc to 0x3fc so only the vector
	bits are used when calculating the exception vector.
2006-06-19 23:22:04 +00:00
Joel Sherrill cf5f68d602 2006-06-02 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu.c: Added __mips==32 to fix build problems on those targets
	caused by the Bruce Robinson.
2006-06-10 12:33:12 +00:00
Greg Menke 25571ae49f Added __mips==32 to fix build problems on those targets caused by the B.Robinson patch 2006-06-10 10:42:07 +00:00
Joel Sherrill 0243b0d8d3 2006-06-08 Joel Sherrill <joel@OARcorp.com>
* posix/Makefile.am, posix/preinstall.am,
	posix/include/rtems/posix/timer.h, posix/src/ptimer.c,
	posix/src/ptimer1.c, sapi/src/posixapi.c,
	score/include/rtems/score/object.h:
2006-06-08 20:47:48 +00:00
Greg Menke 7c99007641 B.Robinson MIPS patch 2006-06-08 18:03:55 +00:00
Joel Sherrill a761495bb1 2006-06-02 Joel Sherrill <joel@OARcorp.com>
* itron/src/trcv_mbf.c, posix/src/semopen.c,
	rtems/src/taskvariableadd.c, score/macros/rtems/score/heap.inl: Fix
	warnings.
2006-06-03 00:33:10 +00:00
Jay Monkman aed1db6c00 2006-06-02 Jay Monkman <jtm@lopingdog.com>
* cpu.c, cpu_asm.S: Fixed ARM Data Abort handling.
2006-06-02 21:49:36 +00:00
Jay Monkman 7a4b5cb404 Fixed ARM Data Abort handling. 2006-06-02 21:48:05 +00:00
Joel Sherrill 5fbb909775 * score/inline/rtems/score/threadmp.inl,
score/macros/rtems/score/threadmp.inl: Fix compile error.
2006-04-07 01:16:32 +00:00
Joel Sherrill 5250299424 2006-04-05 Joel Sherrill <joel@OARcorp.com>
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>

	* score/include/rtems/score/mpci.h,
	score/include/rtems/score/threadmp.h,
	score/inline/rtems/score/threadmp.inl,
	score/macros/rtems/score/threadmp.inl, score/src/threadmp.c,
	score/src/threadqenqueue.c: Victor spotted the problem that
	_MPCI_Receive_server_tcb and _Thread_MP_Receive were duplicate
	variables and needed to be set to the same value.  I took that
	idea and just removed _Thread_MP_Receive.  All uses are now
	_MPCI_Receive_server_tcb.
2006-04-05 20:08:59 +00:00
Ralf Corsepius a3de1b48f6 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c (_CPU_Initialize): Add fpu initialization.
2006-03-17 08:38:26 +00:00
Ralf Corsepius 01a76a6f9f 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
	(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
2006-03-17 05:24:30 +00:00
Joel Sherrill 1ff385c214 2006-03-08 Joel Sherrill <joel@OARcorp.com>
PR 761/rtems
	* score/src/threadhandler.c: Add volatile cast so test is weak function
	is present will do something. Otherwise, it can be assume by gcc to
	always be a true condition.
2006-03-08 18:55:45 +00:00
Joel Sherrill 15096905d3 2006-03-08 Joel Sherrill <joel@OARcorp.com>
* itron/macros/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/task.inl: Fix warnings.
	* posix/macros/rtems/posix/cond.inl: Fix typo.
	* score/macros/rtems/score/heap.inl: Fix missed type change.
2006-03-08 18:53:44 +00:00
Joel Sherrill 77b0a73e14 2006-03-07 Steven Johnson <sjohnson@sakuraindustries.com>
PR 850/rtems
	* score/src/watchdogtickle.c: A Watchdog (used to timeout an event)
	with a delay of 1 sometimes does not seem to timeout.  The problem
	occurs, because for whatever reason when the watchdog tickle function
	executes, the watchdog->delta_interval is 0. it is then decremented
	before being tested, becomes huge and so doesnt time out.  It is
	thought there is a race condition where the watchdog->delta_interval
	is calculated by reference to a head (also with a delay of 1). But
	before it can be added after the head, the head is removed, so the
	new head now has a delay of 0.
2006-03-07 22:10:35 +00:00
Joel Sherrill f0ad529d28 2006-03-07 Joel Sherrill <joel@OARcorp.com>
PR 866/rtems
	* score/include/rtems/system.h, score/include/rtems/score/isr.h,
	score/inline/rtems/score/thread.inl,
	score/macros/rtems/score/thread.inl: Added memory barriers to enter
	and exit of dispatching and interrupt critical sections so GCC will
	not optimize and reorder code out of a critical section.
2006-03-07 20:47:53 +00:00
Joel Sherrill 32ecfd6f2e Formatting 2006-03-01 15:24:12 +00:00
Eric Norum f7842ce207 Just "cc" in the clobbered register list for interrupt enable/disable/flash
operations.  The "memory" barrier will move the the generic interrupt
enable/disable/flash macros.
2006-02-28 20:50:03 +00:00
Joel Sherrill 6952f3d948 2006-02-01 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Increase default stack size on i386 from 1K to 4K.
	Most i386 targets are not memory strapped so making this a bit large
	is not a burden. It lets more tests run. ticker and psxtimer will not
	even run with 1K of stack.
2006-02-01 20:59:48 +00:00
Ralf Corsepius 4df3f89fd3 2006-01-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/Makefile.am: Rework.
	* score/Makefile.am: Rework.
2006-01-16 15:33:06 +00:00
Joel Sherrill 6a074363a2 2006-01-16 Joel Sherrill <joel@OARcorp.com>
Large patch to improve Doxygen output.  As a side-effect, grammar and
	spelling errors were corrected, spacing errors were address, and some
	variable names were improved.
	* libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h:
	Account for changing OBJECTS_NO_CLASS to OBJECTS_CLASSIC_NO_CLASS.
	* score/Doxyfile: Set output directory.  Predefine some macro values.
	Turn on graphical output.
	* score/include/rtems/debug.h, score/include/rtems/seterr.h,
	score/include/rtems/system.h, score/include/rtems/score/address.h,
	score/include/rtems/score/apiext.h,
	score/include/rtems/score/apimutex.h,
	score/include/rtems/score/bitfield.h,
	score/include/rtems/score/chain.h,
	score/include/rtems/score/context.h,
	score/include/rtems/score/coremsg.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/coresem.h,
	score/include/rtems/score/heap.h, score/include/rtems/score/interr.h,
	score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h,
	score/include/rtems/score/mppkt.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/objectmp.h,
	score/include/rtems/score/priority.h,
	score/include/rtems/score/stack.h,
	score/include/rtems/score/states.h,
	score/include/rtems/score/sysstate.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadmp.h,
	score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h,
	score/include/rtems/score/tqdata.h,
	score/include/rtems/score/userext.h,
	score/include/rtems/score/watchdog.h,
	score/include/rtems/score/wkspace.h,
	score/inline/rtems/score/address.inl,
	score/inline/rtems/score/chain.inl,
	score/inline/rtems/score/coremutex.inl,
	score/inline/rtems/score/coresem.inl,
	score/inline/rtems/score/heap.inl,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/thread.inl,
	score/inline/rtems/score/tqdata.inl, score/macros/README,
	score/src/heap.c, score/src/threadmp.c, score/src/threadready.c,
	score/src/threadstartmultitasking.c: Improve generated Doxygen
	output. Fix spelling and grammar errors in comments. Correct names of
	some variables and propagate changes.
2006-01-16 15:13:58 +00:00
Joel Sherrill ece004d72a 2006-01-16 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
	As a side-effect, grammar and spelling errors were corrected, spacing
	errors were address, and some variable names were improved.
2006-01-16 15:12:44 +00:00
Joel Sherrill 5961b4c784 2006-01-16 Joel Sherrill <joel@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
	rtems/score/cpu.h: Part of a large patch to improve Doxygen output.
	As a side-effect, grammar and spelling errors were corrected, spacing
	errors were address, and some variable names were improved.
2006-01-16 15:12:30 +00:00
Joel Sherrill 22b3bedc4a 2006-01-16 Joel Sherrill <joel@OARcorp.com>
* rtems/asm.h, rtems/score/cpu.h, rtems/score/types.h: Part of a large
	patch to improve Doxygen output. As a side-effect, grammar and
	spelling errors were corrected, spacing errors were address, and some
	variable names were improved.
2006-01-16 15:12:12 +00:00
Ralf Corsepius 2eb7d07e17 Regenerate. 2006-01-14 06:20:35 +00:00
Ralf Corsepius e24ae58a97 Regenerate. 2006-01-13 08:43:48 +00:00