Commit Graph

2784 Commits

Author SHA1 Message Date
Joel Sherrill
70af0ea116 Don't look at the object information structure for threads/tasks
for APIs that are not configured.  This resulted in weird behavior
when ITRON was disabled on some targets.
2000-01-10 18:47:58 +00:00
Joel Sherrill
f983d571ab Patch rtems-rc-20000104-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes some PowerPC specific bugs.
2000-01-10 18:16:59 +00:00
Joel Sherrill
89703c313a Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to make sure
RTEMS_TM27 is defined before the bsp.h is included.
2000-01-10 18:16:22 +00:00
Joel Sherrill
362ec23ed7 Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which converts the PowerPC BSPs to configuration and more automake.

    * Besides adding partial automake support, rsp converting all powerpc
      BSPs to make them compliant to the new configuration scheme, this patch
      attempts to fix several configuration bugs in powerpc related Makefiles.
2000-01-10 18:10:59 +00:00
Joel Sherrill
94a86c40e2 Per suggestions of Eric Valette <valette@crf.canon.fr> and Jay
Kulpinski <jskulpin@eng01.gdds.com>, the bsp_specs now defines
USE_ENHANCED_INTR_API and powerpc/shared/include/bsp.h uses that
to enable its tm27 support.
2000-01-10 15:18:20 +00:00
Joel Sherrill
6e7b6cab8d Fixed unterminated comment spotted by eagle eye Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-01-10 15:03:28 +00:00
Joel Sherrill
bc2f04f8a8 Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does the following:

  * some cleanups, fixes, addtions to the libbsp automake transition
    patches
  * The missing Automake transistion patches all libcpu/<cpu>/<variant>/*
    previously not yet been converted to automake (libcpu/powerpc,
    libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)

  => With this patch, libcpu/*/* is under full automake control.

  NOTES:
  * This patch is tested by building for random set of bsps affected by
    this patch, but not tested for all BSPs.
  * The parts of this patch related to libcpu/powerpc fix many small bugs
    inside of those Makefiles.
  * Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape,
    IMO. Obviously most subdirectories seem to be build but are not included
    into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this
    cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a
    different directory layout than all other powerpc/<variant>/
    directories.

    Joel's note:  I agree but the issue is that there is a conflict between
    including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
    a BSP specifically decide to pick it up.  There is no clear solution
    to this at the moment.
2000-01-10 14:50:45 +00:00
Joel Sherrill
5fa147949d Patch rtems-rc-20000104-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the i386 directory to automake.

NOTE: Ralf is unable to build any i386 BSPs.  This was true before and
after this patch and appears (to Joel) to be a tool issue unrelated since
others can build i386 BSPs.
2000-01-10 14:31:16 +00:00
Joel Sherrill
7068e2465b Patch rtems-rc-20000104-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the m68k directory to automake.

    NOTE: This one is fully tested by building *all* bsps with
        ../../rtems-rc-20000104/configure \
            --target=m68k-rtems \
            --prefix=/tmp/rtems \
            --enable-cxx \
            --disable-posix \
            --enable-rdbg \
            --disable-networking \
            --enable-maintainer-mode \
            --enable-multiprocessing \
            --disable-tests
       make
2000-01-10 14:29:44 +00:00
Joel Sherrill
53ab4823e0 Patch rtems-rc-20000104-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the hppa1.1 directory to automake.

    NOTE:
        * Due to not having a toolchain (gcc refuses to build) this patch is
          untested.

        * I omited/deactivated the pxfl subdirectory, because I don't
          understand how it supposed to work.

    Joel's note: It was right to ignore the pxfl directory.  It should be
    removed one the BSPs are moved outside the tree.  This was an old hack.
2000-01-10 14:23:56 +00:00
Joel Sherrill
4200321a63 Patch rtems-rc-20000104-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.
2000-01-10 14:17:28 +00:00
Joel Sherrill
1597ab4a9d Patch rtems-rc-20000104-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.
2000-01-10 14:17:27 +00:00
Joel Sherrill
59909bf4a0 Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the i960 directory to automake.

    The same kind of libbsp configuration as for the mips64orion, now for
    the i960.

    In addition to libbsp configuration this patch also contains two fixes
    for cvme961.cfg and rxgen960.cfg, which contained non-functional
    make-exes. (Now both bsps probably have the same issues with linking c++
    applications as the gensh2 has, but this is a different open issue not
    tried to be solved now).

    The rxgen961 also seems to have problems with its start file, because
    linking apps fails due to not finding start.o. (Note that
    libbsp/i960/rxgen960 lacks a start subdirectory!). I leave solving this
    issue to you :)
2000-01-10 14:09:12 +00:00
Joel Sherrill
d0a8b4b880 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.
2000-01-10 14:07:00 +00:00
Joel Sherrill
82f1f6dd8d Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.
2000-01-10 14:06:59 +00:00
Joel Sherrill
0cbfa283b9 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the no_cpu directory to automake.
2000-01-10 14:04:50 +00:00
Joel Sherrill
1e562da69e Patch rtems-rc-20000104-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the no_cpu directory to automake.
2000-01-10 14:04:49 +00:00
Joel Sherrill
49e05f4131 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the unix directory to automake.

Ralf's note:  Please check c/src/lib/libbsp/unix/posix/startup/Makefile.am.
I am not sure if it is correct.
2000-01-10 14:03:32 +00:00
Joel Sherrill
1072609587 Patch rtems-rc-20000104-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the sparc directory to automake.

Ralf's note:  The implementation of libbsp/sparc/* gives a nearly minimal
example of the new configuration scheme.
2000-01-10 13:59:35 +00:00
Joel Sherrill
94608578a2 Patch rtems-rc-20000104-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts nearly all of libbsp/sh to automake.  Comments follow:

    1. Almost full automake support for the libbsp/sh/ subdirectories
       (exception libbsp/sh/gensh*/wrapup/*)
    2. Fixes for libbsp/bare/*
    3. Updates to libbsp/* configuration which supports old (autoconf/deep
       configuration) and new (automake/flat/cascaded configuration) style
       configuration of libbsp/<cpu>/*
2000-01-10 13:56:35 +00:00
Joel Sherrill
338f1dc186 Patch from Eric Valette <valette@crf.canon.fr> that makes sure the
interrupt code works on "old buggy MCP750 boards".  The symptom was
that there was no ethernet PCI IRQ at all.
2000-01-10 13:26:00 +00:00
Joel Sherrill
1d54d3b5af Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs.  In addition, it can support many
Motorola PowerPC based VME and PCI boards.
2000-01-07 20:39:45 +00:00
Joel Sherrill
35d9acb36e Patch from John M. Mills <jmills@tga.com> to correct the baseline
serial drivers used in the 'gensh2' BSP for the Hitachi sh7045 CPU.
2000-01-07 18:52:14 +00:00
Joel Sherrill
09e0df6766 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that corrects a
patch from Emmanuel Raguet <raguet@crf.canon.fr>.  Emmanuel's patch
was against the Makefile.in's generated from the Makefile.am's
patched in this file.
2000-01-07 14:54:59 +00:00
Joel Sherrill
c3538f33cc Patch from Emmanuel Raguet <raguet@crf.canon.fr> which corrects the following
problems:

  - unclosed comment in pc386/start/start16.S
  - bad #endif in pc386/startup/ldseg.S
2000-01-07 14:52:48 +00:00
Joel Sherrill
0ff37e6866 Patch rtems-rc-20000104-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which is described below:

    This one is a (minor) patch in preparation of the upcoming patches. It
    actually is an excerpt of the upcoming patches and therefore is
    completely untested in this standalone form, but I don't expect it to
    break something.

    The essential changes in this patch are:
        * An update to rtems-polish.sh (Now can also be run in subdirectories)
        * A bug-fix for the libcpu/powerpc (A directory was missing from
          SUBDIRS in a Makefile.am)
        * An update to gensh2.cfg.
        * Cleanups/Enhancements to configuration files

    To apply:
        cd <srcdir>
        patch -p0 < rtems-rc-20000104-0.diff
        cvs rm -f c/src/lib/libbsp/Makefile.am.new
2000-01-07 14:47:02 +00:00
Joel Sherrill
98c875a15b Initialize the attributes structure. Random data was causing the test
to fail sporadically.
2000-01-06 22:44:27 +00:00
Joel Sherrill
89184f94db Corrected spacing. 2000-01-06 15:31:24 +00:00
Joel Sherrill
bd177b7bea Fixed comment. 2000-01-06 15:20:53 +00:00
Joel Sherrill
0312d81f38 Fixed comment thanks to John M. Mills <jmills@tga.com>. 2000-01-05 23:01:05 +00:00
Joel Sherrill
5870ac5567 Added support for simple binary semaphores in addition to the high
power binary/mutex style semaphores already supported by RTEMS.  This
was done at the request of Eric Norum <eric@cls.usask.ca> in support
of his effort to port EPICS to RTEMS.  This change consisted of
changing the nesting_allowed boolean into a lock_nesting_behavior
enumerated value as well as allowing the core mutex object to optionally
support ensuring that the holder of a binary semaphore released it.
Finally, a more subtle enhancement was to allow the non-holder to release
a priority inheritance/ceiling mutex and still allow the holding task
to return to its original priority.
2000-01-05 22:19:21 +00:00
Joel Sherrill
5283cc823d Updated to reflect a time that had previously been left out due to
an array sizing coding error.
2000-01-05 22:15:47 +00:00
Joel Sherrill
27f096634a Screen updated since test runs. 2000-01-05 22:15:16 +00:00
Joel Sherrill
4bcbf89c16 Was not actually installing the test. 2000-01-05 22:14:42 +00:00
Joel Sherrill
28adcfd9ec Added message priority parameter returned by core support routine. 2000-01-05 22:14:09 +00:00
Joel Sherrill
c0d405ca01 Added new message priority parameter as returned by core support routine. 2000-01-05 22:13:15 +00:00
Joel Sherrill
fc20c5398b Increased stack space. 2000-01-05 22:09:36 +00:00
Joel Sherrill
f49aaf18b8 Updated to reflect change in object class numbering due to ITRON API
addition.
2000-01-05 22:06:30 +00:00
Joel Sherrill
280c4ca921 Corrected test and screen to reflect implementation working. 2000-01-05 22:03:44 +00:00
Joel Sherrill
5cffd6406b Changed screen to reflect change in object class numbers with ITRON
addition.
2000-01-05 22:03:27 +00:00
Joel Sherrill
3a8b95e207 Spacing corrected. 2000-01-05 21:32:57 +00:00
Joel Sherrill
54a5ee75d4 Corrected so header message is printed. 2000-01-05 20:51:45 +00:00
Joel Sherrill
66fe6be6cd patch from Eric Norum <eric@cls.usask.ca> as follows:
At the request of kjoutwater@west.raytheon.com I'm submitting the
    following patch.

    c/src/lib/libbsp/m68k/gen68360/console/console.c
        Allow console baud rate to be set by debugger/downloader.

    c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
        Add support for generic 68360 with static RAM.
2000-01-05 18:40:20 +00:00
Joel Sherrill
6940545972 Patch from Eric Norum <eric@cls.usask.ca> as follows:
At the request of kjoutwater@west.raytheon.com I'm submitting the
    following patch.

    c/src/lib/libbsp/m68k/gen68360/console/console.c
        Allow console baud rate to be set by debugger/downloader.

    c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
        Add support for generic 68360 with static RAM.
2000-01-05 18:40:14 +00:00
Joel Sherrill
db6ec79e6c Fixed recursive release for mutexes with nesting allowed. 2000-01-05 18:30:09 +00:00
Joel Sherrill
f388d36d84 Now print strings -- not error numbers. 2000-01-05 18:17:01 +00:00
Jennifer Averett
99e7ab890b + Added tests for open, close, unlink, and send. 2000-01-05 17:21:12 +00:00
Jennifer Averett
b302d527c7 + Added return priority from message seize.
+ Changed priority to be based off of min and max int.
2000-01-05 17:20:07 +00:00
Jennifer Averett
466b8882ce Added the recording of the submit type. 2000-01-05 17:18:51 +00:00
Jennifer Averett
58243b42f5 + Added return of the message priority. 2000-01-05 17:18:08 +00:00