Commit Graph

413 Commits

Author SHA1 Message Date
Joel Sherrill
6666ea8875 Added True and False constants for RTEMS.Boolean types. This necessitated
making sure every True/False reference was fully qualified.
1997-06-03 18:07:30 +00:00
Joel Sherrill
87e951a21d Added RTEMS boolean constants. 1997-06-03 16:04:00 +00:00
Joel Sherrill
4c3340ced8 Added Pending_Events and lined up other event constants 1997-06-03 15:22:09 +00:00
Joel Sherrill
d348ad96d5 added more constants and fixed numer 1997-06-03 15:11:39 +00:00
Joel Sherrill
a6b44a8a63 added Signal constants, Is_Status_Successful, and Attribute constants. 1997-06-03 00:55:42 +00:00
Joel Sherrill
7e3dcbc175 added rtems_interrupt_level_attribute routien to return a properly
shifted interrupt_level attribute field and RTEMS_INTERRUPT_MASK.
1997-06-03 00:33:48 +00:00
Joel Sherrill
d766b7fd8c added Minimum_Stack_Size and Mode constants 1997-06-02 23:46:15 +00:00
Joel Sherrill
f3f06f79c3 added new files from test area.
This code has successfully been used to run sp01.
1997-06-02 20:52:48 +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
e8cdda4f11 Corrected by adding check for NULL address passed into get_status
directive.
1997-04-25 18:13:49 +00:00
Joel Sherrill
f8f5106965 Added to comment header block to include new status directive. 1997-04-25 18:13:26 +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
e0de6ef3ad promote TOD_MICROSECONDS_TO_TICKS through API as RTEMS_MICROSECONDS_PER_TICK. 1997-04-22 20:19:12 +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
84ff7c236b File changed to reflect change in license and copyright. 1997-04-22 17:42:17 +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
6881e0cb4b Reduced number of POSIX thread priorities from 255 to 254 to avoid conflicts
of lowest priority with the RTEMS IDLE thread.  This was causing the lowest
priority GNAT Ada task to never run.
1997-04-15 18:02:18 +00:00
Joel Sherrill
c46ce85495 printing task names now instead of id numbers 1997-04-09 20:19:07 +00:00
Joel Sherrill
fc7bc517db new files. 1997-04-09 20:18:54 +00:00
Joel Sherrill
e39e6f77cf added code to prevent attempts to clean up the library when rtems is
down.
1997-04-09 20:05:59 +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
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