Commit Graph

373 Commits

Author SHA1 Message Date
Joel Sherrill
4b5414ffa8 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/cond.h, include/rtems/posix/condmp.h,
	include/rtems/posix/config.h, include/rtems/posix/intr.h,
	include/rtems/posix/key.h, include/rtems/posix/mqueue.h,
	include/rtems/posix/mqueuemp.h, include/rtems/posix/mutex.h,
	include/rtems/posix/mutexmp.h, include/rtems/posix/posixapi.h,
	include/rtems/posix/pthread.h, include/rtems/posix/pthreadmp.h,
	include/rtems/posix/ptimer.h, include/rtems/posix/semaphore.h,
	include/rtems/posix/semaphoremp.h, inline/rtems/posix/cond.inl,
	inline/rtems/posix/intr.inl, inline/rtems/posix/key.inl,
	inline/rtems/posix/mqueue.inl, inline/rtems/posix/mutex.inl,
	inline/rtems/posix/pthread.inl, inline/rtems/posix/semaphore.inl,
	inline/rtems/posix/timer.inl, macros/rtems/posix/cond.inl,
	macros/rtems/posix/intr.inl, macros/rtems/posix/key.inl,
	macros/rtems/posix/mqueue.inl, macros/rtems/posix/mutex.inl,
	macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl,
	macros/rtems/posix/timer.inl, src/alarm.c, src/kill.c,
	src/killinfo.c, src/mqueuetranslatereturncode.c, src/pause.c,
	src/pthreadattrdestroy.c, src/pthreadattrgetdetachstate.c,
	src/pthreadattrgetinheritsched.c, src/pthreadattrgetschedparam.c,
	src/pthreadattrgetschedpolicy.c, src/pthreadattrgetscope.c,
	src/pthreadattrgetstackaddr.c, src/pthreadattrgetstacksize.c,
	src/pthreadattrinit.c, src/pthreadattrsetdetachstate.c,
	src/pthreadattrsetinheritsched.c, src/pthreadattrsetschedparam.c,
	src/pthreadattrsetschedpolicy.c, src/pthreadattrsetscope.c,
	src/pthreadattrsetstackaddr.c, src/pthreadattrsetstacksize.c,
	src/pthreadcreate.c, src/pthreaddetach.c, src/pthreadequal.c,
	src/pthreadexit.c, src/pthreadgetcpuclockid.c,
	src/pthreadgetcputime.c, src/pthreadgetschedparam.c,
	src/pthreadjoin.c, src/pthreadkill.c, src/pthreadonce.c,
	src/pthreadself.c, src/pthreadsetcputime.c,
	src/pthreadsetschedparam.c, src/pthreadsigmask.c, src/sigaction.c,
	src/sigaddset.c, src/sigdelset.c, src/sigemptyset.c,
	src/sigfillset.c, src/sigismember.c, src/signal_2.c,
	src/sigpending.c, src/sigprocmask.c, src/sigqueue.c,
	src/sigsuspend.c, src/sigtimedwait.c, src/sigwait.c,
	src/sigwaitinfo.c: URL for license changed.
2003-09-04 18:47:11 +00:00
Ralf Corsepius
f8c4c8a7fd 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 449/rtems:
	* src/getegid.c: Remove (Moved to ../libcsupport/src).
	* src/geteuid.c: Remove (Moved to ../libcsupport/src).
	* src/getgid.c: Remove (Moved to ../libcsupport/src).
	* src/getgroups.c: Remove (Moved to ../libcsupport/src).
	* src/getlogin.c: Remove (Moved to ../libcsupport/src).
	* src/getpgrp.c: Remove (Moved to ../libcsupport/src).
	* src/getpid.c: Remove (Moved to ../libcsupport/src).
	* src/getppid.c: Remove (Moved to ../libcsupport/src).
	* src/getuid.c: Remove (Moved to ../libcsupport/src).
	* src/setpgid.c: Remove (Moved to ../libcsupport/src).
	* src/setsid.c: Remove (Moved to ../libcsupport/src).
	* Makefile.am: Reflect changes above
2003-08-19 08:33:08 +00:00
Ralf Corsepius
74e299827b 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-08-11 14:41:57 +00:00
Ralf Corsepius
17569bf489 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 09:40:38 +00:00
Ralf Corsepius
ccd81b60c2 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 11:47:49 +00:00
Ralf Corsepius
9b5c258556 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-02-11 11:11:33 +00:00
Joel Sherrill
7210dcb41a 2003-01-27 Juan Zamorano <jzamora@fi.upm.es>
* src/ptimer1.c: Correct problem which could lead to overflow in time
	math.
2003-01-27 15:48:18 +00:00
Joel Sherrill
ff38359fc6 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected entry for sysconf.c which did not include PR.
2003-01-03 17:04:03 +00:00
Joel Sherrill
98e3a335b3 2003-01-03 Jay Monkman <jtm@smoothsmoothie.com>
* src/mqueueopen.c: Actually open the message queue descriptor
	so it is available for others to use.
2003-01-03 16:33:22 +00:00
Ralf Corsepius
2eb04b25f9 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't create $ARCH as side-effect of compilation.
2002-12-12 06:31:49 +00:00
Joel Sherrill
e5b78e248e 2002-12-11 Vladimir Nesic <vnesic@dkts.co.yu>
* src/cancelrun.c, src/cleanuppop.c: Get the last real node not the
	permanent null last node.
2002-12-12 01:04:18 +00:00
Ralf Corsepius
2aab7ae97f 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove.
	* inline/Makefile.am: Remove.
	* macros/Makefile.am: Remove.
	* src/Makefile.am: Remove.
	* Makefile.am: Merge-in removed Makefile.ams.
	* configure.ac: Reflect changes above.
2002-12-09 05:22:15 +00:00
Joel Sherrill
2837a5eace 2002-12-06 Vladimir Nesic <vnesic@dkts.co.yu>
* inline/rtems/posix/cond.inl, macros/rtems/posix/cond.inl:
	Implemented PTHREAD_COND_INITIALIZER support.  Vladimir implemented
	the inline version and Joel adapted it to the macro version.
2002-12-06 13:48:27 +00:00
Joel Sherrill
35ee867eb9 2002-12-02 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/timer.h, src/keygetspecific.c,
	src/posixtimespecsubtract.c, src/ptimer1.c, src/semunlink.c:
	Added casts to eliminate warnings on 16-bit targets like the h8300.
2002-12-02 19:15:24 +00:00
Eric Norum
c7cba29441 Return error rather than panic if argument is unsupported. 2002-11-29 19:06:54 +00:00
Ralf Corsepius
9d721178ee 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Cosmetical fixes.
2002-11-19 22:37:21 +00:00
Ralf Corsepius
47c0220397 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix package name.
2002-11-19 22:23:50 +00:00
Joel Sherrill
5d941f364d 2002-10-30 Eric Norum <eric.norum@usask.ca>
* src/psignal.c: Fix counting problem which resulted in too many
	entries being in the POSIX signals default behavior table.
2002-11-05 19:46:26 +00:00
Joel Sherrill
b31106f629 2002-11-01 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected.
2002-11-01 22:26:02 +00:00
Eric Norum
78e94ed1ae Reflect changes to signal names in newlib sys/signal.h. 2002-10-31 01:38:24 +00:00
Ralf Corsepius
56a1ae369d 2002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
2002-10-25 06:18:56 +00:00
Ralf Corsepius
f8cb04a54a 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
	Add autom4te*cache.
	Remove autom4te.cache.
2002-10-21 12:04:36 +00:00
Joel Sherrill
c019ff07c8 2002-09-14 Joel Sherrill <joel@OARcorp.com>
* src/psignal.c: Remove duplication from rtems/posix/psignal.h.
2002-09-14 18:00:17 +00:00
Joel Sherrill
3d57435de4 2002-08-21 Joel Sherrill <joel@OARcorp.com>
* src/adjtime.c: New file -- adjtime() support required by the
	Network Time Protocol (NTP) port to RTEMS.
	* src/Makefile.am: Modified to reflect above.
2002-08-21 17:45:10 +00:00
Joel Sherrill
f118085d51 2002-08-09 Joel Sherrill <joel@OARcorp.com>
* src/cancelrun.c: Remove check for PTHREAD_CANCELED not being defined
	to ensure that newlib patch includes it.
2002-08-09 12:55:15 +00:00
Ralf Corsepius
afc3a59096 2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/mqueuecreatesupp.c: #include <stdlib.h> (malloc).
2002-07-31 06:22:38 +00:00
Ralf Corsepius
4ca9353487 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-07-22 13:39:14 +00:00
Ralf Corsepius
b9292646dc 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
2002-07-22 09:36:10 +00:00
Joel Sherrill
f845e96e7b 2002-07-05 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/cancel.h, src/cancel.c, src/cancelrun.c,
	src/mqueue.c, src/pthread.c, src/semaphore.c, src/setcancelstate.c,
	src/setcanceltype.c, src/testcancel.c:  Per PR164, corrected the
	behavior of thread cancellation and did some cleanup as a side-effect.
2002-07-05 18:13:18 +00:00
Ralf Corsepius
705a070160 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../..).
2002-07-05 15:55:09 +00:00
Joel Sherrill
3c46587833 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
	loosen the dependency between the SCORE and the various APIs.
	There was considerable work to simplify the object name management
        and it appears that the name_table field is no longer needed.
	This patch also includes the addition of the internal mutex
	which is currently only used to protect some types of allocation
	and deallocation.  This significantly can reduce context
	switch latency under certain circumstances.  In particular,
	some heap/region operations were O(n) and had dispatching
	disabled.  This should help enormously.  With this merge,
	the patch is not as clean as it should be.  In particular,
	the documentation has not been modified to reflect the new object
	ID layout, the IDs in the test screens are not updated, and
	_Objects_Get_information needs to be a real routine not inlined.
	As part of this patch a lot of MP code for thread/proxy blocking
	was made conditional and cleaned up.
	* include/rtems/posix/key.h, src/cond.c, src/condinit.c, src/intr.c,
	src/key.c, src/keycreate.c, src/keydelete.c, src/killinfo.c,
	src/mqueue.c, src/mqueuecreatesupp.c, src/mutex.c, src/mutexinit.c,
	src/psignal.c, src/pthread.c, src/semaphore.c,
	src/semaphorecreatesupp.c:  Modified as part of above.
2002-07-01 22:33:47 +00:00
Ralf Corsepius
8c746fe197 2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_PROJECT_ROOT.
2002-07-01 09:59:55 +00:00
Ralf Corsepius
da8f88a23e 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AC_CONFIG_AUX_DIR(../..).
	Add AC_PROG_RANLIB.
2002-06-27 04:00:20 +00:00
Ralf Corsepius
a7c1897395 2002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove references to RTEMS_BSP.
	* src/Makefile.am: Add libposix.a.
2002-06-26 12:52:38 +00:00
Ralf Corsepius
78c2a97196 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* inline/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* macros/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:07:32 +00:00
Joel Sherrill
6a3a81c830 2001-05-17 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/posix/mqueue.inl: Implemented missing routines
	to support message queue FDs.
2002-05-17 17:59:21 +00:00
Joel Sherrill
dc7fb59bb7 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/utsname.h: Remove.
	* include/Makefile.am: Reflect changes above.
	* src/utsname.c: Remove.
	* src/Makefile.am: Reflect changes above.
2002-05-14 18:45:34 +00:00
Joel Sherrill
53092d1921 2001-04-26 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/mqueue.h, inline/rtems/posix/mqueue.inl,
	src/mqueue.c, src/mqueueclose.c, src/mqueuecreatesupp.c,
	src/mqueuegetattr.c, src/mqueuenotify.c, src/mqueueopen.c,
	src/mqueuerecvsupp.c, src/mqueuesendsupp.c, src/mqueuesetattr.c:
	Per PR81 reworked to add a message queue descriptor separate from
	the underlying message queue.  This allows non-blocking to follow
	the "open" not the underlying queue.
2002-04-26 23:39:01 +00:00
Joel Sherrill
72d4273782 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/psignal.c: Include <stdlib.h>.
2002-04-08 18:27:37 +00:00
Joel Sherrill
aa08739a84 2002-04-08 Chris Johns <ccj@acm.org>
* Per PR142, make task switch extension its own list.
	* src/pthread.c (_POSIX_Threads_User_extensions): Reflect above.
2002-04-08 17:02:03 +00:00
Joel Sherrill
8eb825ef71 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/getegid.c: Remove <errno.h>.
	* src/geteuid.c: Ditto.
	* src/getgid.c: Ditto.
	* src/getuid.c: Ditto.
	* src/getlogin.c: Move <errno.h>.
2002-04-03 14:21:44 +00:00
Joel Sherrill
58c3d04eb7 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:45:34 +00:00
Joel Sherrill
b04ee63e3d 2002-03-01 Eric Norum <eric.norum@usask.ca>
* src/pthreadonce.c: Task is not preemptable while running a
	pthread_once init function.  This is slightly less heavy handed
	than disabling dispatching and seems better than consuming a mutex.
2002-03-01 17:49:57 +00:00
Joel Sherrill
089abb6d6b 2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/getegid.c: Add #include <rtems/userenv.h>.
	Remove #include <rtems/libio_.h>.
	* src/geteuid.c: Ditto.
	* src/getgid.c: Ditto.
	* src/getlogin.c: Ditto.
	* src/getuid.c: Ditto.
2002-01-16 22:52:27 +00:00
Joel Sherrill
b736beb508 2001-01-16 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/posix/mutex.inl (_POSIX_Mutex_Get_support): Corrected
	name of routine in header.
2002-01-16 22:01:19 +00:00
Joel Sherrill
8e9accfe59 2002-01-07 Joel Sherrill <joel@OARcorp.com>
* optman/, optman/.cvsignore, optman/Makefile.am: Removed entire
	contents of optman/ directory since it has been moved.
2002-01-07 14:15:09 +00:00
Joel Sherrill
7d9ec2d10c 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_CONFIG_SRCDIR([src/pthreads.c])
	* src/psignal.c: #include <string.h>.
2002-01-06 20:10:04 +00:00
Joel Sherrill
e180a77edd 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/clockgetres.c: Apply rtems_set_errno_and_return_minus_one.
	* src/clockgettime.c: Apply rtems_set_errno_and_return_minus_one.
	* src/clocksettime.c: Apply rtems_set_errno_and_return_minus_one.
	* src/killinfo.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueueclose.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueuecreatesupp.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueuegetattr.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueuenotify.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueueopen.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueuerecvsupp.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueuesendsupp.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueuesetattr.c: Apply rtems_set_errno_and_return_minus_one.
	* src/mqueueunlink.c: Apply rtems_set_errno_and_return_minus_one.
	* src/nanosleep.c: Apply rtems_set_errno_and_return_minus_one.
	* src/pthreadkill.c: Apply rtems_set_errno_and_return_minus_one.
	* src/pthreadsigmask.c: Apply rtems_set_errno_and_return_minus_one.
	* src/ptimer1.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sched.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semaphorecreatesupp.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semaphorewaitsupp.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semclose.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semdestroy.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semgetvalue.c: Apply rtems_set_errno_and_return_minus_one.
	* src/seminit.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semopen.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sempost.c: Apply rtems_set_errno_and_return_minus_one.
	* src/semunlink.c: Apply rtems_set_errno_and_return_minus_one.
	* src/setpgid.c: Apply rtems_set_errno_and_return_minus_one.
	* src/setsid.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigaction.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigaddset.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigdelset.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigemptyset.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigfillset.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigismember.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigpending.c: Apply rtems_set_errno_and_return_minus_one.
	* src/sigtimedwait.c: Apply rtems_set_errno_and_return_minus_one.
	* src/utsname.c: Apply rtems_set_errno_and_return_minus_one.
2002-01-04 18:28:24 +00:00
Joel Sherrill
46ea78a08c 2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove optman/Makefile from CONFIG_FILES.
	* Makefile.am: Remove optman from SUBDIRS.
2002-01-04 17:55:57 +00:00
Joel Sherrill
9201e6bdaf 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Add multilib support. Remove ASM4FLAGS.
	* src/Makefile.am: Add multilib support.
2001-12-19 14:34:59 +00:00