Commit Graph

722 Commits

Author SHA1 Message Date
Ralf Corsépius
1c554014af Remove CVS-Ids. 2012-07-19 16:55:18 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
ee32f67a6f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Sebastian Huber
3b7c123c8d Filesystem: Reference counting for locations
o A new data structure rtems_filesystem_global_location_t was
   introduced to be used for
    o the mount point location in the mount table entry,
    o the file system root location in the mount table entry,
    o the root directory location in the user environment, and
    o the current directory location in the user environment.
   During the path evaluation global start locations are obtained to
   ensure that the current file system instance will be not unmounted in
   the meantime.
 o The user environment uses now reference counting and is protected
   from concurrent access.
 o The path evaluation process was completely rewritten and simplified.
   The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation
   method.  Recursive calls in the path evaluation have been replaced
   with iteration to avoid stack overflows.  Only the evaluation of
   symbolic links is recursive.  No dynamic memory allocations and
   intermediate buffers are used in the high level path evaluation.  No
   global locks are held during the file system instance specific path
   evaluation process.
 o Recursive symbolic link evaluation is now limited by
   RTEMS_FILESYSTEM_SYMLOOP_MAX.  Applications can retrieve this value
   via sysconf().
 o The device file system (devFS) uses now no global variables and
   allocation from the workspace.  Node names are allocated from the
   heap.
 o The upper layer lseek() performs now some parameter checks.
 o The upper layer ftruncate() performs now some parameter checks.
 o unmask() is now restricted to the RWX flags and protected from
   concurrent access.
 o The fchmod_h and rmnod_h file system node handlers are now a file
   system operation.
 o The unlink_h operation has been removed.  All nodes are now destroyed
   with the rmnod_h operation.
 o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system
   operations.
 o The path evaluation and file system operations are now protected by
   per file system instance lock and unlock operations.
 o Fix and test file descriptor duplicate in fcntl().
 o New test fstests/fsnofs01.
2012-03-13 12:23:37 +01:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Sebastian Huber
0180806481 Update due to API changes. 2012-01-23 10:50:07 +01:00
Sebastian Huber
b98d399f3c 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* posix/src/mqueuenametoid.c,
	posix/src/semaphorenametoid.c: Removed files.
	* posix/src/psxnametoid.c: New file.
	* posix/Makefile.am: Reflect changes above.
	* posix/include/rtems/posix/config.h: Fixed integer types.
	* posix/include/rtems/posix/posixapi.h: Declare _POSIX_Name_to_id().
	* posix/include/rtems/posix/mqueue.h,
	posix/inline/rtems/posix/mqueue.inl: Changed parameter of
	_POSIX_Message_queue_Create_support().
	_POSIX_Message_queue_Name_to_id() is now inline.
	* posix/include/rtems/posix/semaphore.h,
	posix/inline/rtems/posix/semaphore.inl: Changed parameter of
	_POSIX_Semaphore_Create_support().  _POSIX_Semaphore_Name_to_id() is
	now inline.
	* posix/src/mqueuecreatesupp.c, posix/src/semaphorecreatesupp.c: Use
	_Workspace_String_duplicate().
	* posix/src/mqueuesendsupp.c, posix/src/mqueueopen.c,
	posix/src/mqueueunlink.c, posix/src/seminit.c, posix/src/semopen.c,
	posix/src/semunlink.c: Update due to API changes.
2011-12-13 12:56:53 +00:00
Ralf Corsepius
4172953cc4 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
	Don't include <sys/types.h> (unnecessary).
2011-12-10 05:34:15 +00:00
Ralf Corsepius
0a752f4e93 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static.
2011-12-10 03:56:16 +00:00
Ralf Corsepius
58451f1c23 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1981/cpukit
	* posix/Makefile.am: Reflect changes below.
	* posix/src/pthreadsetcputime.c, posix/src/pthreadgetcputime.c:
	Remove (Obsolete).
2011-12-08 08:57:57 +00:00
Ralf Corsepius
e2bcb3217b 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pspinlocktranslatereturncode.c:
	Include <rtems/posix/spinlock.h> (Missing prototypes).
2011-12-06 07:08:45 +00:00
Ralf Corsepius
b929b39e01 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/pthread.h:
	Add _POSIX_Threads_Initialize_user_threads_body.
	* rtems/include/rtems/rtems/tasks.h:
	Add _RTEMS_tasks_Initialize_user_tasks_body.
	* sapi/include/confdefs.h: Remove conditional, nested redeclaration of
	_POSIX_Threads_Initialize_user_threads_body,
	_RTEMS_tasks_Initialize_user_tasks_body.
2011-12-05 13:51:06 +00:00
Ralf Corsepius
76f1677937 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthread.c: Fix typos.
2011-12-05 08:52:07 +00:00
Ralf Corsepius
e42e069eeb 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthreadinitthreads.c: Fix typos.
2011-12-05 08:50:56 +00:00
Ralf Corsepius
98c1e0d288 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthreadatfork.c:
	Include <pthread.h> (Missing prototypes).
2011-12-05 05:17:45 +00:00
Ralf Corsepius
e511f6d0cf 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueuetranslatereturncode.c:
	Include <rtems/posix/mqueue.h> (Missing prototypes).
	* posix/src/mutextranslatereturncode.c:
	Include <rtems/posix/mutex.h> (Missing prototypes).
	* posix/src/semaphoretranslatereturncode.c:
	Include <rtems/posix/semaphore.h> (Missing prototypes).
2011-12-05 05:15:38 +00:00
Ralf Corsepius
7729910d1b 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
	static.
2011-12-05 05:11:21 +00:00
Ralf Corsepius
c4a9f3f079 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/aio_misc.c: Make rtems_aio_move_to_work,
	rtems_aio_insert_prio static.
2011-12-03 05:39:47 +00:00
Ralf Corsepius
29aed671e4 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthread.c (_POSIX_Threads_Default_attributes): Add
	missing initializer.
	* posix/src/pthread.c: Make
	_POSIX_Threads_Create_extension,_POSIX_Threads_Delete_extension,
	_POSIX_Threads_Exitted_extension,
	_POSIX_Threads_Initialize_user_threads static.
2011-12-03 03:54:30 +00:00
Ralf Corsepius
6940c38237 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
2011-12-01 03:46:36 +00:00
Ralf Corsepius
e2e9d95b6d 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
2011-12-01 03:05:17 +00:00
Ralf Corsepius
596cbc565d 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
	Remove unused var "status".
2011-10-17 13:32:54 +00:00
Ralf Corsepius
8fd5081a7f 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/ualarm.c: Make _POSIX_signals_Ualarm_TSR static.
2011-10-17 12:25:35 +00:00
Joel Sherrill
e5ca6593f7 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1890/cpukit
	* posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be
	NULL.
2011-08-21 19:59:03 +00:00
Joel Sherrill
f05af6b733 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1855/cpukit
	* posix/src/psignal.c, posix/src/pthread.c, posix/src/pthreadjoin.c:
	Correct signal processing during pthread_join. We are supposed to
	unblock the thread waiting on a pthread_join(), dispatch the signal
	handler, account for it potentially overwriting errno, and then have
	the thread return to blocking within pthread_join().
2011-07-31 22:40:23 +00:00
Joel Sherrill
25715ecc42 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1867/cpukit
	* posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct
	implementation of pthread_exit() and pthread_join() to support the
	case where a thread is joinable but calls pthread_exit() before a
	thread has attempted to join.
2011-07-31 16:16:00 +00:00
Joel Sherrill
f2dd10b7d1 2011-07-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/pthread.c, posix/src/pthreadjoin.c: Revert accidental
	commit.
2011-07-27 17:17:49 +00:00
Joel Sherrill
558ef3412c 2011-07-27 Petr Benes <benesp16@fel.cvut.cz>
PR 1856/cpukit
	* posix/src/pthread.c, posix/src/pthreadjoin.c,
	score/src/rbtreeextract.c: Do not derefence NULL.
2011-07-27 13:27:48 +00:00
Joel Sherrill
64adc13c86 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* ftpd/ftpd.c, libcsupport/src/geteuid.c, libcsupport/src/getgroups.c,
	libcsupport/src/getpgrp.c, libcsupport/src/getpid.c,
	libcsupport/src/getppid.c, libcsupport/src/setpgid.c,
	libcsupport/src/setsid.c, libcsupport/src/utsname.c,
	libmisc/stackchk/check.c, posix/include/rtems/posix/mqueue.h,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/timer.inl, posix/src/alarm.c,
	posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
	posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
	posix/src/cleanuppop.c, posix/src/cleanuppush.c,
	posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
	posix/src/clockgetres.c, posix/src/clockgettime.c,
	posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
	posix/src/cond.c, posix/src/condattrdestroy.c,
	posix/src/condattrgetpshared.c, posix/src/condattrinit.c,
	posix/src/condattrsetpshared.c, posix/src/condbroadcast.c,
	posix/src/conddefaultattributes.c, posix/src/conddestroy.c,
	posix/src/condinit.c, posix/src/condsignal.c,
	posix/src/condsignalsupp.c, posix/src/condtimedwait.c,
	posix/src/condwait.c, posix/src/condwaitsupp.c,
	posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
	posix/src/keysetspecific.c, posix/src/mprotect.c, posix/src/mqueue.c,
	posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c,
	posix/src/mqueuegetattr.c, posix/src/mqueuenotify.c,
	posix/src/mqueuereceive.c, posix/src/mqueuesend.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
	posix/src/mqueuetranslatereturncode.c, posix/src/mqueueunlink.c,
	posix/src/mutex.c, posix/src/mutexattrdestroy.c,
	posix/src/mutexattrgetprioceiling.c,
	posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
	posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
	posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
	posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
	posix/src/mutexinit.c, posix/src/mutexlock.c,
	posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
	posix/src/mutextimedlock.c, posix/src/mutextrylock.c,
	posix/src/mutexunlock.c, posix/src/nanosleep.c, posix/src/psignal.c,
	posix/src/psignalchecksignal.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalclearsignals.c,
	posix/src/psignalsetprocesssignals.c,
	posix/src/psignalunblockthread.c, posix/src/pthreadinitthreads.c,
	posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
	posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
	posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
	posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
	posix/src/sempost.c, posix/src/semtimedwait.c,
	posix/src/semtrywait.c, posix/src/semunlink.c, posix/src/semwait.c,
	posix/src/sysconf.c, posix/src/testcancel.c, posix/src/ualarm.c,
	rtems/src/clockgetuptime.c, rtems/src/clockset.c,
	rtems/src/clocksetnsecshandler.c, rtems/src/clocktick.c,
	rtems/src/clocktodtoseconds.c, rtems/src/clocktodvalidate.c,
	rtems/src/dpmem.c, rtems/src/dpmemcreate.c, rtems/src/dpmemdelete.c,
	rtems/src/dpmemexternal2internal.c, rtems/src/dpmemident.c,
	rtems/src/dpmeminternal2external.c, rtems/src/event.c,
	rtems/src/eventmp.c, rtems/src/eventreceive.c,
	rtems/src/eventseize.c, rtems/src/eventsend.c,
	rtems/src/eventsurrender.c, rtems/src/eventtimeout.c, rtems/src/mp.c,
	rtems/src/msg.c, rtems/src/msgmp.c, rtems/src/msgqallocate.c,
	rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c,
	rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
	rtems/src/msgqgetnumberpending.c, rtems/src/msgqident.c,
	rtems/src/msgqreceive.c, rtems/src/msgqtranslatereturncode.c,
	rtems/src/msgqurgent.c, rtems/src/part.c, rtems/src/partcreate.c,
	rtems/src/partdelete.c, rtems/src/partgetbuffer.c,
	rtems/src/partident.c, rtems/src/partmp.c,
	rtems/src/partreturnbuffer.c, rtems/src/ratemon.c,
	rtems/src/ratemoncancel.c, rtems/src/ratemoncreate.c,
	rtems/src/ratemondelete.c, rtems/src/ratemongetstatistics.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
	rtems/src/ratemontimeout.c, rtems/src/region.c,
	rtems/src/regioncreate.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionident.c,
	rtems/src/regionmp.c, rtems/src/regionprocessqueue.c,
	rtems/src/regionresizesegment.c, rtems/src/regionreturnsegment.c,
	rtems/src/rtemsobjectgetclassicname.c, rtems/src/rtemstimer.c,
	rtems/src/sem.c, rtems/src/semcreate.c, rtems/src/semdelete.c,
	rtems/src/semflush.c, rtems/src/semident.c, rtems/src/semmp.c,
	rtems/src/semobtain.c, rtems/src/semrelease.c,
	rtems/src/semtranslatereturncode.c, rtems/src/signal.c,
	rtems/src/signalcatch.c, rtems/src/signalmp.c,
	rtems/src/signalsend.c, rtems/src/taskcreate.c,
	rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
	rtems/src/taskident.c, rtems/src/taskinitusers.c,
	rtems/src/taskissuspended.c, rtems/src/taskmp.c,
	rtems/src/taskrestart.c, rtems/src/taskresume.c, rtems/src/tasks.c,
	rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
	rtems/src/taskstart.c, rtems/src/tasksuspend.c,
	rtems/src/taskwakeafter.c, rtems/src/taskwakewhen.c,
	rtems/src/timercancel.c, rtems/src/timercreate.c,
	rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
	rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
	rtems/src/timerident.c, rtems/src/timerreset.c,
	rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c,
	sapi/src/debug.c, sapi/src/extension.c, sapi/src/posixapi.c,
	sapi/src/rtemsapi.c, score/src/apiext.c, score/src/chain.c,
	score/src/corebarrier.c, score/src/corebarrierrelease.c,
	score/src/corebarrierwait.c, score/src/coremsgbroadcast.c,
	score/src/coremsgclose.c, score/src/coremsgflush.c,
	score/src/coremsgflushsupp.c, score/src/coremsgflushwait.c,
	score/src/coremsginsert.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c, score/src/coremutex.c,
	score/src/coremutexflush.c, score/src/coremutexseize.c,
	score/src/corerwlock.c, score/src/corerwlockobtainread.c,
	score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c,
	score/src/coresem.c, score/src/coresemflush.c,
	score/src/coresemsurrender.c, score/src/corespinlock.c,
	score/src/corespinlockrelease.c, score/src/corespinlockwait.c,
	score/src/coretod.c, score/src/coretodset.c,
	score/src/coretodtickle.c, score/src/heap.c, score/src/interr.c,
	score/src/mpci.c, score/src/objectallocate.c,
	score/src/objectextendinformation.c, score/src/objectfree.c,
	score/src/objectget.c, score/src/objectgetisr.c,
	score/src/objectgetnext.c, score/src/objectgetnoprotection.c,
	score/src/objectinitializeinformation.c, score/src/objectmp.c,
	score/src/objectnametoid.c, score/src/objectnametoidstring.c,
	score/src/objectshrinkinformation.c, score/src/rbtree.c,
	score/src/threaddelayended.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadloadenv.c,
	score/src/threadmp.c, 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/threadstackallocate.c, score/src/threadstartmultitasking.c,
	score/src/watchdog.c, score/src/watchdogadjust.c,
	score/src/watchdoginsert.c, score/src/watchdogremove.c,
	score/src/watchdogtickle.c: Remove /*PAGE markers which were
	interpreted by a long dead print script.
2011-07-24 23:55:15 +00:00
Joel Sherrill
3d5efd4a02 2011-06-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/semaphore.h, posix/include/rtems/posix/mutex.h,
	posix/inline/rtems/posix/mutex.inl: Fix typos.
2011-06-27 20:30:58 +00:00
Joel Sherrill
21242c252a 2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, include/rtems/concat.h,
	include/rtems/endian.h, include/rtems/fs.h, include/rtems/irq.h,
	include/rtems/pci.h, include/rtems/userenv.h,
	libblock/include/rtems/flashdisk.h,
	libblock/include/rtems/nvdisk-sram.h,
	libblock/include/rtems/nvdisk.h, libcsupport/include/clockdrv.h,
	libcsupport/include/console.h, libcsupport/include/iosupp.h,
	libcsupport/include/spurious.h,
	libcsupport/include/motorola/mc68230.h,
	libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/error.h,
	libcsupport/include/rtems/framebuffer.h,
	libcsupport/include/rtems/gxx_wrappers.h,
	libcsupport/include/rtems/libcsupport.h,
	libcsupport/include/rtems/libio_.h,
	libcsupport/include/rtems/malloc.h,
	libcsupport/include/rtems/termiostypes.h,
	libcsupport/include/sys/statvfs.h, libcsupport/include/sys/termios.h,
	libcsupport/include/sys/utsname.h, libcsupport/include/zilog/z8036.h,
	libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h,
	libfs/src/imfs/imfs.h, libfs/src/pipe/pipe.h,
	libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
	libmisc/cpuuse/cpuuse.h, libmisc/devnull/devnull.h,
	libmisc/devnull/devzero.h, libmisc/dumpbuf/dumpbuf.h,
	libmisc/fb/fb.h, libmisc/fb/mw_uid.h, libmisc/mouse/mouse_parser.h,
	libmisc/shell/shellconfig.h, libmisc/stringto/stringto.h,
	libmisc/untar/untar.h, libnetworking/memory.h, posix/include/aio.h,
	posix/include/mqueue.h, posix/include/semaphore.h,
	posix/include/rtems/posix/aio_misc.h,
	posix/include/rtems/posix/barrier.h,
	posix/include/rtems/posix/cond.h, posix/include/rtems/posix/config.h,
	posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/posixapi.h,
	posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/psignal.h,
	posix/include/rtems/posix/pthread.h,
	posix/include/rtems/posix/ptimer.h,
	posix/include/rtems/posix/rwlock.h,
	posix/include/rtems/posix/semaphore.h,
	posix/include/rtems/posix/sigset.h,
	posix/include/rtems/posix/spinlock.h,
	posix/include/rtems/posix/threadsup.h,
	posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
	posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/priority.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/inline/rtems/posix/timer.inl, rtems/mainpage.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/timer.h,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/timer.inl,
	rtems/src/semtranslatereturncode.c, sapi/include/rtems/config.h,
	sapi/include/rtems/fatal.h, sapi/include/rtems/mptables.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/priority.h,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/priority.inl: Add @file Doxygen directives
	and descriptions to files which originated with RTEMS. This improves
	the file list page generated by Doxygen.
2011-06-24 17:52:58 +00:00
Joel Sherrill
4b72da419b 2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/malloc.h, libmisc/stackchk/stackchk.h,
	posix/include/rtems/posix/time.h, rtems/include/rtems/rtems/object.h,
	score/include/rtems/score/apiext.h,
	score/include/rtems/score/interr.h, score/include/rtems/score/mpci.h,
	score/include/rtems/score/objectmp.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadmp.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/timespec.h,
	score/include/rtems/score/timestamp.h,
	score/include/rtems/score/timestamp64.h,
	score/include/rtems/score/tod.h,
	score/include/rtems/score/watchdog.h,
	score/include/rtems/score/wkspace.h: Make @brief formatting more
	consistent.
	* score/include/rtems/score/rbtree.h: Also reformat.
2011-06-17 14:55:27 +00:00
Ralf Corsepius
20e3bf7a1b 2011-05-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Remove posixtime.h.
	* posix/src/clockgetres.c, posix/src/clockgettime.c,
	posix/src/clocksettime.c: Remove posixtime.h.
	Require CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID.
	* posix/src/posixtime.h: Remove.
2011-05-19 06:31:42 +00:00
Ralf Corsepius
e490c797b9 2011-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Reformat.
	* posix/Makefile.am: Reformat.
2011-05-16 14:14:46 +00:00
Ralf Corsepius
732a07401e 2011-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Add posixtime.h.
	* posix/src/clockgetres.c, posix/src/clockgettime.c,
	posix/src/clocksettime.c:
	Use CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID.
	Include posix/src/posixtime.h.
	* posix/src/posixtime.h: New.
2011-05-16 14:11:11 +00:00
Ralf Corsepius
5153d879c9 2011-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/Makefile.am: Add posixtime.h.
	* posix/src/clockgetres.c, posix/src/clockgettime.c,
	posix/src/clocksettime.c:
	Use CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID.
	Include posix/src/posixtime.h.
	* posix/src/posixtime.h: New.
2011-05-16 13:55:17 +00:00
Joel Sherrill
6f68d5faaf 2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/mqueuegetattr.c,
	score/inline/rtems/score/schedulerpriority.inl: Remove warnings.
2011-04-18 22:01:47 +00:00
Joel Sherrill
e1fc243323 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1759/cpukit
	* posix/src/cancel.c, posix/src/pthreaddetach.c,
	posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c,
	posix/src/pthreadjoin.c, posix/src/pthreadkill.c,
	posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not
	support using Classic API Task Ids.
2011-03-08 22:14:14 +00:00
Ralf Corsepius
f154804273 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/sleep_noposix.c: Remove.
	* libcsupport/Makefile.am: Reflect changes above.
	* posix/src/sleep.c, posix/src/usleep.c: Remove.
	* posix/Makefile.am: Reflect changes above.
	* configure.ac: Error out if libc doesn't provide sleep, usleep.
2011-02-25 10:20:02 +00:00
Ralf Corsepius
8eaf3bce1a Add missing includes. 2011-02-24 15:09:54 +00:00
Ralf Corsepius
324c186aae 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
2011-02-23 14:34:34 +00:00
Ralf Corsepius
c8cf476634 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/key.h: Add missing includes.
2011-02-23 14:30:52 +00:00
Ralf Corsepius
b69e6cd5fa 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/mqueue.h: Relocate "extern C++" guards.
2011-02-23 14:21:53 +00:00
Joel Sherrill
a0323a9f8f 2011-02-15 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libmisc/capture/capture.c, posix/src/keyfreememory.c,
	posix/src/pthread.c, score/include/rtems/score/wkspace.h,
	score/src/objectextendinformation.c,
	score/src/objectnamespaceremove.c, score/src/objectsetname.c,
	score/src/threadclose.c, score/src/threadinitialize.c,
	score/src/wkspace.c: Many places were checking for a NULL pointer
	before calling _Workspace_Free. By moving the check into
	_Workspace_Free, we eliminate a number of conditional paths and make
	it harder to return a NULL pointer.
2011-02-16 00:24:49 +00:00
Joel Sherrill
f16c0591a2 2011-01-17 Alin Rus <alin.codejunkie@gmail.com>
* posix/src/aio_cancel.c: Fixed ending of if braces.

2011-01-17	Alin Rus <alin.codejunkie@gmail.com>

	* posix/src/aio_misc.c: Add debug information. Fixed idle_threads/
	active_threads issues. Fixed infinite loop in rtems_aio_handle().
2011-01-17 22:12:48 +00:00
Joel Sherrill
6c48b5358c 2011-01-08 Alin Rus <alin.codejunkie@gmail.com>
* posix/src/aio_misc.c: Fix rtems_aio_remove_req did not iterate
	over chain.
	* posix/src/aio_cancel.c: Add debug information. Add check for
	bad file descriptor. Add else branch for cancel request on empty
	IQ chain.
2011-01-08 21:01:32 +00:00
Joel Sherrill
8633e8f084 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/aio_cancel.c: Use perfd field not next_fd.
2011-01-04 18:38:58 +00:00
Joel Sherrill
57e278dab9 2010-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, posix/src/signal_2.c: sighandler_t is defined
	conditionally in some versions of newlib and unconditionally in
	others. Make sure we always compile.
2010-12-03 20:34:24 +00:00
Sebastian Huber
ce002b161d 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c,
	libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c,
	posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl,
	score/inline/rtems/score/watchdog.inl, score/src/apiext.c,
	score/src/chain.c, score/src/coremsgflushsupp.c,
	score/src/coremsginsert.c, score/src/objectshrinkinformation.c,
	score/src/schedulerpriorityyield.c,
	score/src/threadqdequeuepriority.c,
	score/src/threadqenqueuepriority.c,
	score/src/threadqextractpriority.c, score/src/threadqfirstfifo.c,
	score/src/threadqfirstpriority.c, score/src/threadyieldprocessor.c,
	score/src/userextthreadbegin.c, score/src/userextthreadcreate.c,
	score/src/userextthreaddelete.c, score/src/userextthreadrestart.c,
	score/src/userextthreadstart.c, score/src/userextthreadswitch.c,
	score/src/watchdogreportchain.c: Avoid chain API violations.
2010-11-25 09:27:06 +00:00