Commit Graph

2666 Commits

Author SHA1 Message Date
Joel Sherrill
fa8f29d2ef Fixed target name. 1999-04-02 17:59:23 +00:00
Joel Sherrill
02b7a13e90 Added Network Servers Chapter including Jake Janovetz's ftpd server. 1999-04-02 17:58:57 +00:00
Joel Sherrill
65beca61d4 Now at least a version of the figures shows up in the html although
there are no captions.
1999-04-02 17:41:37 +00:00
Joel Sherrill
64e0f6c40c Can now produce html, info, and PostScript without errors. Links
between chapters are correct.
1999-04-02 17:23:36 +00:00
Joel Sherrill
5a8e90c56f Accidentally added the .tex file not the .texi root document.
Also the Makefile had "@include" lines in it.
1999-04-02 17:07:33 +00:00
Joel Sherrill
bea606aee5 New files. This manual was ritten by Eric Valette <valette@crf.canon.fr>
and Emmanuel Raguet <raguet@crf.canon.fr>.  It was submitted in LaTeX
and converted to Texinfo by Joel.  At this point, the figures are
largely ignored except to put in an example block to show they are
missing.

The Makefile should be just enough to produce output with no links between
chapters.
1999-04-02 17:04:27 +00:00
Joel Sherrill
85e24a3237 Patch from Emmanuel Rauget (raguet@crf.canon.fr) to add a htons on the
sin_port.
1999-04-02 14:39:19 +00:00
Joel Sherrill
5345873a5b New file. Text from Jake Janovetz. 1999-04-01 21:43:50 +00:00
Joel Sherrill
f72dd2a9fa Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address problems
on BSPs that install there own tools.
1999-04-01 16:58:06 +00:00
Joel Sherrill
517660f192 Moved sparc specific version of in_cksum_hdr to an inline routine like
the reset of the CPU specific implementations after comment from
Eric Norum.
1999-04-01 16:36:22 +00:00
Joel Sherrill
5eb7da97cd Disable IXON by default based on comment from Eric Norum
<e.norum@sk.sympatico.ca> and concerns from Thomas Doerfler
<td@imd.m.ISAR.de> when he submitted the patch:

  Since enabling XON/XOFF has such a major performance hit on `smart' output
  devices I think it should be *off* by default.  I think some thought should
  be given to adding hooks for hardware that can support XON/XOFF without
  software intervention, or for hardware like the 68360 SCC's that can use
  large buffers, but still handle special characters immediately.

  The patch you sent is a very good start, though.  I just think that the
  software flow control should be off -- to match the way the serial I/O
  support has worked up until now.
1999-04-01 16:20:03 +00:00
Joel Sherrill
656dabf1fa Removed warning. 1999-04-01 15:51:14 +00:00
Joel Sherrill
414e1b30d0 changed version to 19990331 1999-03-31 23:56:34 +00:00
Joel Sherrill
77a0067335 changed version to 199900331 1999-03-31 23:36:18 +00:00
Joel Sherrill
18040d302c Patch from Thomas Doerfler <td@imd.m.ISAR.de> to add flow control:
Some lines for "documentation":
    ======================================
    One thing should be noted: when XON/XOFF is enabled, the serial
    device will always work with one-character buffers, so the interrupt
    load for the CPU might get higer, especially on devices like MC68360
    and MPC860, where the serial channels are capable of using big
    buffers. But, once again, this only happens when XON/XOFF is actually
    selected.

    Please note that the flag IXON is set by default, so outgoing
    XON/XOFF flow control is enabled by default.

    XON/XOFF is controlled using the "standard" fields IXON/IXOFF in the
    termios structure. The termios flag IXANY is not (yet) supported.

    Hardware handshake for the incoming data stream is controlled using
    the standard flag CRTSCTS. If this flag is set, whenever the receive
    buffer is almost full, the driver function "device.stopRemoteTx()" is
    called, when the receive buffer has more space available,
    "device.startRemoteTx()" is called again.  If the driver does not
    provide these interface functions (entries in device structure are
    NULL pointers), then these calls are suppressed.

    Changes of the flow control options during operation should work at
    any time, but this has not been extensively tested.

    No changes to the device driver interface are needed.
    ================================================

    One critical point when using this patch might be, that any BSP using
    this version of termios will now have outgoing flow control enabled
    by default, so the behaviour of these BSPs will change here. The
    option IXON has already been set in older termios by default, but it
    did not work until this patch. Maybe this option should be switched
    off by default, what do you think?
1999-03-31 23:35:22 +00:00
Joel Sherrill
ecab6a3917 Regenerated. 1999-03-31 23:29:19 +00:00
Joel Sherrill
79800f9ee5 Fixed include file paths. 1999-03-31 23:27:03 +00:00
Joel Sherrill
c08f283ea0 Fixed typo so applications would link. 1999-03-31 23:25:53 +00:00
Jennifer Averett
ec2328eeaf Removed asserts that shouldn't be called and commented case where this
indicates an internal error.
1999-03-31 23:24:57 +00:00
Joel Sherrill
8cc57f626b Modified to be valid m68k code on all CPU models. 1999-03-31 23:24:51 +00:00
Jennifer Averett
f719ef12ff Corrected return value. 1999-03-31 23:23:52 +00:00
Jennifer Averett
3f06c298b4 Added prints for calls into the file system. Added O_EXCL for an open that
tested that the same file could not be created twice.
1999-03-31 23:22:42 +00:00
Joel Sherrill
73b943bc97 Fixed paths to include files so this will build. 1999-03-31 23:21:19 +00:00
Jennifer Averett
912f74ae47 Modified file to match output. 1999-03-31 23:20:43 +00:00
Joel Sherrill
6b719b8d12 Fixed typos and mistakes related to adding gnatsupp. 1999-03-31 23:20:35 +00:00
Joel Sherrill
c5f2e5b1ba Regenerated. 1999-03-31 23:11:47 +00:00
Joel Sherrill
0e78ec3ad6 Removed warnings. 1999-03-31 23:11:38 +00:00
Joel Sherrill
5cfcd7ec42 Removed warnings. 1999-03-31 22:59:13 +00:00
Joel Sherrill
f4709895cd Removed warning. 1999-03-31 22:51:44 +00:00
Joel Sherrill
6a107099d7 Patch from Chris Johns <ccj@acm.org>:
joel@OARcorp.com wrote:
>
> Chris,
>
> sp09 fails on the rtems_port_delete(0) call.  This is supposed to give an
> invalid id error.  I can't find any changes other than the unlimited
> objects patch which would have tripped this so would appreciate it if you
> could look into it.  I suspect that this is a side-effect of the unlimited
> objects patch.
>

It is me.

>
> Basically, there are 0 ports configured in sp09.  The test ends up
> dereferecing NULL in local_table[0] and comes up with a non-NULL invalid
> pointer.
>

The issue is not actually allocating a local_table for an object type
which has a maximum value of 0. I cannot remember the exact workings of
the id values and the local_table. I might have changed the nature from
the pre-unlimited change. As you know the id's are an interesting game
where performance is most important.

>
> I know the problem could be solved by adding a check for index == 0.  But
> I hate to slow this path down.  I think you may have changed the way the
> object information structure gets initialized.
>

---- CVS log ----

This change lets the unlimited and sp09 tests run on the posix Linux
BSP. A static local variable `null_local_table' has been added. This
variable is always set to NULL. The `**local_table' element of the
information structure is set to point to this variable earily in the
initialisation. If the object type has more than 0 elements the
`local_table' element is updated. All object types which have 0 elements
reference `null_local_table'. This change fixes the problem sp09 found
yet does not add any extra processing to the critical
`_Objects_Get_local_object' function.

---- CVS log ----
1999-03-31 22:33:14 +00:00
Joel Sherrill
5c959963df When compiled in debug mode, the POSIX threads inline file was not
included and we ended up with undefined references.
1999-03-31 22:09:11 +00:00
Joel Sherrill
cb0f1fc5ac Another attempt to get runtest installed. 1999-03-31 22:05:43 +00:00
Joel Sherrill
efa0baa5e7 Patch from Eric Norum <eric@skatter.usask.ca> which changed the exit
sequence.
1999-03-31 20:51:07 +00:00
Joel Sherrill
ceb06d9650 Removed warning for `#ifdef' argument starts with punctuation. 1999-03-30 17:43:51 +00:00
Joel Sherrill
707d4d00d6 Removed warning for const removal. 1999-03-30 17:42:25 +00:00
Joel Sherrill
5c6c4c24d9 Fixed typo where _POSIX_signals_Clear_process_signals was not prototyped
and _POSIX_signals_Set_process_signals was done twice.
1999-03-30 17:41:26 +00:00
Joel Sherrill
eacc8e3b88 Patch from "Tony R. Ambardar" <tonya@ece.ubc.ca> and blessed by
Ian Lance Taylor <ian@airs.com> to note that condition codes
are modified.
1999-03-30 17:39:08 +00:00
Joel Sherrill
a43ad5cd29 Patch from Tony R. Ambardar <tonya@ece.ubc.ca> to add byte wide
register support to this driver.
1999-03-30 15:54:37 +00:00
Joel Sherrill
6a4096b224 Patch to add shutdown() routine from Tony R. Ambardar <tonya@ece.ubc.ca>. 1999-03-30 15:40:29 +00:00
Joel Sherrill
710389fcca Cleaned up and regenerated. 1999-03-30 15:38:57 +00:00
Joel Sherrill
e5f4e5aaff Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
rtems-rc-19990326-2.diff: Enhancements to autoconf support for librdbg
    * autoconf-checks for AWK and RPCGEN
    * disable librdbg if either AWK, RPCGEN or librdbg/$target_cpu
      cannot be found
1999-03-29 22:24:23 +00:00
Joel Sherrill
b5d8eca1b5 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix a typo. 1999-03-29 22:22:56 +00:00
Joel Sherrill
7e03d107d7 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Yet some more modifications, I would recommend to be considered before
    releasing a snapshot:

    1. Cleanup to aclocal/
    cvs rm -f aclocal/cygwin.m4
    cvs rm -f aclocal/exeext.m4

    They are neither used nor needed anymore, however they also don't
    disturb (we use autoconf-2.13's AC_EXEEXT instead, now)

    ----------

    2. rtems-rc-19990328-0.diff
    Some (minor) bug-fixes:
    * make/Templates/Makefile.inc.in: use the new installation directory
    ($(prefix)/ instead of $(prefix)/rtems/)
    * c/src/exec/score/tools/generic/Makefile.am: added line to include local.am
    * c/src/exec/score/tools/*/configure.in: added CVS Id header

    ----------

    3. rtems-rc-19990328-1.diff
    Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc.

    * autogen: Use the file "VERSION" to detect RTEMS toplevel directory,
    extended usage-message, use "find -print"
    * c/update-tools/cipolish: New script to beautify configure.in scripts
    * c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS
    toplevel directory, extended usage-message, added variable for perl
    scripts' subdirectory, use "find -print", cipolish support, new options
    -ac -am -ci.
    * aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4
    (reduces size of configure.in
    scripts, eases splitting configure.in scripts).

    ----------
1999-03-29 21:08:04 +00:00
Jennifer Averett
77c81fd2a1 Removed an uninitialized variable. 1999-03-29 18:24:34 +00:00
Jennifer Averett
eaf0e8eb0a Correctd name length to account for new IMFS max name length of 32. 1999-03-29 18:06:00 +00:00
Jennifer Averett
1ed9d576d9 Fixed expected return status from lseek to look for not failure (-1). 1999-03-29 18:05:01 +00:00
Jennifer Averett
2ada69ab1a Changed expected status lseek to look for not failure (-1). 1999-03-29 17:59:46 +00:00
Joel Sherrill
39560f1b0f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix size_rtems
problem.
1999-03-29 17:47:24 +00:00
Joel Sherrill
23291e99b8 Patch from Rosimildo DaSilva <rdasilva@connecttel.com> and
Emmanuel Raguet <raguet@crf.canon.fr>  to eliminate a problem
during the boot process on the pc386 BSP.  On fast PC's the
calibration routine would hand.
1999-03-26 15:42:39 +00:00
Joel Sherrill
aec5da467e Patch from Rosimildo DaSilva <rdasilva@connecttel.com>:
Problem:  Sometimes the output file "FOO.BT"  is smaller that the second
              image.
    Solution: Opening files, input/output,  in "binary mode".
1999-03-25 21:42:52 +00:00