Commit Graph
596 Commits
Author SHA1 Message Date
Joel Sherrill b6c868e445 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to initialize the pthread cancellation fields.  This is a patch to
_POSIX_Threads_Create_extension that fixes the problem.
1999-10-25 16:05:34 +00:00
Joel Sherrill 812f440589 Fixed core dump caused when output parameter (otimer) was NULL. 1999-10-21 16:38:49 +00:00
Joel Sherrill 811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill 260b0c2155 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to add
support for return codes from POSIX threads that do an implicit exit
by returning from the bottom of the main function.
1999-08-30 18:05:48 +00:00
Joel Sherrill ed1a0e51b3 Honor 0 as PID of caller. 1999-07-01 22:57:23 +00:00
Joel Sherrill 51e04a2c7f New file to implement signal(2). 1999-07-01 22:28:30 +00:00
Joel Sherrill a0b94685cd Removed check for initialized ID at request of Rosimildo DaSilva
<rdasilva@connecttel.com> who encountered random failures in his
port of omniORB2.
1999-05-14 14:43:53 +00:00
Joel Sherrill 5a909149ca Made all calls to _Thread_Yield_processor consistent in how they are
wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
1999-05-07 17:09:20 +00:00
Joel Sherrill 16775a5535 Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to allow stacksize
of POSIX Init thread to be user configured.
1999-05-07 16:36:29 +00:00
Joel Sherrill c7aa9d6ff8 Repairing damage and recovering changes including C++ wrappers.. 1999-04-26 18:22:08 +00:00
Joel Sherrill c8cfdcfe53 Recovered changes since CVS file was corrupted. 1999-04-26 18:04:46 +00:00
Joel Sherrill df3e78a86b The default action for real-time signals is supposed to be SIGACTION_TERMINATE.
Jiri Gaisler caught this and submitted a patch but a subsequent patch
backed it out accidentally.
1999-04-19 15:54:03 +00:00
Joel Sherrill 2df1974a27 Added include of rtems/posix/cancel.h. 1999-04-15 18:58:27 +00:00
Joel Sherrill da41ecbcfe Removed alarm(), killinfo() and pause() because they are now in their own file. 1999-04-15 18:58:02 +00:00
Joel Sherrill 93994fdb80 Now compiles and is included in normal build even though it is untested.
Added multiprocessing conditional.
1999-04-15 18:57:31 +00:00
Joel Sherrill 0f4e0745c6 Cleaned up. 1999-04-15 18:57:02 +00:00
Joel Sherrill 3afecf811d Now compiles and is included in normal build even though it is untested. 1999-04-15 18:56:42 +00:00
Joel Sherrill d0f53fec4b Enabled cancellation information in POSIX API thread extension structure. 1999-04-15 18:54:01 +00:00
Joel Sherrill 82f490f786 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct the
--enable-tests problem a better way.
1999-04-12 20:24:56 +00:00
Joel Sherrill d1153156f0 Added line to initialize timer_max. 1999-04-12 15:36:07 +00:00
Joel Sherrill 5c959963df When compiled in debug mode, the POSIX threads inline file was not
included and we ended up with undefined references.
1999-03-31 22:09:11 +00:00
Joel Sherrill 5c6c4c24d9 Fixed typo where _POSIX_signals_Clear_process_signals was not prototyped
and _POSIX_signals_Set_process_signals was done twice.
1999-03-30 17:41:26 +00:00
Joel Sherrill e069cdc3f1 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 5) rtems-rc-19990202-1.diff/reorg-install.sh
>
> reorg-install.sh fixes a Makefile variable name clash of RTEMS
> configuration files and automake/autoconf standards.
> Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
> autoconf use $(INSTALL) for a bsd-compatible install. As
> install-if-change and bsd-install are not compatible, I renamed all
> references to install-if-changed to $(INSTALL_CHANGED) and used
> $(INSTALL) for bsd-install (==automake/autoconf standard).  When
> automake will be introduced install-if-change will probably be replaced
> by $(INSTALL) and therefore will slowly vanish. For the moment, this
> patch fixes a very nasty problem which prevents adding any automake file
> until now (There are still more).
1999-03-01 15:18:26 +00:00
Joel Sherrill dae18b5c84 POSIX timer support. 1999-02-10 17:22:16 +00:00
Joel Sherrill aee3d6896a POSIX timer support modifications. 1999-02-10 17:03:46 +00:00
Joel Sherrill 0747e2d3c3 POSIX Timers submitted by Juan Zamorano Flores
<jzamora@avellano.datsi.fi.upm.es>.
1999-02-03 16:22:18 +00:00
Joel Sherrill 07d880f4bc Split psignal.c into many more files. This reduced the amount of
object code that has to be loaded just for initializing the signal
manager.
1999-01-31 20:45:31 +00:00
Joel Sherrill d90df9aa2b Added include of <rtems/posix/priority.h> so a macro would expand
and eliminate a link error.
1999-01-26 16:00:04 +00:00
Joel Sherrill 03598b162e Split most of POSIX Threads Manager into multiple files. 1999-01-25 23:20:52 +00:00
Joel Sherrill 535db3ae0c Added enough prototypes to allow most of POSIX Threads Manager to be
split into multiple files.
1999-01-25 23:20:39 +00:00
Joel Sherrill 07a3253de2 Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface.  This base file system is
the "In-Memory File System" aka IMFS.

The design and implementation was done by the following people:

  + Joel Sherrill (joel@OARcorp.com)
  + Jennifer Averett (jennifer@OARcorp.com)
  + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com)
  + Kerwin Wade (wade@OARcorp.com)

PROBLEMS
========
  + It is VERY likely that merging this will break the UNIX port.  This
    can/will be fixed.

  + There is likely some reentrancy/mutual exclusion needed.

  + Eventually, there should be a "mini-IMFS" description table to
    eliminate links, symlinks, etc to save memory.  All you need to
    have "classic RTEMS" functionality is technically directories
    and device IO.  All the rest could be left out to save memory.
1998-11-23 19:07:58 +00:00
Joel Sherrill 97e2729d1a Added --disable-multiprocessing flag and modified a lot of files to make
it work.
1998-11-23 17:38:09 +00:00
Joel Sherrill 847375f3ad Patch from Eric Norum <eric@skatter.usask.ca>:
1) Socket timeout field changed from `short' to `long'.  This makes longer
       timeouts possible.  With a 1 kHz system clock the old system allowed
       timeouts only up to a little over 30 seconds!  This change is a
       slightly cleaned-up version of the patch proposed by Ian Lance Taylor.

    2) Major changes to BOOTP/DHCP reply handling.  Now supports much of
       RFC2132.  These changes were done at the request of, and with the
       assistance of, Erik Ivanenko.

    If you're making changes, you might want to change the network
    supplement  Essentially just do a global search and replace of BOOTP
    with BOOTP/DHCP.
1998-11-19 17:35:49 +00:00
Joel Sherrill cb646cb936 New files. 1998-09-27 16:37:16 +00:00
Joel Sherrill b965227fa1 Now compiles. 1998-09-25 13:28:28 +00:00
Joel Sherrill 97149ba590 Added ENOSYS stubs for a number of process routines. 1998-09-25 13:17:32 +00:00
Joel Sherrill cb1b853d0b All task delete API level services were incorrectly assuming that the
task to be deleted was created via the same API (i.e. were of the object
class created by this API).  For example, a POSIX thread calling
the rtems_task_delete(SELF) directive would incorrectly update the RTEMS
object local pointer table.

Jennifer discovered this when moving tests implemented in C using the
Classic RTEMS API into a tree of Ada tests.  The Ada tests were implicitly
using POSIX services.  This lead to some unexpected behavior.
1998-06-18 19:01:57 +00:00
Joel Sherrill 20fff72b41 Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.h
so confdefs.h could see it.
1998-04-27 13:46:45 +00:00
Joel Sherrill 9f0dfeafdb Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict with
the system signals.h file.

Moved POSIX_signals_Siginfo_node type definition to this file to allow
confdefs.h to know the size per queued signal.
1998-04-27 13:46:18 +00:00
Joel Sherrill a456074d78 Made these have real constants. 1998-04-03 18:44:44 +00:00
Joel Sherrill 60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill 98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill d14418b6cb Added _Thread_Enable_dispatch to already_timedout path on Wait_support. 1997-10-06 21:28:18 +00:00
Joel Sherrill e8ee2f324c If the specified time period is less than a clock tick, then
it is arbitrarily assumed to be 1 clock tick.
1997-10-05 16:26:04 +00:00
Joel Sherrill 9b1f5678c2 Fixed infinite recursion bug in PTHREAD_MUTEX_INITIALIZER. 1997-08-22 19:11:02 +00:00
Joel Sherrill 799a5b9f8d Added commit about missing support for condition initializer. 1997-08-22 19:10:44 +00:00
Joel Sherrill a14d2af958 Changed name from entry to thread_entry to be more compatible with
Ada interface where entry is a keyword.
1997-07-09 23:52:08 +00:00
Joel Sherrill 03f2154e51 headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
1997-04-22 17:20:27 +00:00
Joel Sherrill 6881e0cb4b Reduced number of POSIX thread priorities from 255 to 254 to avoid conflicts
of lowest priority with the RTEMS IDLE thread.  This was causing the lowest
priority GNAT Ada task to never run.
1997-04-15 18:02:18 +00:00