Commit Graph
57 Commits
Author SHA1 Message Date
Joel Sherrill 458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill e4487b6cd8 Modified to properly descend into the dummy directory. 1999-10-27 20:21:33 +00:00
Joel Sherrill b07e06a1bc New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
are a dummy for linking programs together when you are primarily
concerned with tricking another package into building.

This may grow into something which could help link programs on
the command line by having a default start sequence.
1999-10-27 19:35:36 +00:00
Joel Sherrill dd04e32a80 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/libmisc to c/src/libmisc.
1999-10-26 02:58:06 +00:00
Joel Sherrill c1b12e6a41 Moved RTEMS error and association from libmisc to libc support to
avoid cyclic dependencies generated when moving packages to the
top level.
1999-10-11 18:31:48 +00:00
Joel Sherrill 811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill 6fc973e39b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is another fix, which addresses a few more or less severe bugs in
    configuration and unix/posix:

    * Configuration fix: c/src/lib/configure.in didn't handle RDBG correctly

    * Configuration fix: make depend was non-functional in
      c/src/lib/libc/Makefile.in
    * Configuration fix: stray comment removed from aclocal/target.m4

    * RTEMS fix: termios support for unix/posix now uses the host's headers
      only (was completely broken).
    - Don't install RTEMS's newlib sys/termios.h for unix (sys/termios.h
      apparently is a newlib specific header)
    - To be able to compile RTEMS's  termios.c with glibc2.1, glibc-2.1
      needs __USE_MISC, which is a private define from gcc's features.h, being
      defined only when _BSD_SOURCE of _SVID_SOURCE is defined.  RTEMS's
      termios apparently implements BSD, thus -D_BSD_SOURCE was added to
      Linux-posix.cfg.
    - Conflicting definitions for  __USE_MISC and _BSD_SOURCE inside of
      RTEMS codes removed due to definition of _BSD_SOURCE on the toplevel.

    This fix has been tested with linux/posix (primary glibc2.1 native),
    linux/posix (secondary libc5 native), sh/gensh1, i386/pc386 and a couple
    of other bsp's/CPU.

    To apply:

        cd <srcdir>
        patch -p1 < rtems-rc-19990709-9.diff

    and
        aclocal -I aclocal && automake && autoconf
        cd c/src/lib; autoconf

    or
        ./autogen
1999-08-18 16:49:52 +00:00
Joel Sherrill 2728b0749d New file from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-07-09 17:23:15 +00:00
Joel Sherrill 2b283071c6 Bug report from Ralf on UNIX port where the S_IR* constants were not
defined.
1999-04-14 18:18:03 +00:00
Joel Sherrill b08d3ed989 Untar support submitted by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-04-06 21:45:06 +00:00
Joel Sherrill 379d2ed5a9 New files added to ease debugging. 1999-01-31 19:12:46 +00:00
Joel Sherrill bfc3533594 Include files now installed as <rtems/*.h>. 1998-12-01 13:56:46 +00:00
Joel Sherrill 37de72b908 Removed unused file.
Include files now installed as <rtems/*.h>.
1998-12-01 13:56:18 +00:00
Joel Sherrill 97e2729d1a Added --disable-multiprocessing flag and modified a lot of files to make
it work.
1998-11-23 17:38:09 +00:00
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 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 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 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 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 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 9ffcaa4a8a changed signed int to unsigned int to eliminate a warning. 1997-04-07 21:30:58 +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 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