Commit Graph
5440 Commits
Author SHA1 Message Date
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 eafd6989b7 enhanced rtems_shutdown_executive to insure that no attempt will
be made to shut the system down when it is down.
1997-04-09 20:03:35 +00:00
Joel Sherrill 113ef9fc7e added support for statistics on rate monotonic periods. 1997-04-09 20:02:29 +00:00
Joel Sherrill e2d7955973 Added ka9q tcpip stack and network driver for the gen68360. This effort
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.
1997-04-09 14:05:50 +00:00
Joel Sherrill 9ffcaa4a8a changed signed int to unsigned int to eliminate a warning. 1997-04-07 21:30:58 +00:00
Joel Sherrill bd71da714e removed noreturn attribute to eliminate warnings. 1997-04-07 21:30:42 +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 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 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 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 b918108283 Added include of targopts.h. 1997-01-29 00:13:00 +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 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 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
Joel Sherrill 331d9e3b91 Added asserts for unhandled conditions which need to result in error
statuses being returned to gnat runtime in order for it to raise
use_errors.  This was needed to identify the places in gnat's runtime
which needed to be addressed.
1996-11-08 20:08:52 +00:00
Joel Sherrill 9e406d983a added ENOSYS support 1996-10-15 21:58:32 +00:00
Joel Sherrill 27f0d42495 added support for cpu time used field in tcb 1996-10-15 21:38:43 +00:00
Joel Sherrill f8c63338c3 added cpu time used field to tcb 1996-10-15 21:38:33 +00:00
Joel Sherrill 855edeca4f fixed incorrect placement of CPU_STRUCTURE_ALIGNMENT macro. 1996-09-30 20:15:01 +00:00
Joel Sherrill 348ba429c0 changed stack size of posix initialization threads to double the minimum
stack size so more of acvc would pass.
1996-09-30 20:14:08 +00:00
Joel Sherrill 5697c2817c pointer arithmetic reworked to be more portable 1996-09-18 20:55:53 +00:00
Joel Sherrill be95da0e19 casts added to numerous arguments, prototypes corrected, and
proper include files added.
1996-09-18 20:55:13 +00:00
Joel Sherrill 0c35efe816 dummy function added to satisfy ANSI 1996-09-18 20:54:05 +00:00