Commit Graph

2373 Commits

Author SHA1 Message Date
Joel Sherrill
a3d0b8a79a Patch from Ian Lance Taylor <ian@airs.com>:
From: Eric Norum <eric@skatter.usask.ca>
   Date: Sat,  5 Dec 98 13:20:51 -0600

   What do you think of this patch?  It implements your `tap'
   suggestion in a way that adds support for all ethernet devices with
   no driver modifications.  I also added a return value from the tap
   function.  If the return value is zero, the packet will be passed up
   the chain as usual.  If the return value is non-zero the mbuf holding
   the packet will be freed and the packet will be dropped.

   If you like it, please submit it to Joel.

   I guess there needs to be an addition to the network documentation
   describing the additional ioctl's -- and a big warning that the tap
   function is called from a context that holds the network semaphore.

   Here is Eric's patch.  I've tested it a bit, and made a couple of
   trivial changes.  This is certainly better than mine: it should work
   for all Ethernet drivers.
   ==================================================

   The only concern I have about this patch is that the tap function may
   want to fiddle with the mbuf, calling functions like m_pullup and the
   like.  If those force the networking code to rearrange the mbuf
   structure, then the caller's call to m_freem may crash.  I don't know
   if this is a realistic concern--I don't know enough about the mbuf
   layer.
1998-12-10 19:42:29 +00:00
Joel Sherrill
2ffe30d2a1 Patch from Ian Lance Taylor <ian@airs.com>:
This patch avoids a warning from the development version of gas.
1998-12-07 17:45:48 +00:00
Joel Sherrill
91b1c8e69e Patch from Ian Lance Taylor <ian@airs.com>:
RTEMS permits using the SO_SNDTIMEO and SO_RCVTIMEO socket options to
    set a timeout for most socket I/O operations.  However, in RTEMS
    4.0.0, those options do not affect connect or accept.  I don't know of
    any way to put a timeout on those calls in RTEMS 4.0.0; can anybody
    point to one.

    Since it is frequently useful to have a timeout on accept, and
    sometimes useful to have a timeout on connect shorter than the BSD
    system default of 75 seconds, the following patch causes SO_RCVTIMEO
    to affect connect and accept.
1998-12-07 17:42:52 +00:00
Joel Sherrill
e203c04bff changed version to 19981203 1998-12-04 02:00:53 +00:00
Joel Sherrill
4721cf1ecb Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add remote debug server
and RPC support to RTEMS.  Thanks. :)  Email follows:

    Hello,

    For Xmas, here is the Remote Debugger on RTEMS !

    Here are 2 patches for the Remote Debugger on RTEMS for pc386 from Linux
    host :

     - one for RTEMS it self,
     - one for GDB-4.17.


    1/ RTEMS patch
    --------------

    This patch adds 2 libraries :
     - a simplified SUN RPC library
     - the Remote Debugger library

    The configuration command is the following :
    ../rtems4/configure --target=i386-rtemself --enable-rtemsbsp=pc386
    --enable-rdbg

    The SUN RPC library is built only if networking is set.
    The RDBG library is built if networking and enable-rdbg are set.

    The function used to initialize the debugger is :
            rtems_rdbg_initialize ();

    A special function has been created to force a task to be
    in a "debug" state : enterRdbg().
    The use of this function is not mandatory.



    2/ GDB-4.17 patch
    -----------------

    This patch create a new RTEMS target for GDB-4.17.

    The configuration command is the following :
    ./configure --enable-shared --target=i386RTEMS

    To connect to a target, use :
      target rtems [your_site_address]

    Then, attach the target using : attach 1

    And... Debug ;)

    You can obtain the original GDB-4.17 on
    ftp://ftp.debian.org/debian/dists/stable/main/source/devel/gdb_4.17.orig.tar.gz

    This has been tested from a Debian 2.0.1 linux host.
1998-12-03 23:54:14 +00:00
Joel Sherrill
cd155bec6f Removed spaces. 1998-12-03 23:02:24 +00:00
Joel Sherrill
41616f6513 Changed to account for ownership only being tracked when a priority
blocking protocol is used.
1998-12-03 23:01:22 +00:00
Jennifer Averett
6afa6e3996 Removed all ^M from the file. 1998-12-03 22:45:57 +00:00
Jennifer Averett
dc8acc140c Added psx to the front of all test names. 1998-12-03 22:45:45 +00:00
Jennifer Averett
0422a7a55d Removed all ^M from the scn file. 1998-12-03 22:42:13 +00:00
Jennifer Averett
c2f9b97543 Cleaned up test.
Updated scn files to match present expected test output.
1998-12-03 22:41:57 +00:00
Jennifer Averett
5b8e885dd7 Added Comment that a result is valid at 4 or 5 seconds. 1998-12-03 22:41:33 +00:00
Jennifer Averett
fae441bd9b Updated scn files to match present expected test output. 1998-12-03 22:41:20 +00:00
Jennifer Averett
f98db20fb3 Renamed all directories to start with psx. 1998-12-03 22:41:01 +00:00
Jennifer Averett
b81eeb35cd Added a posix time test.
Renamed all directories to start with psx.
1998-12-03 22:40:39 +00:00
Jennifer Averett
a4e2f08c25 Added imfs_fdatasync routine that gets called from both fdatasync and datasync. 1998-12-03 22:19:06 +00:00
Jennifer Averett
49629bd8cb Added a imfs fdatasync routine that gets called for fdatasync and datasync. 1998-12-03 22:17:46 +00:00
Jennifer Averett
5822f437a1 Added source for F_DUPFD. 1998-12-03 22:17:26 +00:00
Jennifer Averett
7a3878b26f Modifications for RTEMS_UNIX. 1998-12-03 22:17:13 +00:00
Jennifer Averett
af73d86f64 Added a imfs fdatasync routine that gets called for fdatasync and datasync.
Modifications for RTEMS_UNIX.
1998-12-03 22:16:55 +00:00
Joel Sherrill
146263fdc7 Modified to support test names longer than two characters plus the
test suite designator.  In English, we now support psxfile in addition
to psx11.
1998-12-03 21:58:53 +00:00
Joel Sherrill
012bb569b3 Insure that the same output occurs when multiprocessing is disabled. 1998-12-03 21:57:50 +00:00
Joel Sherrill
6b9450d1a6 Moved cpuuse.h to rtems subdirectory. 1998-12-03 21:56:10 +00:00
Joel Sherrill
31bce9b765 Moved stackchk.h to rtems subdirectory. 1998-12-03 21:55:33 +00:00
Joel Sherrill
347e40d61d Increased default amount of RAM. 1998-12-03 21:54:30 +00:00
Joel Sherrill
1aa9876c05 Removed reference to stackchk.h. 1998-12-03 21:54:09 +00:00
Joel Sherrill
478b86fa2f Don't build libchip if we are targetting UNIX. 1998-12-03 21:53:42 +00:00
Joel Sherrill
ed0e74e79b Corrected spacing. 1998-12-03 21:53:25 +00:00
Joel Sherrill
fdd9fe17bb Corrected ifdef on RTEMS_MULTIPROCESSING so the queue is actually closed. 1998-12-03 21:52:20 +00:00
Joel Sherrill
42b65db0c8 Removed reference to libpurify. 1998-12-01 13:57:15 +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
76f786476c changed version to 4.0.0-RADSTONE 1998-11-25 18:09:26 +00:00
Joel Sherrill
8f30e3ee91 First Cut at Hitachi SH. 1998-11-25 16:25:12 +00:00
Joel Sherrill
f48b100053 New files copied from template and personalized. 1998-11-23 22:09:47 +00:00
Joel Sherrill
d1ee44e927 New files added as part of file system infrastructure effort. 1998-11-23 19:39:45 +00:00
Joel Sherrill
07a3253de2 Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface.  This base file system is
the "In-Memory File System" aka IMFS.

The design and implementation was done by the following people:

  + Joel Sherrill (joel@OARcorp.com)
  + Jennifer Averett (jennifer@OARcorp.com)
  + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com)
  + Kerwin Wade (wade@OARcorp.com)

PROBLEMS
========
  + It is VERY likely that merging this will break the UNIX port.  This
    can/will be fixed.

  + There is likely some reentrancy/mutual exclusion needed.

  + Eventually, there should be a "mini-IMFS" description table to
    eliminate links, symlinks, etc to save memory.  All you need to
    have "classic RTEMS" functionality is technically directories
    and device IO.  All the rest could be left out to save memory.
1998-11-23 19:07:58 +00:00
Joel Sherrill
cd3fb80a26 Added new tests in support of the file system infrastructure. 1998-11-23 18:58:48 +00:00
Joel Sherrill
0895bdb89c Added tests in support of the file system infrastructure. 1998-11-23 18:57:48 +00:00
Joel Sherrill
2a7920b58f Removed. 1998-11-23 18:37:37 +00:00
Joel Sherrill
6e46f4e1f8 Upped the memory to 8 Mbytes. 1998-11-23 18:35: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
967f3aaa0c Added networking. 1998-11-23 16:38:28 +00:00
Joel Sherrill
35e5ae647b Removed "HAS_NETWORKING=no". 1998-11-23 16:38:13 +00:00
Joel Sherrill
20ad9e9d93 New network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>. 1998-11-23 14:28:09 +00:00
Joel Sherrill
588b68976f Bug report from Peter Mueller <pmueller@decrc.abb.de>:
I use the m68k/efi332 BSP together with a home made board. After some
  time of debugging I found  that the m68020 CPU is used to build rtems.
  This is not correct, because the 68332 does not have some of the 68020
  features (no separate int stack ...). It is necessary to change this to
  mcpu32. After a clean/make everything works fine.
1998-11-19 21:57:39 +00:00
Joel Sherrill
8a9caa03d9 Renamed exception constants per requests from Erik Ivanenko
<erik.ivanenko@utoronto.ca> and Eric Valette <valette@crf.canon.fr>.
1998-11-19 20:23:34 +00:00
Joel Sherrill
2e26bbd059 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is a cosmetic patch which corrects a few spelling problems in parts
  written by me.

  Apparently, I must have written these under the influence of ether (:-)
1998-11-19 20:09:01 +00:00
Joel Sherrill
847375f3ad Patch from Eric Norum <eric@skatter.usask.ca>:
1) Socket timeout field changed from `short' to `long'.  This makes longer
       timeouts possible.  With a 1 kHz system clock the old system allowed
       timeouts only up to a little over 30 seconds!  This change is a
       slightly cleaned-up version of the patch proposed by Ian Lance Taylor.

    2) Major changes to BOOTP/DHCP reply handling.  Now supports much of
       RFC2132.  These changes were done at the request of, and with the
       assistance of, Erik Ivanenko.

    If you're making changes, you might want to change the network
    supplement  Essentially just do a global search and replace of BOOTP
    with BOOTP/DHCP.
1998-11-19 17:35:49 +00:00
Joel Sherrill
df4eb76e52 Changed BOOTP -> BOOTP/DHCP. 1998-11-19 17:08:20 +00:00