Commit Graph
3915 Commits
Author SHA1 Message Date
Jennifer Averett 352d01e0d3 + Modified to correct return codes.
+ Removed extra flag attribute from message queue structure.
+ Yellow-lined all posix message queue routines.
2000-01-12 18:43:21 +00:00
Jennifer Averett 70329c80ea + Changed call from core flush to core close routine. This flushes waiting
queues as well as the messages.
2000-01-12 18:41:14 +00:00
Jennifer Averett 399ba0690c + Removed name validation code (this was already done in nametoid. 2000-01-12 18:40:18 +00:00
Joel Sherrill c1d2cc9ee7 Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12 17:58:34 +00:00
Joel Sherrill b2b4835718 Eric Norum <eric@cls.usask.ca> submitted linker script and bsp_specs
for the gen68360 that let it work with ELF and C++ exceptions.  This
was used as the basis for changes to EVERY m68k bsp_specs and linkcmds.
Before this modification is over, the layout of the starting stack,
heap, and workspace will likely be modified for every m68k BSP. Then
they will all be very similar.
2000-01-12 16:38:57 +00:00
Joel Sherrill 69537ca9ec Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12 16:38:56 +00:00
Joel Sherrill 1e1941129e Called symbol table ".nm" not .num like every other BSP. 2000-01-12 16:08:57 +00:00
Joel Sherrill 737a5992a3 Patch rtems-rc-20000104-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes the following problems:

  1. Removing bogus ';' in some configure.in (cosmetical fix)
  2. Moves GAS_CODE16 checks to libbsp/i386/*/configure.in (essential fix)

  #2 was responsible for the gcc/binutils-2.9.5 choking while building for
  the pc386.
2000-01-12 16:05:58 +00:00
Joel Sherrill 76c2b3546c File removed as it was not being used. 2000-01-11 19:09:24 +00:00
Joel Sherrill 0dd1d44582 Removed old hack of using Configuration Table entry ticks_per_timeslice
being set to 0 to indicate that there should be no Clock Tick.  This
was used by the Timing Tests to avoid clock tick overhead perturbing
execution times.  Now the Timing Tests simply leave the Clock Tick
Driver out of the Device Driver Table.
2000-01-11 17:34:20 +00:00
Joel Sherrill bdb289988a Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct macro
expansion.  These macros were modified to correct warnings and
obviously needed more parentheses to expand correctly.
2000-01-11 16:41:57 +00:00
Joel Sherrill 75582835c7 Fixed spacing. 2000-01-11 15:43:16 +00:00
Joel Sherrill e0c01614d9 This test was enhanced to test for the case in sigtimedwait() where it
must deal with a pending process oriented signal.  Prior to the addition
of this testcase, sigtimedwait() did not return properly when a process
oriented signal was pending.  The problem was reported by Wayne
Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:43:00 +00:00
Joel Sherrill 4fa5eaee52 This code did not return properly when a process oriented signal
was pending.  Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:42:05 +00:00
Joel Sherrill 86c9eb0e28 Bug fix from Wayne Bullaughey <wayneb@cacdsp.com> to use the complement
of the mask when disabling the interrupt.
2000-01-11 14:57:41 +00:00
Joel Sherrill 0f59d63f27 Now automake generated. 2000-01-10 21:38:43 +00:00
Joel Sherrill 710f76a831 Added mpc6xx/timer/Makefile. 2000-01-10 21:37:57 +00:00
Joel Sherrill 01ab701910 Accidentally deleted. 2000-01-10 21:36:34 +00:00
Joel Sherrill 19642e2cab Removed definition of USHRT_MAX to remove lots of redefinition warnings. 2000-01-10 21:22:23 +00:00
Joel Sherrill 6d3ab0ffdc Added pc486 and pc586 as aliases of pc386 with proper cpu flags. 2000-01-10 20:56:35 +00:00
Joel Sherrill 119204d80f Removed warning by changing %eax -> %ax as source of move to segment
registers.
2000-01-10 20:40:41 +00:00
Joel Sherrill c084f11df8 Added pc486 and pc586 to list. 2000-01-10 20:38:04 +00:00
Joel Sherrill f9bcb58da3 Corrected compilation problem in lgdt instruction. 2000-01-10 20:12:11 +00:00
Joel Sherrill f4d21dde83 Added include of <bsp/irq.h> per Jay Kulpinski <jskulpin@eng01.gdds.com>. 2000-01-10 19:07:40 +00:00
Joel Sherrill aa1d76ed8d Missed cleanup from Ralf Corsepius. 2000-01-10 18:56:10 +00:00
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 f9b48de90e Removed reference to Radstone PPCN. 2000-01-10 18:07:51 +00:00
Joel Sherrill 23527262bd Fixed comment. 2000-01-10 18:07:15 +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 d273d78ae6 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:51:56 +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