summaryrefslogtreecommitdiffstats
path: root/cpukit/posix (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-01-162002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-12/+20
* 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-162001-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* inline/rtems/posix/mutex.inl (_POSIX_Mutex_Get_support): Corrected name of routine in header.
2002-01-072002-01-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+5
* optman/, optman/.cvsignore, optman/Makefile.am: Removed entire contents of optman/ directory since it has been moved.
2002-01-062002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-1/+7
* configure.ac: AC_CONFIG_SRCDIR([src/pthreads.c]) * src/psignal.c: #include <string.h>.
2002-01-042002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill37-108/+109
* 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-042001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-2/+6
* configure.ac: Remove optman/Makefile from CONFIG_FILES. * Makefile.am: Remove optman from SUBDIRS.
2001-12-192001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* optman/Makefile.am: Add multilib support. Remove ASM4FLAGS. * src/Makefile.am: Add multilib support.
2001-10-162001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-21/+101
* include/sys/Makefile.am: Remove. * include/rtems/Makefile.am: Remove. * include/rtems/posix/Makefile.am: Remove. * include/Makefile.am: Handle subdirs. * inline/rtems/Makefile.am: Remove. * inline/rtems/posix/Makefile.am: Remove. * inline/Makefile.am: Handle subdirs. * macros/rtems/Makefile.am: Remove. * macros/rtems/posix/Makefile.am: Remove. * macros/Makefile.am: Handle subdirs. * configure.ac: Reflect changes above.
2001-10-112001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-0/+74
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
2001-09-282001-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-2/+6
* src/mqueueopen.c, src/semopen.c: Clarify type on va_arg.
2001-09-272001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+9
* include/sys/Makefile.am: Use 'PREINSTALL_FILES ='. * include/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='. * include/Makefile.am: Use 'PREINSTALL_FILES ='. * inline/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='. * macros/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-242001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5 happy. * src/Makefile.am: Adapt INCLUDES to make automake-1.5 happy.
2001-09-132001-09-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* src/sysconf.c: Fix typo syntax error accidentally committed.
2001-09-132001-09-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-5/+67
* src/mprotect.c: New file. Stub required by some gcc's to pass tests. In particular, about 350 ACATS tests fail if this is not present. * src/getpagesize.c: Ditto. * src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required to pass about 350 ACATS test cases. * src/Makefile.am: Added new files.
2001-08-302001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+7
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+5
* src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+12
* src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.
2001-08-092001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-3/+11
* src/mqueuesendsupp.c: Unblocking message queue operations should NOT use _Thread_Executing for return status since it is permissible to invoke message send operations from an ISR. This was reported by Suvrat Gupta <suvrat@utstar.com>.
2001-05-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill6-1/+43
* src/getegid.c, src/geteuid.c, src/getgid.c, src/getlogin.c, src/getuid.c: Now save their values in private user environment.
2001-05-072001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-03-192001-03-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+4
* sys/utsname.h: Added C++ wrapper.
2001-02-052001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-8/+11
* include/Makefile.am, include/rtems/posix/Makefile.am, include/sys/Makefile.am, inline/rtems/posix/Makefile.am, macros/rtems/posix/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2001-01-242001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill182-0/+689
* configure.in: Add src/config.h * src/Makefile.am: Add INCLUDES += -I. to pickup config.h * src/.cvsignore: Add config.h and stamp-h * src/*.c: Add config.h support.
2001-01-232001-01-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* src/alarm.c: Eliminated use of C++ style comments.
2001-01-222001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+11
* src/clockgetres.c: Fixed match problem. We are not converting an interval to a timespec -- it is actually a real number of microseconds.
2001-01-222001-01-22 Michael Hamel <mhamel@adi.co.nz>Joel Sherrill8-11/+19
* include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl, src/ptimer1.c, include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl, src/alarm.c, src/ptimer1.c, src/semaphorenametoid.c, src/semopen.c, src/semunlink.c: Modifications to make CodeWarrior happy.
2001-01-122001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+16
* src/README.mqueue: Enhanced example.
2000-12-192000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-4/+12
* src/pthreadgetschedparam.c: Do not set output parameters if the pointers are NULL.
2000-12-062000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+7
* src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to eliminate warning.
2000-12-012000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+8
* include/rtems/posix/cond.h: #if 0'ed out prototype of _POSIX_Condition_variables_Get to avoid conflict with macro implementation.
2000-12-012000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill11-0/+566
* Added macro support to POSIX API. This is known to compile. * 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/priority.inl, macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl, macros/rtems/posix/timer.inl: New files. * configure.in: Removed error check for enabling macros. * rtems/posix/mutex.h: #if 0'ed out prototypes for inlined routines since you cannot have prototypes for macros. * macros/rtems/posix/Makefile.am: Added files.
2000-11-302000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* inline/rtems/posix/mqueue.inl: Removed explicit dependency on abs().
2000-11-272000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+19
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
2000-11-092000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-022000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-10-312000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+5
* configure.in: Cleanup comments. * bsp_specs: Add qnolinkcmds.
2000-10-312000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill11-10/+28
* include/Makefile.am: Updated to reflect files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * include/unistd.h: Removed. Now use newlib's. * include/rtems/posix/mqueue.h: Add include of <signal.h>. * include/rtems/posix/threadsup.h: Add include of <sys/signal.h> * src/execv.c: Corrected prototype to agree with newlib. * src/execve.c: Corrected prototype to agree with newlib. * src/execvp.c: Corrected prototype to agree with newlib. * src/psignal.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. * src/pthreadkill.c: Added include of <signal.h>. * src/sigaction.c: Added include of <signal.h>. * src/sigtimedwait.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. *
2000-10-252000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+5
* src/Makefile.am, optman/Makefile.am: Include compile.am.
2000-08-302000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill77-76/+82
* Many files: Moved posix/include/rtems/posix/seterr.h to score/include/rtems/seterr.h so it would be available within all APIs.
2000-08-252000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-43/+117
* inline/rtems/posix/timer.inl, include/rtems/posix/timer.h, inline/rtems/posix/Makefile.am, src/ptimer1.c: Redid the style of src/ptimer1.c. Continued effort to make the POSIX Timer implementation match that of other managers. Added data structures required to use SuperCore Object Handler.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-12/+5
* src/ptimer1.c: Minor formatting fixes.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-47/+26
* src/ptimer1.c: Removed unused routine PRINT_ERRNO_S. * src/ptimer1.c: Removed unnecessary routine COPY_ITIMERSPEC_S and used structure copy instead. * src/ptimer1.c: Renamed timer_alive_t to POSIX_Timer_Control. * include/rtems/posix/timer.h: Ditto.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-48/+25
* posix/src/ptimer1.c: Switched to using set_errno_and_return_minus_one() to ensure that errno was always set.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-10/+10
* posix/src/ptimer1.c (timer_settime): Converted use of rtems_clock_get to use SuperCore _TOD_Current variable.
2000-08-10Adding ChangeLogs.Joel Sherrill1-0/+3
2000-07-26Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill1-1/+6
a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-07Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>Joel Sherrill1-1/+7
where alarm() did not correctly account for the watchdog start_time and stop_time fields being based on ticks not seconds. This resulted in alarm() returning a bogus number of seconds remaining.
2000-07-06Switched to using _POSIX_Mutex_Get_interrupt_disable to improve performance.Joel Sherrill1-3/+4
2000-07-06Added support for converting a mutex id to a pointer and returningJoel Sherrill1-21/+39
with interrupts disabled.