Commit Graph
1099 Commits
Author SHA1 Message Date
Joel Sherrill 4b6546f0bb 2007-03-28 Chris Johns <chrisj@rtems.org>
* rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
	score/include/rtems/score/watchdog.h: Add support for a handler to
	obtain the number of nanoseconds since the last clock tick. The
	primary interface for this is rtems_clock_set_nanoseconds_extension.
	Subsequent commits from Joel will redo the TOD support to use this
	capability.
	* rtems/src/clocksetnsecshandler.c: New file.
2007-03-28 19:56:14 +00:00
Ralf Corsepius 77b1020ad7 2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/heapwalk.c: include stdlib.h.
2007-03-18 07:34:25 +00:00
Ralf Corsepius 37c7bfcbd2 Change _Workspace_Handler_initialization and _Workspace_Allocate_or_fatal_error to using size_t. 2007-03-16 07:19:24 +00:00
Ralf Corsepius 83d01d54d7 2007-03-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/stack.h: Use size_t for stack sizes.
2007-03-13 05:38:21 +00:00
Ralf Corsepius d38ac0e614 2007-03-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/chain.h, score/src/chain.c:
	Change _Chain_Initialize to using size_t.
2007-03-13 05:17:12 +00:00
Joel Sherrill 1fb90ec740 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* score/src/heapallocatealigned.c, score/src/threadqrequeue.c: Correct
	license URL and/or fix mistake in copyright notice. Both of these
	mistakes appear to be from code submitted after these changes were
	made previously.
2007-03-12 11:16:02 +00:00
Joel Sherrill 96d0b64c62 2007-03-05 Joel Sherrill <joel@OARcorp.com>
PR 1222/cpukit
	* score/Makefile.am, score/include/rtems/score/coremutex.h,
	score/include/rtems/score/threadq.h,
	score/inline/rtems/score/coremutex.inl, score/src/coremsgsubmit.c,
	score/src/coremutexsurrender.c, score/src/threadchangepriority.c,
	score/src/threadclearstate.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadqdequeuefifo.c,
	score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
	score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
	score/src/threadqextractfifo.c, score/src/threadqextractpriority.c,
	score/src/threadsetstate.c: Enhance so that when the prioirity of a
	thread that is blocked on a priority based thread queue is changed,
	that its placement in the queue is reevaluated based upon the new
	priority. This enhancement includes modifications to the SuperCore as
	well as new test cases.
	* score/src/threadqrequeue.c: New file.
2007-03-05 21:01:40 +00:00
Ralf Corsepius 4768a2742b 2007-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/Makefile.am: Remove macros/README.
2007-02-16 01:55:47 +00:00
Ralf Corsepius 59c44c6b95 More size_t for heap-sizes. 2007-02-11 08:35:15 +00:00
Ralf Corsepius 8022a681a3 Use size_t for heap-sizes. 2007-02-11 04:52:37 +00:00
Ralf Corsepius f0bc38351c 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/coremsg.inl: More size_t and consts.
2007-02-06 13:40:57 +00:00
Ralf Corsepius 6703e49188 Use size_t for sizes. 2007-02-06 08:57:40 +00:00
Ralf Corsepius 2af864dbf9 Use size_t for sizes. 2007-02-06 03:50:47 +00:00
Ralf Corsepius 32e101ba3a Use size_t for sizes. 2007-02-05 15:35:36 +00:00
Ralf Corsepius 1cf2581b5a 2007-01-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Use uint_least16_t for
	Priority_Bit_map_control;
2007-01-30 09:11:10 +00:00
Ralf Corsepius 8db96e56f9 Remove __RTEMS_MAJOR__,
__RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
2007-01-27 07:21:05 +00:00
Ralf Corsepius 0454464692 2007-01-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/system.h:
	#define __RTEMS_MINOR__ 7 (BZ 1206).
2007-01-26 05:52:43 +00:00
Ralf Corsepius 63a88eb0bc Regenerate. 2007-01-08 08:43:28 +00:00
Ralf Corsepius 195e209a90 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/ppc.h: Remove (Deprecated in 4.7).
	* Makefile: Remove rtems/score/ppc.h.
2006-12-12 13:26:06 +00:00
Ralf Corsepius cdc2fcb593 Regenerate. 2006-12-12 13:25:57 +00:00
Ralf Corsepius 7d16b75513 Remove rtems/score/ppc.h. 2006-12-12 13:25:47 +00:00
Ralf Corsepius 1598a7b044 Remove (Deprecated in 4.7). 2006-12-12 13:25:29 +00:00
Ralf Corsepius f5c5a1db6a Add const qualifiers, use size_t where appropriate. 2006-12-06 09:46:46 +00:00
Ralf Corsepius 6876ce7a44 2006-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/thread.inl: Add const qualifiers to work
	around aliasing effects.
2006-12-05 15:57:31 +00:00
Ralf Corsepius 86aa798016 More consts 2006-12-04 14:44:33 +00:00
Ralf Corsepius 852d53f7a7 2006-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/chain.inl: Add const qualifiers (works
	  around 651 aliasing bugs).
2006-12-04 14:31:32 +00:00
Joel Sherrill 6bc7a5e1a3 2006-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/prwlockunlock.c, rtems/Makefile.am,
	rtems/src/barrierrelease.c, rtems/src/barrierwait.c,
	score/src/corerwlockobtainread.c, score/src/corerwlockrelease.c:
	Complete implementation of barrier as the rest of the test code is
	now implemented. Also add blocking code to rwlock.
2006-12-04 14:16:26 +00:00
Ralf Corsepius fbfb37e7e4 Remove score/src/threadget.c. 2006-11-27 09:54:27 +00:00
Ralf Corsepius 266165b1f3 Remove (Unused). 2006-11-27 09:54:02 +00:00
Joel Sherrill a607d363ef 2006-11-18 Joel Sherrill <joel@OARcorp.com>
* score/src/heapwalk.c: Do not use printk yet since many BSPs do not
	prove the hooks for printk yet. This will require enough BSP changes
	to delay until 4.8.
2006-11-18 14:48:13 +00:00
Joel Sherrill 7f3d6fe91c 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/inline/rtems/score/object.inl, score/src/objectnametoid.c:
	Properly honor searching only local node even when on single CPU
	system.
2006-11-17 22:59:41 +00:00
Joel Sherrill 28c55e4218 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/src/coresemseize.c: Add missing ISR enable.
2006-11-17 22:58:33 +00:00
Joel Sherrill d056acd092 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/src/heapwalk.c: Use printk not printf.
2006-11-17 22:57:48 +00:00
Ralf Corsepius 795da078a1 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Remove unsigned64, signed64.
2006-11-17 05:58:06 +00:00
Joel Sherrill 5fdca8afca 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/threadq.inl, score/src/corerwlocktimeout.c:
	New files.
2006-11-15 14:15:24 +00:00
Joel Sherrill 047d67ab25 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/termios.c, posix/Makefile.am, posix/preinstall.am,
	posix/include/rtems/posix/config.h, posix/include/rtems/posix/time.h,
	sapi/src/posixapi.c, score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/corerwlock.h,
	score/include/rtems/score/threadq.h,
	score/src/corerwlockobtainread.c, score/src/threadqenqueue.c,
	score/src/threadqtimeout.c: Adding POSIX barriers, POSIX spinlocks,
	and partial implementation of POSIX rwlocks.
	* posix/include/rtems/posix/barrier.h,
	posix/include/rtems/posix/rwlock.h,
	posix/include/rtems/posix/spinlock.h,
	posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
	posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
	posix/src/pbarrier.c, posix/src/pbarrierdestroy.c,
	posix/src/pbarrierinit.c, posix/src/pbarriertranslatereturncode.c,
	posix/src/pbarrierwait.c, posix/src/prwlock.c,
	posix/src/prwlockdestroy.c, posix/src/prwlockinit.c,
	posix/src/prwlockrdlock.c, posix/src/prwlocktimedrdlock.c,
	posix/src/prwlocktimedwrlock.c,
	posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
	posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
	posix/src/prwlockwrlock.c, posix/src/pspin.c,
	posix/src/pspindestroy.c, posix/src/pspininit.c,
	posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
	posix/src/pspintrylock.c, posix/src/pspinunlock.c,
	posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
	posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c: New files.
2006-11-15 14:08:49 +00:00
Ralf Corsepius 64d01b9c32 Regenerate. 2006-11-15 11:03:09 +00:00
Joel Sherrill fe3037df30 2006-11-14 Jiri Gaisler <jiri@gaisler.com>
* cpu_asm.S: Properly support synchronous traps.
2006-11-14 21:44:25 +00:00
Ralf Corsepius 0fefba6cbc 2006-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/Doxyfile: Remove RTEMS_INLINES.
2006-11-12 11:03:48 +00:00
Ralf Corsepius 4df1b2e646 2006-11-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/bfin/bf533.h, rtems/bfin/bfin.h: Remove stray whitespaces.
	* rtems/score/bfin.h: Use __BFIN__ instead of BFIN.
2006-11-09 11:11:03 +00:00
Ralf Corsepius a6c5a6d1ab Remove stray whitespaces. 2006-11-09 11:10:50 +00:00
Ralf Corsepius 1cb0a9b404 Use __BFIN__ instead of BFIN. 2006-11-09 11:10:29 +00:00
Ralf Corsepius fbf8301b58 2006-11-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu_asm.S: Re-add HI, LO.
2006-11-08 08:42:45 +00:00
Ralf Corsepius 3faa99f239 2006-11-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq.c: Add missing newline.
	* rtems/score/cpu.h: Eliminate hidden backspaces.
2006-11-08 08:23:35 +00:00
Ralf Corsepius da95961027 Eliminate hidden backspaces. 2006-11-08 08:23:19 +00:00
Ralf Corsepius 918b7a9f7e Add missing newline 2006-11-08 08:21:20 +00:00
Joel Sherrill 0c2ec7f52c 2006-10-30 Joel Sherrill <joel@OARcorp.com>
PR 841/rtems
	* itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
	posix/include/rtems/posix/semaphore.h,
	posix/inline/rtems/posix/semaphore.inl,
	posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
	posix/src/semwait.c, rtems/src/semobtain.c,
	rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coresem.h, score/src/coresemseize.c: Make
	sem_timedwait more conformant to Open Group specification.
2006-10-30 22:21:23 +00:00
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