summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-022-1/+5
| | | | * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
* 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-312-4/+5
| | | | | * configure.in: Cleanup comments. * bsp_specs: Add qnolinkcmds.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-3112-107/+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-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-252-1/+6
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-054-2/+8
| | | | * src/Makefile.am, optman/Makefile.am: Include compile.am.
* 2000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-3080-100/+84
| | | | | | * 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-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-255-44/+118
| | | | | | | | * 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-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-152-12/+5
| | | | * src/ptimer1.c: Minor formatting fixes.
* 2000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-154-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-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-152-48/+25
| | | | | * posix/src/ptimer1.c: Switched to using set_errno_and_return_minus_one() to ensure that errno was always set.
* 2000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-152-10/+10
| | | | | * posix/src/ptimer1.c (timer_settime): Converted use of rtems_clock_get to use SuperCore _TOD_Current variable.
* Adding ChangeLogs.Joel Sherrill2000-08-101-0/+3
|
* Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill2000-07-261-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.
* Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that is yet another multilib-related structual cleanup patch: Changes: * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option. - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and cpuopts.h. - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE (aclocal/rtems-test-no-pause.m4). - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins and tmtests/configure.in. These are the only subdirectories which currently apply RTEMS_TEST_NO_PAUSE. - Add autoconf-DEFS support to all test subpackages' configure.ins below tests/. I.e. AC_DEFINES now get explicitly propagated as preprocessor defines into Makefiles, cf. AM_CPPFLAGS in tests/*/*.am, instead of using a global config-files. - Remove NDEBUG from custom/*.cfg. * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in exec/configure.in, only. - All other sources now should relay on the values from cpuopts.h and should not define them themselves. - Several related changes to many configure.ins * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to quoting bugs in autoconf). Notes: * This patch is rather immature and only tested for a small subset of BSPs (requires the tests to be enabled and therefore takes an tremendous amount of disc space and time.) * The patches to *cfg were generated by a script. Expect file formating changes :)
* Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-101-2/+0
| | | | | | | | | | | | | | | | | that is another small step toward multilibs: Changes: * Eliminate RTEMS_CHECK_CUSTOM_BSP from all configure.ins below exec/ * Add RTEMS_CHECK_CUSTOM_BSP to the multilib-disabled branch in RTEMS_ENV_RTEMSCPU to preserve the old per-BSP building scheme functional. Notes: * --enable-multilibs is still non-functional * This patch should not have any influence on the old building scheme (--disable-multilib should silently fall back to the old building scheme). * running ./bootstrap is required after applying the patch
* Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>Joel Sherrill2000-07-071-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.
* Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that is a somewhat experimental, multilib-related patch: Changes: * Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP in configure.ins below exec/. At the moment, RTEMS_ENV_RTEMSCPU is more or less an optical change to emphasize that these subdirectories shall not depend on RTEMS_BSP than a real behavioral change. * Add AC_DEFINE_* to several aclocal/*.m4 macros to prepare autoheader/autoconf generated targopts.h and similiar configuration headers. * c/src/configure.in: remove exec from cfg_subdirs if multilibs are enabled (c/src is build per bsp, exec shall be build per cpu in c/ or from the toplevel in future, when multilibs are enabled.) Notes: * This patch should not have any impact on the current building scheme. * --enable-multilib still does not work. * running bootstrap from the toplevel directory is required. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: c/src/tests/libtests/termios/init.c CVS: ----------------------------------------------------------------------
* Switched to using _POSIX_Mutex_Get_interrupt_disable to improve performance.Joel Sherrill2000-07-061-3/+4
|
* Added support for converting a mutex id to a pointer and returningJoel Sherrill2000-07-061-21/+39
| | | | with interrupts disabled.
* Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill2000-06-121-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
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-1216-576/+71
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-1313-0/+37
| | | | adds .cvsignore.
* Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-02-082-7/+2
| | | | | | | | | | | | | | | | | 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)
* Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-01-311-3/+0
| | | | | | | | | | | | | | that contains: * cleanups to configuration files * A reworked gccnewlib.spec.in: I have reformated it for enhanced readability and added more rtems-base packages. It now should be free of any installation conflicts (If there still remain some, they should be regarded as bugs). * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486" now works). * removes libbsp/bare/wrapup * Further cleanups
* Removed unused variable warning.Joel Sherrill2000-01-141-1/+0
|
* Removed no prototype of kill() warning.Joel Sherrill2000-01-141-0/+2
|
* POSIX message queues now include complete functionality includingJoel Sherrill2000-01-131-2/+0
| | | | | | | | | | | | | | | | blocking sends when the queue is full. The SuperCore was enhanced to support blocking on send. The existing POSIX API was debugged and numerous test cases were added to psxmsgq01 by Jennifer Averett. SuperCore enhancements and resulting modifications to other APIs were done by Joel. There is one significant point of interpretation for the POSIX API. What happens to threads already blocked on a message queue when the mode of that same message queue is changed from blocking to non-blocking? We decided to unblock all waiting tasks with an EAGAIN error just as if a non-blocking version of the same operation had returned unsatisfied. This case is not discussed in the POSIX standard and other implementations may have chosen differently.
* + Comment cleanupJennifer Averett2000-01-134-15/+12
|
* Removed referance to rtems error.Jennifer Averett2000-01-131-1/+2
| | | | Added correct include file.
* Debugged and yellow line tested routines.Jennifer Averett2000-01-123-41/+71
|
* + Modified return codesJennifer Averett2000-01-121-16/+27
| | | | | + Added messsage size check + Debugged and yellowed out routine
* + Added signal processing.Jennifer Averett2000-01-121-1/+3
| | | | + Yellow line tested source.
* + Modified to correct return codes.Jennifer Averett2000-01-121-2/+5
| | | | | + Removed extra flag attribute from message queue structure. + Yellow-lined all posix message queue routines.
* + Changed call from core flush to core close routine. This flushes waitingJennifer Averett2000-01-121-2/+4
| | | | queues as well as the messages.
* + Removed name validation code (this was already done in nametoid.Jennifer Averett2000-01-121-41/+6
|
* Fixed spacing.Joel Sherrill2000-01-111-1/+1
|
* This code did not return properly when a process oriented signalJoel Sherrill2000-01-111-6/+5
| | | | was pending. Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
* Don't look at the object information structure for threads/tasksJoel Sherrill2000-01-102-17/+28
| | | | | for APIs that are not configured. This resulted in weird behavior when ITRON was disabled on some targets.
* Added support for simple binary semaphores in addition to the highJoel Sherrill2000-01-051-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.
* Added priority conversion between POSIX and core.Jennifer Averett2000-01-051-2/+17
|
* Added priority conversion between POSIX and core priorities.Jennifer Averett2000-01-051-2/+29
|
* + Changed priority to the POSIX priority type.Jennifer Averett2000-01-051-9/+46
| | | | | | | + Added priority validation + Changed to call correct core routine. + Added priority conversion + Resolved return type problems.
* + Added check for reading from a write only queue.Jennifer Averett2000-01-051-1/+12
| | | | + Added ability to return message priority from the core.
* + Added check for name greater than PATH_MAX.Jennifer Averett2000-01-051-0/+3
|
* + Changed to resonable default values for maxmsg and msgsize.Jennifer Averett2000-01-051-3/+11
| | | | + Added oflag tracking.
* Added mqueuetranslatereturncode.c.Jennifer Averett2000-01-051-1/+1
|
* Added routines to translate to and from the core message queue return codes.Jennifer Averett2000-01-051-0/+68
|
* Added this file to contain an example program.Joel Sherrill2000-01-041-0/+27
|
* Removed warnings.Joel Sherrill2000-01-042-4/+4
|
* + Added routine to remove from namespace.Jennifer Averett1999-12-231-0/+13
|