Commit Graph

192 Commits

Author SHA1 Message Date
Joel Sherrill
5e34bf4b95 Added "sigemptyset()" call to insure that the memcmp() would work.
It appears that the new glibc does not clear all the bits of the signal
set with a sigprocmask.
1998-03-31 14:19:27 +00:00
Joel Sherrill
a30359bbdd Changed int to unsigned32 to match cpu.h. 1998-03-27 19:42:58 +00:00
Joel Sherrill
c80add4623 m68k software interrupt stack support from Chris Johns and Eric Norum. 1998-03-25 18:46:47 +00:00
Joel Sherrill
ddf142da51 Added _XOPEN_SOURCE definition to allow use of UNIX IPC. 1998-03-24 20:53:48 +00:00
Joel Sherrill
bdac86b583 Real definition for the beginning of the data section per Eric Norum's
suggestion.
1998-03-24 17:13:03 +00:00
Joel Sherrill
3ec7bfc7c4 Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros for
the CPU family name constants.
1998-03-24 16:24:39 +00:00
Joel Sherrill
50cf94da7e SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-03-20 17:16:31 +00:00
Joel Sherrill
9b39bab01d Modified to make it possible for an ISR to return a mutex which did
not use priority ceiling or priority inheritance protocols.
1998-02-20 20:23:57 +00:00
Joel Sherrill
c7744ee03b Ralf Corsepius noted that there was a dead path in _Thread_Initialize. 1998-02-18 19:34:51 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
77ea27fc16 Ralf Corsepius noticed that generally was spelled incorrectly. 1998-02-04 14:47:23 +00:00
Joel Sherrill
3a85d03d4e Change to remove warning on glibc2 systems per Ralf Corsepius's
suggestion.
1998-01-28 15:39:30 +00:00
Joel Sherrill
2936b425fd Solaris port updates from Chris Johns 1998-01-23 17:45:05 +00:00
Joel Sherrill
6ab91d9724 Removed warning per Chris Johns' suggestion. 1998-01-20 20:32:15 +00:00
Joel Sherrill
87904ba261 Error reported by Duncan Smith <dds@flavors.com>:
>> >>There is a 30 day error in  _TOD_Days_since_last_leap_year[2..3]
    >> >
    >> >Thanks.
    >> >What's the condition to hit this error?
    >> >Every year 4n+2 and 4n+3 ?
    >> >(i.e. 1998, 1999, 2002, 2003, ...)
    >> >
    >> OK:  96 97       00 01       04 05 ...
    >> Bad:       98 99       02 03       06 07 ...

There is also a problem in newlib 1.7.x reported at the same time:

  >> I found another, that would strike only on 2/29/2000, or other leapyears.
  >> Only a problem on 1 day.
  >>
  >> Joel:  FYI, there is a bug in Newlib localtime.c, localtime or (_tm_time).
  >> Ours is modified for dst and timezones, but the bug was in original source.
  >> I have not looked at the latest public source (nor do I know where to find
  >> it).
1998-01-15 21:39:15 +00:00
Joel Sherrill
b2225d72ba Fixed spacing. 1998-01-06 15:40:35 +00:00
Joel Sherrill
01a5f6b2c6 Moved include of rtems/score/cpu.h to make sure TRUE and FALSE were defined.
This simple error resulted in the wrong FP context structure being used
for hardware contexts on the m68k.  This was a difficult problem to find.
1997-12-06 15:09:30 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
b6770d1662 Fixed comment. 1997-10-06 21:29:29 +00:00
Joel Sherrill
e63e254e4c Corrected bug per Katsutoshi Shibuya's report:
The definition of "BEGIN_DATA" should not be null; should be ".data".
    Also, the definition of "BEGIN_BSS" should be ".bss".  For this error,
    the compiled object has codes that write on the text segment area.
    It is fatal when the code runs on ROM.
1997-08-22 19:19:07 +00:00
Joel Sherrill
91333c27bd Merged very large and much appreciated patch from Chris Johns
<cjohns@plessey.com.au>.  This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
1997-07-31 22:04:17 +00:00
Joel Sherrill
eb14a2ffb2 Repository damaged -- files readded. 1997-07-09 23:55:39 +00:00
Joel Sherrill
b5fc21c686 Added post switch extension. 1997-07-09 23:50:28 +00:00
Joel Sherrill
8fabc27347 Added sp, sfc, and fpcsr register defines. 1997-07-09 23:33:08 +00:00
Joel Sherrill
00d2a82897 Added support for context switching the data used by the gcc m68k
software floating point emulation code.  Code implemented by
Karen Sara Looney <Karen.Looney@colorado.edu> with much
email assistance from Joel.
1997-05-28 20:36:35 +00:00
Joel Sherrill
0a6fb223b6 Patch from Chris John <cjohns@awa.com.au> to add use of a select statement
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.
1997-04-22 20:19:25 +00:00
Joel Sherrill
f254555238 multiprocessing fixed on linux by fixing cpu.c so correct form of
semctl was being invoked.
1997-04-22 19:57:02 +00:00
Joel Sherrill
e71ce0712c updated with new license information per Tony Bennett. 1997-04-22 17:47:16 +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
5bf6ffb42f Added FPSP support for MC68040 1997-04-16 17:34:40 +00:00
Joel Sherrill
3fc076d757 added support for tracking thread cpu usage. 1997-04-09 20:04:52 +00:00
Joel Sherrill
192259f630 enhanced printf statements 1997-04-09 20:04:36 +00:00
Joel Sherrill
48e3459586 corrected spacing. 1997-04-09 20:04:22 +00:00
Joel Sherrill
bbb846b405 added SYSTEM_STATE_SHUTDOWN 1997-04-09 20:03:59 +00:00
Joel Sherrill
d6ba279565 added initialization of variable to eliminate warning. 1997-04-07 21:24:02 +00:00
Joel Sherrill
12d6f1418a added "ifndef" to avoid redefinition warning. 1997-04-07 21:22:15 +00:00
Joel Sherrill
d749165100 added "return" to eliminate warning. 1997-04-07 21:20:48 +00:00
Joel Sherrill
2ff1d5498e added "ifndef" to avoid redefinition warning 1997-04-07 21:20:35 +00:00
Joel Sherrill
32ef3dc4f6 commented out sccs_id to eliminate warning. 1997-04-07 21:19:59 +00:00
Joel Sherrill
77d20fb28d Replaced warning message for cpus which do not have hardware support
for an interrupt stack.  Hopefully this will encourage someone to
implement software stack switching on the m68k.
1997-04-07 21:18:50 +00:00
Joel Sherrill
94784cf8e5 changed signed int to unsigned to eliminate warning 1997-04-07 21:16:47 +00:00
Joel Sherrill
17c4511e3c added "ifndef" for ASM to avoid redefinition warnings. 1997-04-07 21:16:31 +00:00
Joel Sherrill
254b445071 This set of changes is the build of what was required to convert to
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.
1997-04-01 23:07:52 +00:00
Joel Sherrill
c43b34cf34 modified _Chain_Insert_unprotected to have the form required to be used
as the sole statement in an if or else statement
1997-03-11 15:42:14 +00:00
Joel Sherrill
a3cfa9f031 initialized a stack variable to avoid a warning. 1997-03-10 19:37:44 +00:00
Joel Sherrill
f926b34f66 Modified calls to _Thread_Change_priority to take a third argument. The new
argument indicates whether the task is to be placed at the head or tail of
its priority fifo when it is lowering its own priority.  POSIX normally
follows the RTEMS API conventions but GNAT expects that all lowering of
a task's priority by the task itself will result in being placed at the
head of the priority FIFO.  Normally, this would only occur as the result
of lose of inherited priority.
1997-03-08 03:51:55 +00:00
Joel Sherrill
541dfb2a06 Removed definitions which are now in targopts.h. This eliminates the
need for the "sed'ing" of this file.  This should be a significant win
when addressing non-unix host and non-gnu toolsets.
1997-01-29 00:22:24 +00:00
Joel Sherrill
36dbb51561 added type to macro to eliminate warning for untyped use of a register. 1997-01-29 00:21:53 +00:00
Joel Sherrill
b918108283 Added include of targopts.h. 1997-01-29 00:13:00 +00:00
Joel Sherrill
fc5e2d7328 fixed comments on vanilla 68000 SW interrupt stack (or the lack thereof) 1997-01-15 20:21:48 +00:00