Commit Graph

1766 Commits

Author SHA1 Message Date
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
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
20ad9e9d93 New network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>. 1998-11-23 14:28:09 +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
06fee20ac1 changed version to 4.0.0-AFCC 1998-10-29 22:25:53 +00:00
Joel Sherrill
a47bd655a1 Cleanup. 1998-10-29 17:10:02 +00:00
Joel Sherrill
22fa583204 Patch from Ian Lance Taylor <ian@airs.com>:
The RTEMS i386 stub in
        c/src/lib/libbsp/i386/shared/comm/i386-stub.c
    doesn't take advantage of some of the newer gdb remote features which
    permits shorter and fewer packets.

    Here is a patch which uses the 'T' response to report the registers
    which gdb generally needs, and implements the 'P' request to set only
    a single register.  The general effect is to avoid sending all the
    register contents back and forth between gdb and the stub every time
    the stub stops.  This also implements the 'D' request which handles
    the gdb detach command, so you can cleanly quit out of the debugger
    and leave the target board running.
1998-10-28 19:41:06 +00:00
Joel Sherrill
b4e3b2bd68 Patch from Ian Lance Taylor <ian@airs.com>.
I just happened across the sync_io support in
        c/src/exec/score/cpu/unix/cpu.c
    (is this documented anywhere?).  That looked more useful than the
    signal driven I/O I was using before, so I tried it.  I ran across a
    few bugs in the way it uses select.

    Select changes its fd_set arguments, so you can't use global variables
    for them.  You have to copy them into local variables first.

    If select returns -1 with errno set to EINTR, then it has not changed
    any of the fd_sets.  You can't start looking at them.

    When clearing a descriptor, the code has the usual select off by one
    error when setting sync_io_nfds.

    I don't see how this code could ever have worked correctly.

    I have appended a patch for the problems I found.
1998-10-28 19:25:12 +00:00
Joel Sherrill
692b9f7fdd Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs along
with libchip.
1998-10-28 19:17:16 +00:00
Joel Sherrill
e071364177 Removed per Eric Norum 1998-10-28 18:05:05 +00:00
Joel Sherrill
c19a48472f changed version to 4.0.0 1998-10-27 19:33:26 +00:00
Joel Sherrill
1e4f7ec647 Spacing. 1998-10-27 15:59:59 +00:00