| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/cond.h,
posix/include/rtems/posix/intr.h, posix/include/rtems/posix/key.h,
posix/include/rtems/posix/mqueue.h,
posix/include/rtems/posix/mutex.h,
posix/include/rtems/posix/pthread.h,
posix/include/rtems/posix/semaphore.h,
posix/include/rtems/posix/threadsup.h,
posix/include/rtems/posix/timer.h, posix/src/cond.c,
posix/src/intr.c, posix/src/key.c, posix/src/keycreate.c,
posix/src/keydelete.c, posix/src/keygetspecific.c,
posix/src/keyrundestructors.c, posix/src/keysetspecific.c,
posix/src/killinfo.c, posix/src/mqueue.c,
posix/src/mqueuerecvsupp.c, posix/src/mqueuesendsupp.c,
posix/src/mqueuetranslatereturncode.c, posix/src/mutex.c,
posix/src/posixintervaltotimespec.c,
posix/src/posixtimespecsubtract.c, posix/src/psignal.c,
posix/src/pthread.c, posix/src/ptimer1.c, posix/src/semaphore.c,
posix/src/sysconf.c: Convert to using c99 fixed size types.
|
|
|
|
|
|
| |
PR 92/rtems
* Makefile.am, src/alarm.c, src/psignal.c: Added ualarm() and usleep().
* src/ualarm.c, src/usleep.c: New files.
|
|
|
|
|
| |
* src/psignal.c: Fix counting problem which resulted in too many
entries being in the POSIX signals default behavior table.
|
| |
|
|
|
|
| |
* src/psignal.c: Remove duplication from rtems/posix/psignal.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* src/psignal.c: Include <stdlib.h>.
|
|
|
|
|
| |
* configure.ac: AC_CONFIG_SRCDIR([src/pthreads.c])
* src/psignal.c: #include <string.h>.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
*
|
|
|
|
|
|
| |
* Many files: Moved posix/include/rtems/posix/seterr.h to
score/include/rtems/seterr.h so it would be available within
all APIs.
|
| |
|
| |
|
|
|
|
|
| |
Jiri Gaisler caught this and submitted a patch but a subsequent patch
backed it out accidentally.
|
| |
|
|
|
|
| |
--enable-tests problem a better way.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> 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).
|
| |
|
|
|
|
|
| |
object code that has to be loaded just for initializing the signal
manager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
so confdefs.h could see it.
|
|
|
|
|
|
| |
to made signals sent to a particular thread from an ISR operated correctly.
This behavior was required by the exception detection/reporting code
in the gnat runtime.
|
| |
|
| |
|
|
|
|
| |
parameters. Also changed returns to macro of -1 and errno set.
|
| |
|
|
|
|
| |
_POSIX_signals_Get_highest: changed initial starting signal to SIGHUP, still needs SIGFIRSTNOTRT
|
|
|
|
| |
if clause for DFT action.
|
| |
|
| |
|
|
|
|
| |
it occurs in only one place.
|
|
|
|
|
| |
kill() in particular needs more test cases for full coverage. The search
for a thread interested in this signal has a lot of paths.
|
| |
|
|
|
|
| |
sigtimedwait, sigsuspend, and pause.
|
| |
|
|
|
|
| |
receive a process-directed signal.
|
|
|
|
|
| |
make minimum stack size for posix threads double that of the cpu's minimum
requirement.
|
|
|
|
|
|
|
| |
send signals to the current thread or to another blocked thread. nanosleep()
can be interrupted by a signal and return the time remaining.
Post switch extension added to dispatch posix signal handlers.
|
| |
|
|
|
|
|
|
|
|
| |
should be correct for other apis as well.
missing page numbers added on some references.
initial attempt at sig_procmask() and pthread_sigmask().
|
| |
|
|
|
|
|
|
|
| |
implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and
sigismember().
added checks for valid attribute values to some of the pthread_attr_t sets.
|
|
|
|
|
| |
sleep, and nanosleep. Does not yet support per process clock, per thread
clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
|
| |
|
|
|
|
|
| |
psignal.c: kill recognizes SIGABRT and exits to prevent asserts from
recursively occurring because kill was not implemented and asserted.
|
| |
|
|
|
|
|
|
| |
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.
|
| |
|