Commit Graph
596 Commits
Author SHA1 Message Date
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
Joel Sherrill 8441e5ef83 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* posix/src/semtimedwait.c: Used wrong constant for blocking with bad
	timeout value.
2006-11-17 22:53:56 +00:00
Joel Sherrill 44bc19a795 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* posix/src/semtimedwait.c: Reverse accidentally included
	semtimedwait.c.
2006-11-17 22:51:12 +00:00
Joel Sherrill 4d0bb65e12 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* posix/src/keygetspecific.c, posix/src/keysetspecific.c,
	posix/src/semtimedwait.c: Correct indexing of key data to use api and
	index NOT class and index. Class is always 1.
2006-11-17 22:49:30 +00:00
Joel Sherrill ba16717a62 2006-11-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am: Add file missed in previous commit.
	* posix/src/posixtimespecabsolutetimeout.c: New file.
2006-11-15 15:34:45 +00:00
Ralf Corsepius 8c47f1c103 Regenerate. 2006-11-15 14:28:05 +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
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 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
Ralf Corsepius fc08203110 convert to utf-8 2006-07-06 11:09:46 +00:00
Ralf Corsepius 8a02d0af47 PR 1088/rtems
Add missing #include <limits.h>.
2006-06-18 05:48:20 +00:00
Ralf Corsepius e1baed04cc Remove duplicate #include <limits.h>. 2006-06-18 05:47:54 +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
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
Joel Sherrill 5287d3e7e5 2006-04-06 Joel Sherrill <joel@OARcorp.com>
* posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/timer.inl,
	posix/macros/rtems/posix/cond.inl,
	posix/macros/rtems/posix/mutex.inl,
	posix/macros/rtems/posix/timer.inl: Fix warnings.
2006-04-07 01:16:55 +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 d2e1d3a39e 2006-02-01 Joel Sherrill <joel@OARcorp.com>
* posix/inline/rtems/posix/cond.inl, posix/macros/rtems/posix/cond.inl,
	posix/src/conddestroy.c: Remove warnings.
2006-02-01 18:57:34 +00:00
Ralf Corsepius 355f69a810 Remove unused code 2006-01-18 14:58:04 +00:00
Ralf Corsepius 9aef35b7a7 Resurrect accidentially deleted file. 2006-01-18 14:41:05 +00:00
Ralf Corsepius 67f4cbc0be 2006-01-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/intr.h, posix/include/rtems/posix/intr.h
	posix/include/rtems/posix/threadsup.h,
	posix/inline/rtems/posix/intr.inl.
	posix/macros/rtems/posix/intr.inl, posix/src/intr.c:
	Remove (Unused, dead).
	* posix/Makefile.am: Reflect changes above. Rework.
2006-01-18 14:28:06 +00:00
Ralf Corsepius 43b3e74ece Remove. 2006-01-18 14:27:18 +00:00
Ralf Corsepius 96e6cd8aab Regenerate 2006-01-18 11:04:42 +00:00
Ralf Corsepius dbb3ebce2f 2006-01-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Build devctl.
2006-01-18 11:04:18 +00:00
Eric Norum 5464eefa13 Keep compiler happy by making some casts explicit. (PR859) 2006-01-15 18:51:30 +00:00
Ralf Corsepius 2eb7d07e17 Regenerate. 2006-01-14 06:20:35 +00:00
Ralf Corsepius 19a0136c82 Regenerate. 2006-01-12 10:02:32 +00:00
Ralf Corsepius 4e971660a1 Remove all-local. 2006-01-12 09:57:43 +00:00
Ralf Corsepius 6ce2a66b94 Regenerate. 2006-01-12 04:24:13 +00:00
Ralf Corsepius dbe8e5194c Cleanups 2006-01-12 04:19:28 +00:00
Ralf Corsepius b46f6fb219 Regenerate. 2006-01-10 17:57:23 +00:00
Joel Sherrill 84b6c0502e 2005-09-01 Joel Sherrill <joel@OARcorp.com>
PR 796/rtems
	* posix/src/semtimedwait.c: sem_timedwait is supposed to use absolute
	time for timeout specification. This patch is a modified version of
	the one suggested by Peter Dufault.
2005-09-01 14:44:04 +00:00
Joel Sherrill 49b7b17cfb 2005-08-17 Nuno Costa <nuno-costa@iol.pt>
PR 805/rtems
	* posix/include/rtems/posix/timer.h: Due to bad choice of error
	constants by original submitter, it was impossible to create more
	than 10 POSIX timers.
2005-08-17 22:57:41 +00:00
Ralf Corsepius fffda815c0 ssize_t mq_timedreceive() (POSIX compliance) 2005-08-15 15:12:27 +00:00
Ralf Corsepius 180295adc8 New header guards. 2005-02-21 07:29:05 +00:00
Ralf Corsepius 5ec2f12d86 New header guards. 2005-02-21 07:20:13 +00:00
Ralf Corsepius 476114f5e9 Auto-generated update. 2005-02-19 17:08:36 +00:00
Ralf Corsepius 6265b83060 Split preinstallation rules in to separate files (preinstall.am). 2005-02-08 15:02:25 +00:00
Ralf Corsepius 6c6ee53029 New. 2005-02-08 14:53:14 +00:00
Joel Sherrill ce92867bea 2005-02-01 Joel Sherrill <joel@OARcorp.com>
* libblock/include/rtems/bdbuf.h,
	libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c,
	libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c,
	posix/macros/rtems/posix/cond.inl,
	posix/macros/rtems/posix/mutex.inl : Remove warnings.
2005-02-02 00:06:18 +00:00
Ralf Corsepius 05b37c50d0 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am,
	libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am,
	rtems/Makefile.am, sapi/Makefile.am:
	Remove AM_CPPFLAGS += -I$(top_builddir).
2005-01-28 02:32:38 +00:00
Ralf Corsepius 5f6618e7d0 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/cond.h,
	file posix/include/rtems/posix/mutex.h: Cosmetics.
2005-01-07 08:03:22 +00:00
Ralf Corsepius a369ade90d 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am,
	libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am,
	libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am,
	rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am:
	Eliminate CFLAGS_OPTIMIZE_V.
2005-01-07 06:05:49 +00:00
Ralf Corsepius 846a4af893 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* automake/compile.am, httpd/Makefile.am, itron/Makefile.am,
	libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am,
	libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am,
	posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am,
	score/Makefile.am, wrapup/Makefile.am:
	Remove build-variant support.
2005-01-01 10:41:29 +00:00
Ralf Corsepius 0ff3df0345 2004-12-10 Ralf Corsepius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/include/devctl.h,
	posix/include/intr.h, posix/include/mqueue.h,
	posix/include/sched.h, posix/include/semaphore.h,
	posix/src/ptimer.c, posix/src/ptimer1.c:
	Include <unistd.h> instead of <sys/features.h> to pick up
	_POSIX_* defines (Mandated by POSIX).
2004-12-10 04:17:50 +00:00
Ralf Corsepius 6c2675dfb2 Add doxygen preamble. 2004-11-21 06:27:15 +00:00
Joel Sherrill 209e68dfbd 2004-11-02 Joel Sherrill <joel@OARcorp.com>
* posix/src/mqueueunlink.c, posix/src/semunlink.c,
	score/inline/rtems/score/object.inl,
	score/macros/rtems/score/object.inl: _Objects_Is_local_id() should be
	avoided in single CPU configurations but always available in the
	Objects Handlers API.
2004-11-02 17:21:16 +00:00
Joel Sherrill 092fe28eb2 2004-09-27 Joel Sherrill <joel@OARcorp.com>
PR 294/rtems
	* posix/src/pthread.c: POSIX thread exit handler now confirms that it
	created the executing thread before implicitly exitting it.
2004-09-27 22:44:19 +00:00
Joel Sherrill 138aa38dea 2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 628/rtems
	* posix/src/killinfo.c, posix/src/pthreadkill.c, posix/src/ptimer1.c,
	posix/src/sigaction.c, posix/src/sigaddset.c, posix/src/sigsuspend.c:
	Signal set of 0 is supposed to return EINVAL.  In addition
	timer_create needed to return an error if the clock was not
	CLOCK_REALTIME.
2004-05-21 20:19:33 +00:00
Joel Sherrill 58accdd083 2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 629/rtems
	* cpukit/src/mqueuecreatesupp.c: Return EINVAL is mq_maxmsg is
	<= 0, not <.
2004-05-21 20:11:48 +00:00
Ralf Corsepius 874297f3be Remove stray white spaces. 2004-04-16 10:01:03 +00:00