summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up unused files.Joel Sherrill1999-04-062-168/+2
|
* Fixed typo where _POSIX_signals_Clear_process_signals was not prototypedJoel Sherrill1999-03-301-1/+1
| | | | and _POSIX_signals_Set_process_signals was done twice.
* utime.h moved to c/src/lib/include/sys since it is needed by some libcJoel Sherrill1999-03-241-1/+1
| | | | routines.
* Fix based on bug report from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-03-241-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There seems to be an ugly dependency between posix-headers and libcsupport. Configuring rtems with ../rtems-rc-19990324-0/configure \ --target=i386-rtems \ --prefix=<somewhere> \ --disable-posix "make RTEMS_BSP=pc386" results into: [...] /opt/rtems/bin/i386-rtems-gcc --pipe -B/users/rtems/src/multi/build/pc386/lib/ -specs bsp_specs -qrtems -I/users/rtems/src/multi/build/pc386/lib/include/networking -g -Wall -ansi -fasm -O4 -fomit-frame-pointer -c -o o-pc386/utime.o ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c In file included from ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:16: /opt/rtems/i386-rtems/include/utime.h:4: sys/utime.h: No such file or directory ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning: `struct utimbuf' declared inside parameter list ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning: its scope is only this definition or declaration, ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning: which is probably not what you want. ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c: In function `utime': ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34: dereferencing pointer to incomplete type ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34: dereferencing pointer to incomplete type make[4]: *** [o-pc386/utime.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make[1]: Leaving directory `/lfs/poseidon/users/rtems/src/multi/build/c' make: *** [all] Error 1 Apparently sys/utime.h is one of the posix headers and therefore gets not installed (I suppose this is correct). IMO, this probably indicates that sys/utime.h has to be moved to another include subdirectory and should not be part of the posix-package. [AFAIK, sys/*.h are system dependent headers, so why should it be a posix-header? - Hmm]
* Towards automake XI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-03-195-15/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is the most scary of all proposals I've been mailing to you this week until now. It consists of 3 parts: 1. a patch 2. a perl script (acpolish) 3. a shell script wrapper to invoke the perl-script. The perl-script reads in each Makefile.in and modifies them ("polishes/beautifies" them :-). These modifications are not easy to describe: Basically, it hard-codes some automake Makefile-variables and rules into RTEMS autoconf-Makefile.ins (Note: autoconf vs. automake!!) and converts some settings/variables to configure scripts' requirements (Yes, plural). E.g. it adds the automake standard variables $top_builddir and $subdir, adds dependency rules for automatic re-generation of Makefiles from Makefile.in, adds support variables for relative paths to multiple configure scripts etc. The patch is a one-line patch to enable the support of the new features added by acpolish. The shell script is a wrapper which pokes around inside of the source tree for Makefile.ins and invokes acpolish on all autoconf-Makefile.ins. acpolish is designed to be able to run several times on the same Makefile.in and may once become a more general tool to convert RTEMS Makefile.in to automake. Therefore, I'd like to keep it inside of source tree. (e.g. as contrib/acpolish or c/update-tools/acpolish). However, it doesn't make sense to export it outside of RTEMS. To apply this: cd <source-tree> patch -p1 -E < <path-to-patch>/rtems-rc-19990318-1.diff tar xzvf <path-to>/rtems-rc-polish.tar.gz ./rtems-polish.sh ./autogen Note: The path contrib/acpolish is hard-coded into rtems-polish.sh, if you decide to put it in an alternative place, please modify rtems-polish.sh to reflect this change. Later: cvs rm make/rtems.cfg (It isn't used anymore) cvs add contrib cvs add contrib/acpolish cvs commit I've tested this intensively, but naturally I can't exclude bugs. Ralf. PS.: Most probably, this is the last "Towards automake" patch. The next one probably will be a real automake patch.
* Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-03-011-2/+2
| | | | | | | | | | | | | | | | > 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).
* Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-02-185-3/+13
| | | | | | | | | | | | | | | | > 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).
* POSIX Timers submitted by Juan Zamorano FloresJoel Sherrill1999-02-033-1/+93
| | | | <jzamora@avellano.datsi.fi.upm.es>.
* Split psignal.c into many more files. This reduced the amount ofJoel Sherrill1999-01-311-0/+93
| | | | | object code that has to be loaded just for initializing the signal manager.
* Added enough prototypes to allow most of POSIX Threads Manager to beJoel Sherrill1999-01-251-0/+26
| | | | split into multiple files.
* Moved sys/ioctl.h to libc supportJoel Sherrill1999-01-192-18/+1
|
* Added files as part of moveJoel Sherrill1998-12-152-0/+28
|
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to reorganize POSIXJoel Sherrill1998-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | directory in preparation for automake: Here is a shell script which reorganizes some parts of the exec/posix source tree. This shell scripts moves include files below exec/posix to different locations than now. It doesn't yet apply automake, but still use the old autoconf configuration scheme. It doesn't influence the build scheme at all (unless I corrupted something), only the location of the header files is different, which would ease applying automake later. The purpose of this shell script is to demonstrate the style of structural changes I would like to see in rtems in near future to prepare a smooth transition to automake. Then CC could pickup rtems' header files from their location inside of the source tree in future, instead of the build tree as it is done now. In case you would accept this patch/script, there would be more similiar ones to come.
* New files added as part of file system infrastructure effort.Joel Sherrill1998-11-232-0/+42
|
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1998-11-236-3/+17
| | | | it work.
* Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict withJoel Sherrill1998-04-271-2/+7
| | | | | | | 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.
* Made these have real constants.Joel Sherrill1998-04-032-22/+26
|
* updated copyright to 1998Joel Sherrill1998-02-1715-15/+15
|
* Big patch form Ralf Corsepius described in this email:Joel Sherrill1998-01-303-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is the result of my nightly work to get RTEMS_ROOT=$srcdir working with different shells and relative/absolute paths. What I did is relatively simple in principle: Instead of setting RTEMS_ROOT in configure.in and then let configure substitute @RTEMS_ROOT@ inside the Makefiles, I now let each Makefile set RTEMS_ROOT from each Makefile's @top_srcdir@ value. The difference is subtile, but with enormous side effects: - If RTEMS_ROOT is set in configure, then the same single value will be propagated to all Makefiles. This breaks using relative paths, as the relative path to the root of the source tree is used inside of all subdirectory Makefiles. - Now each Makefile.in sets RTEMS_ROOT = @top_srcdir@. top_srcdir is computed individually by configure for each single Makefile.in, hereby receiving the correct value, no matter if relative or absolute paths are used. To get this working, I needed to remove setting RTEMS_ROOT from target.cfg.in, because this overrides the value of RTEMS_ROOT from each individual Makefile. Furthermore, I removed RTEMS_CUSTOM from the Makefiles and replaced all "include $(RTEMS_CUSTOM)" directives with"include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP)". Perhaps you don't like this, but I think, to have one variable less is clearer and easier to understand than having several variables refering to the next one. I enclose a small patch to this mail, which - fixes the config.h problem (to finally clearify misunderstands) - removes assignment/subsitution of RTEMS_ROOT from configure.in - contains a workaround for the application Makefile's RTEMS_ROOT problem (reported by Eric) - removes some unused lines from the toplevel Makefile.in - removes assignment of RTEMS_ROOT from make/target.cfg.in
* Removed CONFIG_DIR and PROJECT_HOME directories.Joel Sherrill1998-01-203-3/+3
|
* Modified a lot of files to take a first cut at supporting building fromJoel Sherrill1997-12-103-3/+12
| | | | | any directory in the build tree. The only variable which must be set before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-0815-30/+30
|
* Removed include directory at "build" point and the link of this directoryJoel Sherrill1997-10-083-3/+3
| | | | | | to lib/include. Went to using a PROJECT_INCLUDE variable.
* Changed name from entry to thread_entry to be more compatible withJoel Sherrill1997-07-091-1/+1
| | | | Ada interface where entry is a keyword.
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-2215-75/+75
| | | | of switching to the modified GNU GPL.
* Reduced number of POSIX thread priorities from 255 to 254 to avoid conflictsJoel Sherrill1997-04-151-1/+7
| | | | | of lowest priority with the RTEMS IDLE thread. This was causing the lowest priority GNAT Ada task to never run.
* This set of changes is the build of what was required to convert toJoel Sherrill1997-04-013-0/+96
| | | | | | | | | | | | | | | | | | | | GNU autoconf. This is the first large step in allowing an RTEMS user to perform a one-tree build (per crossgcc FAQ) including RTEMS in the build process. With this change RTEMS is configured in built in the same style as the GNU tools, yet retains the basic structure of its traditional Makefiles (ala Tony Bennett). Jiri Gaisler (jgais@wd.estec.esa.nl) deserves (and received) a big thank you for doing this. There are still issues to be resolved but as of this commit, all target which can be built on a linux host have been using a modified version of the source Jiri submitted. This source was merged and most targets built in the tree before this commit. There are some issues which remain to be resolved but they are primarily related to host OS dependencies, script issues, the use of gawk for hack_specs, and the dependence on gcc snapshots. These will be resolved.
* added prototype for _POSIX_Timespec_subtractJoel Sherrill1996-09-171-0/+11
|
* moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to here so it would beJoel Sherrill1996-09-081-0/+2
| | | | visible to other files.
* added constant to indicate there is no mutex associated with thisJoel Sherrill1996-08-151-0/+7
| | | | condition variable
* mutex.h: removes the promotion of core status code to POSXI status codesMark Johannes1996-08-121-12/+0
|
* mutex.h: promoted out _POSIX_Mutex_From_core_mutex_statusMark Johannes1996-08-121-0/+12
|
* added ss_high_priority field to support sporadic server.Joel Sherrill1996-08-081-0/+1
|
* switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE"Joel Sherrill1996-07-038-32/+32
|
* fields for init threads stuff said tasks.Joel Sherrill1996-06-141-2/+2
|
* config.h: added maximum_queued_signals.Joel Sherrill1996-06-132-1/+4
| | | | psignal.h: fixed typo.
* added prototype for manager initialization routine.Joel Sherrill1996-06-131-0/+2
|
* deleted field for signals_global_pending.Joel Sherrill1996-06-111-1/+0
|
* new file.Joel Sherrill1996-06-111-1/+1
|
* added psignal.hJoel Sherrill1996-06-101-0/+13
|
* *** empty log message ***Joel Sherrill1996-06-101-1/+1
|
* new fileJoel Sherrill1996-06-071-0/+20
|
* in newlib nowJoel Sherrill1996-06-061-0/+4
|
* added Sporadic_timer field to support sporadic serverJoel Sherrill1996-06-061-0/+1
|
* added comments to priority.h to document the definition of posix priorityJoel Sherrill1996-06-052-2/+6
| | | | | | and how it corresponds to rtems core priority. Schedule was renamed schedparam
* added scheduling policy and parameter informationJoel Sherrill1996-06-041-0/+3
|
* added thread queue for list of threads waiting to join.Joel Sherrill1996-06-031-0/+2
|
* deleted POSIX threads typedef masking Thread_ControlJoel Sherrill1996-06-032-11/+6
|
* renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_intervalJoel Sherrill1996-06-031-1/+15
|