Joel Sherrill
424ab48994
added volatile to Switch_necessary structure member to avoid warning.
1997-04-07 21:21:55 +00:00
Joel Sherrill
d911f4c2c0
added test to avoid spurious error
1997-04-07 21:21:21 +00:00
Joel Sherrill
4e8c5a6bdc
added prototype for missing routine.
1997-04-07 21:20:57 +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
82ab443e24
added prototypes for two assembly language routines to eliminate warnings.
1997-04-07 21:20:16 +00:00
Joel Sherrill
32ef3dc4f6
commented out sccs_id to eliminate warning.
1997-04-07 21:19:59 +00:00
Joel Sherrill
11259ab7f2
added plea for someone to implement software stack switching for m68000-ish
...
cores.
1997-04-07 21:19:15 +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
2e4bc8b434
initialized variable to eliminate warning
1997-04-07 21:17:42 +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
9a11e1ff0d
was checking for null cpu_table -- short have been checking configuration
...
table.
1997-04-02 14:58:19 +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
0302021856
swapped increment of _ISR_Nest_level and _Thread_Dispatch_disable_level
1997-03-11 15:41:19 +00:00
Joel Sherrill
1dc3500b21
added include of rtems.h so the proper macro definitions would be present.
1997-03-10 19:38:30 +00:00
Joel Sherrill
a3cfa9f031
initialized a stack variable to avoid a warning.
1997-03-10 19:37:44 +00:00
Joel Sherrill
d627c0c4f7
created. Split getpid() from types.c to allow it to be overridden by
...
cxe1001 of the ACVC 2.0.1. This allows gnat/rtems to pass the partition
tests.
1997-03-10 16:57:08 +00:00
Joel Sherrill
fec60e9272
Fixed bug where the initial detachstate was not being set properly
1997-03-10 16:56:08 +00:00
Joel Sherrill
1149658ec0
updated version to 4.0.0
1997-03-08 03:57:09 +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
dab057a9b3
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.
The RTEMS API always puts tasks at the end of their priority group except
upon loss of inherited priority.
1997-03-08 03:51:09 +00:00
Joel Sherrill
232d6c1cf1
Removed getpid from this file and made it its own file. This lets it
...
get replaced as required.
1997-03-08 03:50:17 +00:00
Joel Sherrill
5cdcbd22d1
Added commit to indicate exepcted _Thread_Dispatch_disable_level. Hopefully
...
no one will ever get confused here again and try to enable dispatching. :(
1997-03-08 03:47:34 +00:00
Joel Sherrill
aea06ed443
Modifications to make go32 build using new i386-go32-rtems toolset
...
and gcc 2.8.x -specs options.
1997-01-29 15:54:31 +00:00
Joel Sherrill
dcec5a4d60
Merged newlib's libgloss support for rtems into this directory. This
...
should simplify the build process.
1997-01-29 00:29:25 +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
3aa50294e8
Added comment.
1997-01-29 00:14:15 +00:00
Joel Sherrill
136b1e2286
Removed defines now handled by targopts.h.
1997-01-29 00:13:50 +00:00
Joel Sherrill
ee7cf7d462
Added include of rtems/score/cpu.h
1997-01-29 00:13:11 +00:00
Joel Sherrill
b918108283
Added include of targopts.h.
1997-01-29 00:13:00 +00:00
Joel Sherrill
985796a39a
Changed include of asm.h so it is in brackets not quotes. asm.h is
...
in a standard location and should be referenced as such.
1997-01-29 00:12:31 +00:00
Joel Sherrill
5ddfa53b08
Fixed spacing on comments.
1997-01-29 00:11:16 +00:00
Joel Sherrill
375a6c0612
Fixed spacing on comment.
1997-01-29 00:10:28 +00:00
Joel Sherrill
860e77a42f
Fixed comments.
...
Fixed so this file can be included from assembly code.
1997-01-29 00:09:49 +00:00
Joel Sherrill
95a1d50860
Added comment.
1997-01-29 00:08:14 +00:00
Joel Sherrill
74468994a8
fixed spacing problem
1997-01-29 00:07:15 +00:00
Joel Sherrill
f7e46cf019
With the transition from command line macro definitions to targopts.h,
...
it was necessary to include system.h before checking if anything was
defined.
1997-01-28 23:35:01 +00:00
Joel Sherrill
68d887326e
removed include of unnecessary include file.
1997-01-28 23:33:40 +00:00
Joel Sherrill
52d99d4a34
Switch to using newlib's implementation of time().
1997-01-28 23:33:22 +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
Joel Sherrill
1019ae4c4d
added some casts to reduce warnings reported by users with Microtec C++
...
compiler.
1997-01-08 16:20:47 +00:00
Joel Sherrill
0d051533b9
added type definitions for all supported task entry formats
1997-01-08 16:19:47 +00:00
Joel Sherrill
ffe316d526
Suggested changes from Mark Jordan which eliminate warnings and errors
...
he received using the Microtec C++ compiler. Most of these are
either missing casts from/to (void *), heavy handed use of enumerated
types, or simply assumed conversions. There is at least one actual
bug in an error path in thread.c in which the wrong argument was
passed to _Thread_Stack_Free and was not being caught by gcc.
1996-12-02 22:50:33 +00:00
Joel Sherrill
e1a06d1bae
Changes to reflect new revision of erc32 per Jiri Gaisler's suggestions.
...
This is current as of sis 2.6.
1996-12-02 22:47:38 +00:00
Joel Sherrill
6764c84186
minor changes to eliminate warnings from C++ compilers per user suggesstions.
1996-12-02 22:42:30 +00:00
Joel Sherrill
29d8227e6d
Updates from Derrick Ostertag <ostertag@transition.com> to fix bug in
...
interrupt handling.
1996-12-02 19:48:29 +00:00
Joel Sherrill
f4b7e29710
Update from Chris Johns <cjohns@awa.com.au> to add better support for
...
68000 class CPUs.
1996-12-02 19:43:22 +00:00