summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Sherrill1-3/+4
* 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 Sherrill5-1/+38
* src/getegid.c, src/geteuid.c, src/getgid.c, src/getlogin.c, src/getuid.c: Now save their values in private user environment.
2001-01-242001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill181-0/+682
* 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 Sherrill1-1/+1
* src/alarm.c: Eliminated use of C++ style comments.
2001-01-222001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+5
* 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 Sherrill5-8/+8
* 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 Sherrill1-1/+12
* src/README.mqueue: Enhanced example.
2000-12-192000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-4/+7
* src/pthreadgetschedparam.c: Do not set output parameters if the pointers are NULL.
2000-12-062000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+2
* src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to eliminate warning.
2000-11-272000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+15
* src/sysconf.c: Add support for _SC_CLK_TCK and _SC_OPEN_MAX.
2000-10-312000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill7-7/+7
* 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-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* src/Makefile.am, optman/Makefile.am: Include compile.am.
2000-08-302000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill76-76/+76
* 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 Sherrill1-43/+5
* 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 Sherrill1-12/+1
* src/ptimer1.c: Minor formatting fixes.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-43/+14
* 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 Sherrill1-48/+20
* 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 Sherrill1-10/+5
* posix/src/ptimer1.c (timer_settime): Converted use of rtems_clock_get to use SuperCore _TOD_Current variable.
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-06-12Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill1-1/+1
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill8-29/+43
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1-0/+2
adds .cvsignore.
2000-02-08Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+1
that contains: * Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams * Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in * Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible) * Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization) * Cleans up several bogus comments. * Removes MKLIB * Switches the version number to 4.5.0 (for testing version number handling)
2000-01-14Removed unused variable warning.Joel Sherrill1-1/+0
2000-01-14Removed no prototype of kill() warning.Joel Sherrill1-0/+2
2000-01-13+ Comment cleanupJennifer Averett4-15/+12
2000-01-13Removed referance to rtems error.Jennifer Averett1-1/+2
Added correct include file.
2000-01-12Debugged and yellow line tested routines.Jennifer Averett3-41/+71
2000-01-12+ Modified return codesJennifer Averett1-16/+27
+ Added messsage size check + Debugged and yellowed out routine
2000-01-12+ Added signal processing.Jennifer Averett1-1/+3
+ Yellow line tested source.
2000-01-12+ Modified to correct return codes.Jennifer Averett1-2/+5
+ Removed extra flag attribute from message queue structure. + Yellow-lined all posix message queue routines.
2000-01-12+ Changed call from core flush to core close routine. This flushes waitingJennifer Averett1-2/+4
queues as well as the messages.
2000-01-12+ Removed name validation code (this was already done in nametoid.Jennifer Averett1-41/+6
2000-01-11Fixed spacing.Joel Sherrill1-1/+1
2000-01-11This code did not return properly when a process oriented signalJoel Sherrill1-6/+5
was pending. Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
2000-01-10Don't look at the object information structure for threads/tasksJoel Sherrill2-17/+28
for APIs that are not configured. This resulted in weird behavior when ITRON was disabled on some targets.
2000-01-05Added support for simple binary semaphores in addition to the highJoel Sherrill1-1/+5
power binary/mutex style semaphores already supported by RTEMS. This was done at the request of Eric Norum <eric@cls.usask.ca> in support of his effort to port EPICS to RTEMS. This change consisted of changing the nesting_allowed boolean into a lock_nesting_behavior enumerated value as well as allowing the core mutex object to optionally support ensuring that the holder of a binary semaphore released it. Finally, a more subtle enhancement was to allow the non-holder to release a priority inheritance/ceiling mutex and still allow the holding task to return to its original priority.
2000-01-05+ Changed priority to the POSIX priority type.Jennifer Averett1-9/+46
+ Added priority validation + Changed to call correct core routine. + Added priority conversion + Resolved return type problems.
2000-01-05+ Added check for reading from a write only queue.Jennifer Averett1-1/+12
+ Added ability to return message priority from the core.
2000-01-05+ Added check for name greater than PATH_MAX.Jennifer Averett1-0/+3
2000-01-05+ Changed to resonable default values for maxmsg and msgsize.Jennifer Averett1-3/+11
+ Added oflag tracking.
2000-01-05Added mqueuetranslatereturncode.c.Jennifer Averett1-1/+1
2000-01-05Added routines to translate to and from the core message queue return codes.Jennifer Averett1-0/+68
2000-01-04Added this file to contain an example program.Joel Sherrill1-0/+27
2000-01-04Removed warnings.Joel Sherrill2-4/+4
1999-12-23+ Added check for name greater than PATH_MAXJennifer Averett1-0/+14
1999-12-23+ Debugged.Jennifer Averett2-40/+61