Commit Graph

2712 Commits

Author SHA1 Message Date
Joel Sherrill
b84176b49d Do not explicitly list pieces from libcpu used. 2000-01-03 15:36:18 +00:00
Joel Sherrill
32f19fb3ae Share align_h.S from ppc403. VPATH was not picking it up. Discovered
and reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de> on the mpc505.
2000-01-03 14:38:47 +00:00
Joel Sherrill
e07b6868b3 Added tm27 stuff. 2000-01-03 14:14:37 +00:00
Joel Sherrill
db94167039 Added define to trip items that are private to tm27 in bsp.h. 2000-01-03 14:14:24 +00:00
Joel Sherrill
95273a610f Combination of coverhd.h cleanup and MVME23xx/MCP750 patch from Eric Valette
<valette@crf.canon.fr> and Jay Kulpinski <jskulpin@eng01.gdds.com>.
2000-01-03 14:06:42 +00:00
Joel Sherrill
d5c4681e57 Use shared coverhd.h. 2000-01-03 14:04:22 +00:00
Joel Sherrill
203859574c Increased minimum stack size so all tests will run. 2000-01-03 14:01:02 +00:00
Jennifer Averett
6eb3e68012 + Tests added for mq_open, mq_close, and mq_unlink 1999-12-23 22:12:15 +00:00
Jennifer Averett
2e97c01e38 + Added routine to remove from namespace. 1999-12-23 22:11:01 +00:00
Jennifer Averett
afebb3fa2a + Added check for name greater than PATH_MAX 1999-12-23 22:10:13 +00:00
Jennifer Averett
7fbef78639 + Debugged. 1999-12-23 22:09:36 +00:00
Jennifer Averett
8f12d069bf + Filled in routine. 1999-12-23 22:08:43 +00:00
Jennifer Averett
96d4aea551 + Initial debug 1999-12-23 22:07:43 +00:00
Jennifer Averett
d4548d19b4 + Made work
+ Added checks for valid attribute maxmsg and msgsize
+ Added check for ENAMETOOLONG
1999-12-23 22:07:11 +00:00
Jennifer Averett
e1786ee363 + Fixed errno response to match the POSIX manual. 1999-12-23 22:05:25 +00:00
Joel Sherrill
2116e33c8e Reverted the delay logic. 1999-12-21 20:29:57 +00:00
Joel Sherrill
ed46b47fab Moved PPC_Set_decrementer() and PPC_Get_timebase_register() to
old_exception_processing tree.
1999-12-21 20:29:40 +00:00
Joel Sherrill
56018097d4 Now use coverhd.h out of the libbsp/shared directory. 1999-12-21 20:28:13 +00:00
Joel Sherrill
0d6f0b4e56 Now use shared coverhd.h 1999-12-21 20:10:04 +00:00
Joel Sherrill
5d807b5710 New files. 1999-12-21 17:06:31 +00:00
Joel Sherrill
a3ba9f9886 New file. 1999-12-21 17:05:15 +00:00
Joel Sherrill
8437abd4f0 Removed as part of moving this driver to libchip. 1999-12-21 16:56:31 +00:00
Joel Sherrill
400c55255d Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-12-21 16:20:38 +00:00
Joel Sherrill
fb16fed75a Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

    To apply:

        patch -p1 < rtems-rc-19991203-10.diff
1999-12-21 15:25:05 +00:00
Joel Sherrill
9ba1f0a79e Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which  ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

    To apply:
        patch -p1 < rtems-rc-19991203-9.diff
        ./bootstrap
1999-12-21 15:04:48 +00:00
Joel Sherrill
369ef189b2 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does minor cleanup  for Makefile.ams below mptests, which only
removes some bogus comments from the Makefile.ams.

To apply:
  patch -p1 < rtems-rc-19991203-8.diff
  ./bootstrap
1999-12-21 15:00:49 +00:00
Joel Sherrill
35d7b15cb0 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:41:43 +00:00
Joel Sherrill
5bce35ba29 Made prototype of ChapReceiveSuccess and ChapReceiveFailure match. 1999-12-21 14:37:31 +00:00
Joel Sherrill
0fe4834611 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:34:30 +00:00
Joel Sherrill
db3e01084a Patch rtems-rc-19991203-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a nasty dependency bug in optman/Makefile.am. Those
directories have been build twice before, i.e. re-running make after
having built rtems before, was rebuilding the files in optman/
directories.

    To apply:
        patch -p1 < rtems-rc-19991203-6.diff
        ./bootstrap
1999-12-21 14:32:00 +00:00
Joel Sherrill
8b9128277d Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which cleans up and merges some Hitachi SH-2 modifications from
John Mills <jmills@tga.com>.
1999-12-21 14:27:52 +00:00
Joel Sherrill
3ad7602ef2 Modifications to avoid having the size of the Buffer_addresses array
too small when OPERATION_COUNT is less than 10.
1999-12-20 15:21:31 +00:00
Joel Sherrill
947c27aaad Spelling error corrected. 1999-12-16 14:30:34 +00:00
Joel Sherrill
f09ac26862 More warnings removed after email with Emmanuel Raguet. 1999-12-14 13:30:50 +00:00
Joel Sherrill
e8918ec371 Patch from Eric Norum <eric@cls.usask.ca> to change to gen68360 clock handling.
I got tired of having strange clock rates (e.g. #define
    CONFIGURE_MICROSECONDS_PER_TICK 52489) and drifting times-of-day with
    the gen68360 BSP so I changed the way the programmable-interval clock
    interrupt works.  The new version will have some jitter in the intervals
    between individual calls to the rtems_clock_tick routine, but the
    long-term average will match the CONFIGURE_MICROSECONDS_PER_TICK
1999-12-13 22:12:03 +00:00
Joel Sherrill
c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill
da8ae79b3e Warning removal patch from Philip A. Prindeville <philipp@zembu.com>. 1999-12-13 21:21:31 +00:00
Joel Sherrill
1c98d28cb7 Patch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> which
fixes some problems:

    I found the problem which prevented opening 'dev/sci1' (the default
    console) with the 'gensh2' (sh7045) BSP. Both SCI ports were being
    initialized against the same minor device number: '0'. When I tried to
    open minor-device '1', it naturally crashed. Fixing that one value in the
    'sci_device[]' array solved the problem and allowed 'hello.exe' to run.
1999-12-13 20:35:09 +00:00
Joel Sherrill
f9669ce59e Patch from Silverio Diquigiovanni <silverio.di@qem.it> to correct
TPC values.  Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
who originally submitted the file.
1999-12-13 20:06:27 +00:00
Joel Sherrill
fc0b91c5d5 Patch from Eric Norum <eric@cls.usask.ca> to make the NTP handler a little
more flexible about the error status returned from a timeout.
1999-12-13 19:20:38 +00:00
Joel Sherrill
5dae90a524 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 17:37:25 +00:00
Joel Sherrill
6b79a071de Patch from Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> to
use correct ifdef conditional (__GNUC__ not __GCC__).
1999-12-13 17:22:18 +00:00
Joel Sherrill
809f445197 Correction from Eric Norum for timeout in TFTP driver following bug
report by Nick.SIMON@syntegra.bt.co.uk:

TFTP uses UDP and UDP packets are prime targets for getting dropped when
the network gets busy.  I want the number of retries quite large in my
application. I see that PACKET_REPLY_MILLISECONDS is, in fact, not
being used.
1999-12-13 17:03:37 +00:00
Joel Sherrill
9537e5ec77 Patch from Eric Norum <eric@cls.usask.ca> to provide more network
functionality.  This puts RTEMS in near compliance with the network
functionality defined in the first draft of the EL/IX API.  Comments
follow:

    With the attached changes to the libnetworking/libc/Makefile.in, RTEMS
    provides all the functions listed in section 4.14 of the EL/IX document
    except:
        socketpair
        if_nametoindex
        if_indextoname
        if_nameindex
        if_freenameindex

    Some of the routines which get information from files may be of limited
    use unless an application sets up the files somehow (TFTP/untar from
    host, etc.), but at least RTEMS is pretty much fully buzzword compliant
    with the networking section of the EL/IX API.
1999-12-13 16:29:01 +00:00
Joel Sherrill
38b81b5d29 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct some problems
in the dec21140 driver.  Comments follow:

    I have tried to use bootp with the dec21140 driver
    and I had problems. I have found them
         - Ethernet address must be known in Attach step
           (read from the board)
         - Endian problem for Ethernet address storage.

    Now it is solved and I can use bootp to obtain
    the network configuration of the target.
1999-12-13 16:25:03 +00:00
Joel Sherrill
4bdebdfe38 Patch rtems-rc-19991203-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>"""
which is an adaptation of a patch from Ian Lance Taylor plus a few
other changes that should significantly speed up building librtemsall.a.
1999-12-13 16:16:44 +00:00
Joel Sherrill
ad0c286463 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 16:02:57 +00:00
Joel Sherrill
fa178d4926 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 15:57:41 +00:00
Joel Sherrill
d16faa2e60 Patch rtems-rc-19991203-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to correct the missing part of the mcp750 patch.
1999-12-13 15:54:23 +00:00
Joel Sherrill
7d91d722ba First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore.  This is at the request of Eric Norum
and his EPICS porting effort.
1999-12-13 15:29:20 +00:00