Commit Graph

3663 Commits

Author SHA1 Message Date
Jennifer Averett
94f81bbd8b + Corrected bug in error check. 1999-11-22 16:11:35 +00:00
Jennifer Averett
2c3af4c5da + Added description of routine to comment. 1999-11-22 16:10:25 +00:00
Jennifer Averett
0ca4fc83a4 + Corrected error processing code. 1999-11-22 16:09:55 +00:00
Jennifer Averett
f85409cf9c + Added checks for NULL and NULL string names (for sem_open & sem_unlink). 1999-11-22 16:08:53 +00:00
Jennifer Averett
0ebf569402 + Cleaned up comments. 1999-11-22 16:07:02 +00:00
Jennifer Averett
24f6608c94 + Corrected error messages.
+ Added tests for sem_open, sem_close, and sem_unlink.
+ Yellow lined sem_open, sem_close, sem_unlink,
  _POSIX_Semaphore_Delete, _POSIX_Semaphore_Name_to_id,
  and _POSIX_Semaphore_Create_support. Except for MP, pshared
  OBJECT_REMOTE, and out of memory paths.
1999-11-22 16:05:09 +00:00
Joel Sherrill
b41a0d197c RTEMS RPM basically working. 1999-11-22 14:30:41 +00:00
Joel Sherrill
28cc1728df Removed need for START_BASE. 1999-11-22 14:28:36 +00:00
Joel Sherrill
650526857e Added ifndef around build_time macro so tmacros.h and pmacros.h
can be included from the same file.
1999-11-22 14:28:19 +00:00
Joel Sherrill
6b910bd2d2 Use PGM consistently. 1999-11-22 14:27:04 +00:00
Joel Sherrill
c99d395a32 Made it agree on PGM versus PGM/PGMS. 1999-11-22 14:26:36 +00:00
Joel Sherrill
b7912a89de Changed name of W, X, and Y macros for fields in the Clock
Synthesizer Control Register to remove use of single letter names.
1999-11-22 14:25:01 +00:00
Joel Sherrill
561e4ff697 Adding files missed by earlier merger of SH-2. 1999-11-22 14:03:16 +00:00
Joel Sherrill
875fbdbb49 Added files missed by previous merger of SH-2 port. 1999-11-22 13:48:10 +00:00
Joel Sherrill
b22a19e1e7 Adding files not added as part of merger of SH2 port. 1999-11-22 13:46:50 +00:00
Joel Sherrill
27ea47c11f Removed unneeded directory. 1999-11-22 13:45:55 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
75f2b0b0ef Small patch (rtems-rc-19991117-5.diff) from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to correct the constraints on the
inline assembly language macro for sh_disable_interrupt.
1999-11-22 13:12:48 +00:00
Joel Sherrill
d2a05e767b Renaming all BSP specific startXXX directories to use the same name (start). 1999-11-19 16:40:40 +00:00
Joel Sherrill
9c0385aaa9 Renaming all BSP specific startXXX directories to use the same name (start). 1999-11-19 16:22:09 +00:00
Joel Sherrill
149f3f9642 Moved startsis to start. 1999-11-19 16:06:32 +00:00
Joel Sherrill
97c465c223 Minor cleanup to reduce the code space. 1999-11-18 21:30:12 +00:00
Joel Sherrill
4a238002e7 Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2
support to RTEMS.  Ralf's comments are:

    Changes:
    ------
    1. SH-Port:
    * Many files renamed.
    * CONSOLE_DEVNAME  and MHZ defines removed from libcpu.
    * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console
      applying VPATH.
    * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
    * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
    * -DHZ=HZ  used in bspstart.c, only
    * Makefile variable HZ used in bsp-dependent directories only.

    2. SH1-Port
    * clock-driver rewritten to provide better resolution for odd CPU
      frequencies. This driver is only partially tested on hardware, ie.
      sightly experimental, but I don't expect severe problems with it.
    * Polling SCI-driver added. This driver is experimental and completly
      untested yet. Therefore it is not yet used for the console (/dev/console
      is still pointing to /dev/null, cf. gensh1/bsp.h).
    * minor changes to the timer driver
    * SH1 specific delay()/CPU_delay() now is implemented as a function

    3. SH2-Port
    * Merged
    * IMO, the code is still in its infancy. Therefore I have interspersed
      comments (FIXME) it for items which I think John should look after.
    * sci and console drivers partially rewritten and extended (John, I hope
      you don't mind).
    * Copyright notices are not yet adapted
1999-11-18 21:22:58 +00:00
Joel Sherrill
5503d75c00 Corrected to include extra arguments for simulators on sparc
and powerpc targets.
1999-11-18 20:41:13 +00:00
Joel Sherrill
ea72a6c16c Corrected to remove references to non-existent subpackages. 1999-11-18 20:40:23 +00:00
Joel Sherrill
1479c223de Added code to set extra configure arguments for sparc and powerpc targets
such that the simulator is enabled.

Also corrected a typo which prevented the simulator files from being
included in the file list.
1999-11-18 20:38:27 +00:00
Joel Sherrill
97d7eaf83a Added ";;" to correct syntactical error. 1999-11-18 20:37:29 +00:00
Jennifer Averett
c38f5f162f Added EINVAL for passing a NULL pointer in. 1999-11-18 19:55:28 +00:00
Jennifer Averett
8c5cc6b250 Added test code for named semaphores and moved to use of directive_failed
family of macros to produce better checks and diagnostic messages.
1999-11-18 19:51:13 +00:00
Jennifer Averett
23168f53d0 Started to added POSIX message queue test code. 1999-11-18 19:50:45 +00:00
Jennifer Averett
105d787200 Added routine to remove an object from the namespace. It just clears
its name in the name_table.  This was required by the POSIX semaphore
and message queue managers which support a concept of open, close, and
unlink.  The object becomes "invisible" to further opens following an
unlink but all open sessions remain active until they are closed.  This
requires that the removal of an object ID be separate from the removal
of its name.
1999-11-18 19:50:15 +00:00
Jennifer Averett
17879f4750 + Debuged to the point that you could open, unlink and close a semaphore.
but all paths have not been checked, yet.
1999-11-18 19:43:13 +00:00
Jennifer Averett
c9ae846b0e Added a routine to remove a semaphore name from its namespace. 1999-11-18 19:41:34 +00:00
Joel Sherrill
f811c8e2a2 Removed IT_COUNT since it was not used. 1999-11-18 17:05:44 +00:00
Joel Sherrill
dd9c6e0d50 Patch rtems-rc-19991117-0.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which corrects some configuration
problems and cleans up a few Makefile.in's.
1999-11-18 14:06:48 +00:00
Joel Sherrill
b7852c27b1 Patch rtems-rc-19991105-3.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which turns OPERATION_COUNT into a configure
time option.
1999-11-18 13:58:02 +00:00
Jennifer Averett
40fe60a3cb Comment added. 1999-11-17 20:44:13 +00:00
Joel Sherrill
4ea3e14ce6 changed version to 19991117 1999-11-17 18:59:02 +00:00
Joel Sherrill
e172d36cee changed version to 19991117 1999-11-17 18:42:21 +00:00
Joel Sherrill
5f577302b4 Removed reference to Jennifer. 1999-11-17 18:39:07 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
20f54e96e3 Removed as part of patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-17 17:48:25 +00:00
Joel Sherrill
39827cc0de Now allows override of base address via -Ttext command to linker. 1999-11-17 17:31:51 +00:00
Jennifer Averett
d2b8d742be + Updated copyright information. 1999-11-17 16:58:04 +00:00
Jennifer Averett
9d9a3dd8d3 + Updated copyright information. 1999-11-17 16:47:58 +00:00
Joel Sherrill
ce8cd34e34 New date. 1999-11-17 15:52:26 +00:00
Joel Sherrill
368d9a3463 changed version to 19991117 1999-11-17 15:51:39 +00:00
Joel Sherrill
23d9392f69 New file documenting the on board monitor (PPCBUG) configuration used
to be able to boot the archives located in powerpc-rtems/c/mcp750/bin.
This information was provided by Eric Valette <valette@crf.canon.fr>
1999-11-17 15:42:18 +00:00
Joel Sherrill
0d523caf97 Patch rtems-rc-19991105-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
His comments follow:

  This is a minor enhancement to shgen, which should not have any
  side-effects.
1999-11-17 15:36:57 +00:00
Joel Sherrill
2d8a4ed0d6 Conditionally take out the offensive pragma pack when on RTEMS in addition
to UnixWare (UW).
1999-11-17 15:32:30 +00:00