summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/unix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-02-181-10/+1
| | | | | | | | | | | | | | | | | | > 3) rtems-rc-19990131-2.diff > > This patch removes generating bsp_specs from leaf.cfg and generates > bsp_specs from inside of c/Makefile instead. > > The motivation behind this patch is to avoid "polluting" Makefiles by > unneccessary rules from included Makefile-fragments (*.cfg-files) and > try to handle files by explicit rules in Makefiles instead (FYI: > automake-1.4 physically includes Makefile fragments at the time > automake is run, not at the time make is run as RTEMS Makefile.ins do > now) > > Nevertheless, this patch is rather uncritical, almost cosmetical - If > you don't like it, then dump it ;-, however I doubt that subsequent > patches will apply then ;-.
* Part of automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-02-181-2/+2
| | | | | | | | | | | | | | > 2) rtems-rc-19990131-1.diff > > Rework of compilers/*.cfg files (esp. gcc-target-default.cfg) to adapt > the flags/makefile variables to automake and make standards (cf. > make.info - implicit rules/variables). > > This patch is rather risky and may probably break things, but is an > essential step towards automake. > > FWIW: It also reverts the i386-ASMFLAGS/ASFLAGS-patch, which was wrong, > as I had to experience ;-.
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-02-181-6/+0
| | | | | | | | | | | | | This patch removes generation of targopts.h from leaf.cfg and generates it in location at score/include/rtems/score instead. To achieve this: * all rules in other Makefile.ins which have accessed targopts.h have been removed. * c/Makefile.in has been modified to generate the directories before doing anything else. I.e. to ensure the directories exist before any preinstall rule fires (This part is a bit kludgy, but it seems to work. Please check if the interaction with libhwapi still works).
* Patch from Ian Lance Taylor <ian@airs.com>.Joel Sherrill1998-10-281-11/+19
| | | | | | | | | | | | | | | | | | | | | I just happened across the sync_io support in c/src/exec/score/cpu/unix/cpu.c (is this documented anywhere?). That looked more useful than the signal driven I/O I was using before, so I tried it. I ran across a few bugs in the way it uses select. Select changes its fd_set arguments, so you can't use global variables for them. You have to copy them into local variables first. If select returns -1 with errno set to EINTR, then it has not changed any of the fd_sets. You can't start looking at them. When clearing a descriptor, the code has the usual select off by one error when setting sync_io_nfds. I don't see how this code could ever have worked correctly. I have appended a patch for the problems I found.
* IDLE task stack size now specified as a field in the CPU Table for allJoel Sherrill1998-09-231-0/+1
| | | | ports.
* Redid Makefiles to properly do a preinstall. There was remnants of theJoel Sherrill1998-08-051-10/+2
| | | | old way of setting th cpu family and model string names.
* Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.Joel Sherrill1998-06-183-2/+20
|
* Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just theJoel Sherrill1998-06-031-0/+8
| | | | | vector number to user ISR's and other ports could pass both the vector number and a pointer to the ISF.
* Per suggestion from Ralf Corsepius made all macros solaris2 -- not solarisJoel Sherrill1998-05-211-1/+1
| | | | or solaris2.
* Added bsp_specs.Joel Sherrill1998-05-181-3/+4
|
* Added swap of unsigned16Joel Sherrill1998-04-271-0/+3
|
* Ralf Corsepius suggested a way to get rid of UNIX compiler files and use ↵Joel Sherrill1998-04-142-2/+1
| | | | gcc-target-default.cfg
* Added "sigemptyset()" call to insure that the memcmp() would work.Joel Sherrill1998-03-311-0/+4
| | | | | It appears that the new glibc does not clear all the bits of the signal set with a sigprocmask.
* Changed int to unsigned32 to match cpu.h.Joel Sherrill1998-03-271-1/+1
|
* Added _XOPEN_SOURCE definition to allow use of UNIX IPC.Joel Sherrill1998-03-241-0/+1
|
* Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill1998-03-242-14/+14
| | | | the CPU family name constants.
* updated copyright to 1998Joel Sherrill1998-02-172-2/+2
|
* Ralf Corsepius noticed that generally was spelled incorrectly.Joel Sherrill1998-02-041-1/+1
|
* Big patch form Ralf Corsepius described in this email:Joel Sherrill1998-01-301-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Change to remove warning on glibc2 systems per Ralf Corsepius'sJoel Sherrill1998-01-281-1/+6
| | | | suggestion.
* Solaris port updates from Chris JohnsJoel Sherrill1998-01-231-10/+0
|
* Removed warning per Chris John's suggestion.Joel Sherrill1998-01-201-1/+1
|
* Removed CONFIG_DIR and PROJECT_HOME directories.Joel Sherrill1998-01-201-1/+1
|
* Modified a lot of files to take a first cut at supporting building fromJoel Sherrill1997-12-101-1/+4
| | | | | 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-084-8/+8
|
* Removed include directory at "build" point and the link of this directoryJoel Sherrill1997-10-081-6/+6
| | | | | | to lib/include. Went to using a PROJECT_INCLUDE variable.
* Patch from Chris John <cjohns@awa.com.au> to add use of a select statementJoel Sherrill1997-04-223-3/+150
| | | | | | in the unix port idle thread task. This should keep the entire application from blocking when any component does a blocking application. Also added TOD_MICROSECONDS_TO_TICKS.
* multiprocessing fixed on linux by fixing cpu.c so correct form ofJoel Sherrill1997-04-221-3/+4
| | | | semctl was being invoked.
* updated with new license information per Tony Bennett.Joel Sherrill1997-04-222-20/+7
|
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-222-10/+10
| | | | of switching to the modified GNU GPL.
* Added ka9q tcpip stack and network driver for the gen68360. This effortJoel Sherrill1997-04-091-0/+17
| | | | | | | | | | | | | was done based on the 3.6.0 release and had to be autoconf'ed locally. It is turned on is the bsp enables it and it is not explicitly disabled via the configure option --disable-tcpip. As many warnings as possible were removed locally after the code was merged. Only the gen68360 and mvme136 bsps were compiled this way. The ka9q port and network driver were submitted by Eric Norum (eric@skatter.USask.Ca). The network demo programs are not included in the tree at this point.
* added initialization of variable to eliminate warning.Joel Sherrill1997-04-071-1/+1
|
* This set of changes is the build of what was required to convert toJoel Sherrill1997-04-014-5/+99
| | | | | | | | | | | | | | | | | | | | 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.
* initialized a stack variable to avoid a warning.Joel Sherrill1997-03-101-1/+1
|
* Removed definitions which are now in targopts.h. This eliminates theJoel Sherrill1997-01-291-32/+0
| | | | | need for the "sed'ing" of this file. This should be a significant win when addressing non-unix host and non-gnu toolsets.
* Added comment.Joel Sherrill1997-01-291-1/+1
|
* fixed incorrect placement of CPU_STRUCTURE_ALIGNMENT macro.Joel Sherrill1996-09-301-2/+2
|
* use address object to avoid direct pointer arithmeticJoel Sherrill1996-09-181-1/+1
|
* corrected white space problemsJoel Sherrill1996-09-181-60/+62
| | | | added CPU_STRUCTURE_ALIGNMENT to default context structures
* split the inclusion of "EXTERN" data based on whether it was sapi,Joel Sherrill1996-05-281-4/+4
| | | | score, rtems api, or posix api related.
* updates from Tony Bennett.Joel Sherrill1996-05-232-60/+78
| | | | | Broke the setjmp/longjmp pair in the context switch into a separate routine so no code depended on local variables surviving the jump.
* *** empty log message ***Joel Sherrill1996-05-081-1/+2
|
* added stack allocation fields to the cpu tableJoel Sherrill1996-04-222-31/+71
| | | | | updates from Tony Bennett. Most were to insure all variables were properly initialized and to correct the stray signal number reporting.
* Dispersal of internal thread handler resulted in IDLE thread becomingJoel Sherrill1996-02-212-10/+10
| | | | | part of the Thread Handler. This required the name of the optional CPU dependent IDLE thread implementation to change.
* added clear of _ISR_Signals_to_thread_executingJoel Sherrill1996-02-091-0/+1
|
* updates from Tony Bennett for PA and UNIX portsJoel Sherrill1996-01-153-15/+47
|
* SPARC port passes all testsJoel Sherrill1995-10-302-74/+27
|
* moved to new development machine and went to gcc 2.7.0Joel Sherrill1995-10-061-0/+3
|
* all targets compile .. tony's patches in placeJoel Sherrill1995-09-291-1/+1
|
* Modified UNIX simulator port so all references to native unixJoel Sherrill1995-09-272-19/+339
| | | | | stuff is in the executive source proper in the file cpu.c. This should help avoid conflicts between RTEMS POSIX files and UNIX files.