Commit Graph
51 Commits
Author SHA1 Message Date
Joel Sherrill baa876a409 Cosmetic fix from Eric Norum:
This makes the headings line up above the columns a little better.
    Now that it's so easy to include/exclude the stack check code I find
    myself adding it to all my `debug' targets.
1998-04-27 15:14:30 +00:00
Joel Sherrill edffc05456 Fixed so this would compile without warning. 1998-04-15 22:16:43 +00:00
Joel Sherrill 71f4beb0cd Stack check now initialized as part of initial extension set. 1998-04-15 15:08:49 +00:00
Joel Sherrill 7ff01ac4d3 Increased stack space of the monitor task. 1998-04-06 21:41:50 +00:00
Joel Sherrill 60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill 5c3511e5cf Big patch form Ralf Corsepius described in this email:
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
1998-01-30 21:49:51 +00:00
Joel Sherrill 421dfef68e Corrected Linux port for glibc2 1998-01-30 20:59:22 +00:00
Joel Sherrill 2936b425fd Solaris port updates from Chris Johns 1998-01-23 17:45:05 +00:00
Joel Sherrill cb5bfe40fd Removed CONFIG_DIR and PROJECT_HOME directories. 1998-01-20 19:41:09 +00:00
Joel Sherrill 6f9c75c322 Ralf Corsepius reported a number of missing CVS Id's:
> RTEMS is under CVS control and has been since rtems 3.1.16 which was
  > around May 1995.  So I just to add the $Id$.  If you notice other files
  > with missing $Id$'s let me know.  I try to keep w\up with it.

  Now that you have asked -- I'll attach a list of files lacking an RCS-Id to
  this mail. This list has been generated by a little sh-script I'll also
  enclose.
1998-01-16 16:56:48 +00:00
Joel Sherrill 674c900f24 Modified a lot of files to take a first cut at supporting building from
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).
1997-12-10 16:58:00 +00:00
Joel Sherrill c436b5b84d Fixed indexing bug reported by Phil Wilshire. 1997-12-07 16:58:13 +00:00
Joel Sherrill bbb281698f Removed warnings. 1997-11-29 18:21:00 +00:00
Joel Sherrill a18ccfe0a7 Fixed a number of warnings regarding comparisons between signed and
unsigned numbers.
1997-10-21 18:39:49 +00:00
Joel Sherrill 48220699fd Fixed endian problem in printing object names. 1997-10-21 18:39:27 +00:00
Joel Sherrill 98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill a2016b9965 Removed include directory at "build" point and the link of this directory
to lib/include.

Went to using a PROJECT_INCLUDE variable.
1997-10-08 14:42:08 +00:00
Joel Sherrill 5beb562450 Cleaned up as part of adding the Monitor test. 1997-09-21 16:58:57 +00:00
Joel Sherrill a72e3dd1cb updated 1997-09-16 13:08:58 +00:00
Joel Sherrill b57992a382 Removed assert condition when not initialized or there are 0 periods. 1997-08-22 19:17:54 +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 18e5d86bb9 removed commented out line performing a link 1997-04-11 18:40:04 +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 9d5152f121 added rtmonuse and cpuuse directories 1997-04-09 20:07:22 +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 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 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 e6d4b1d086 added initial posix configuration support 1996-05-28 13:13:34 +00:00
Joel Sherrill 8389628c1b updates from Tony Bennett 1996-04-22 16:53:46 +00:00
Joel Sherrill e6424462c3 As part of reducing visibility into rtems and hiding the .inl files
from the application code, this file required more visibility than
is given by default to application code.
1996-03-06 21:37:43 +00:00
Joel Sherrill 8bde6ea9ca removed post switch extension 1996-02-13 22:16:36 +00:00
Joel Sherrill 2931001675 Added condition compile flag for dump of stack usage information on
system exit.
1996-01-19 22:21:16 +00:00
Joel Sherrill 72c440eea7 Update from Tony Bennett (tbennett@divnc.com) 1996-01-17 20:13:45 +00:00
Joel Sherrill 6661eaa111 Split error handler into its own directory. 1996-01-15 23:06:16 +00:00
Joel Sherrill c64e4ed482 updates from Tony Bennett for PA and UNIX ports 1996-01-15 21:50:28 +00:00
Joel Sherrill 11290355c9 all targets compile .. tony's patches in place 1995-09-29 17:19:16 +00:00
Joel Sherrill 3652ad356b Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.
1995-09-19 14:53:29 +00:00
Joel Sherrill 3a4ae6c210 The word "RTEMS" almost completely removed from the core.
Configuration Table Template file added and all tests
modified to use this.  All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines.  Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized.  These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver.  Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.
1995-09-11 19:35:39 +00:00
Joel Sherrill 7f6a24abdd Added unused priority ceiling parameter to rtems_semaphore_create.
Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class.  This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.
1995-08-28 15:30:29 +00:00
Joel Sherrill 5250ff39f0 Moved _Thread_Information -> _RTEMS_tasks_Information.
Added a table of object information control blocks.

Modified _Thread_Get so it looks up a thread regardless of which
thread management "entity" (manager, internal, etc) actually "owns" it.
1995-08-23 21:06:31 +00:00
Joel Sherrill 3235ad9a2c Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.

Both inline and macro implementations were tested.
1995-08-23 19:30:23 +00:00
Joel Sherrill 0f592fbafe Modified references to task name. 1995-08-18 21:43:40 +00:00
Joel Sherrill 9863dbfdd4 + Added object type field to object id.
+ Added name pointer to Object_Control.

+ Modified Object Open and Close to address name field.

+ Removed name as separate element from Thread and Proxy Control.

+ Added parameter "object class" to calls to Initialize Information
1995-08-18 21:42:58 +00:00
Joel Sherrill b06e68ef1f Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@divnc.com) including the following major additions:

  + variable length messages
  + named devices
  + debug monitor
  + association tables/variables
1995-08-17 19:51:51 +00:00
Joel Sherrill 637df35f96 Ada95, gnat, go32 1995-07-12 19:47:25 +00:00
Joel Sherrill 9e86dd7db7 incorporated mc68302 support 1995-06-07 01:27:28 +00:00
Joel Sherrill 88d594a3d5 Fully tested on all in-house targets 1995-05-24 21:39:42 +00:00