Commit Graph

4157 Commits

Author SHA1 Message Date
Joel Sherrill
d88b46fe00 Removed HWAPI reference. 2000-05-17 13:59:36 +00:00
Joel Sherrill
00b772a3a1 Applied patch to wrong place in code. 2000-05-17 13:46:40 +00:00
Joel Sherrill
580c7a94f9 Adding code to test for maximum filesize and skip some tests. 2000-05-16 19:23:16 +00:00
Joel Sherrill
0632b75420 Initialize the variable. 2000-05-16 19:19:47 +00:00
Joel Sherrill
2936e9721f Use sizeof(unsigned32) not 4. 2000-05-16 19:19:18 +00:00
Joel Sherrill
a93350a415 Use CPU_ALIGNMENT not 4. 2000-05-16 19:18:03 +00:00
Joel Sherrill
f48cad9cec Constant of 4 for size is bad. 2000-05-16 19:16:39 +00:00
Joel Sherrill
250edf6f78 Modified to avoid copying too much data. 2000-05-16 19:15:25 +00:00
Joel Sherrill
8531dceb87 Updated to have better comments that can be searched and replaced. 2000-05-16 19:13:46 +00:00
Joel Sherrill
72988cd968 Changed RTEMS_MAXIMUM_NAME_LENGTH to ITRON_MAXIMUM_NAME_LENGTH. 2000-05-16 19:11:33 +00:00
Joel Sherrill
aaf44d495a Do not prototype fileno() if is is a macro. This was tripped on Solaris. 2000-05-16 19:07:19 +00:00
Joel Sherrill
055b7d5fe1 Corrected order of arguments to strncpy(). 2000-05-16 19:06:41 +00:00
Joel Sherrill
078280e025 Use CPU_HEAP_ALIGNMENT not CPU_ALIGNMENT. 2000-05-16 19:05:49 +00:00
Joel Sherrill
ba4b9ffe55 Changed <= to < to prevent overindexing array of file control blocks
(rtems_libio_iops).
2000-05-16 19:04:21 +00:00
Joel Sherrill
51e4268d73 Do not look for C++ compiler if C++ is disabled. 2000-05-16 18:58:58 +00:00
Joel Sherrill
017cb2be68 Do not dereference NULL per bug report from Victor V. Vengerov <vvv@oktet.ru>. 2000-05-16 18:58:18 +00:00
Joel Sherrill
01e0e43f7f Update from Eric Norum to fix dereference of zero and correct
test behavior.  Based on report from Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:44:03 +00:00
Joel Sherrill
405990a70c Added code to check for NULL pointer per bug report from
Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:43:00 +00:00
Joel Sherrill
b6206ccbad Modified to enable thread safe libraries. 2000-05-16 18:39:39 +00:00
Joel Sherrill
a4cb8f0d28 Patch from Eric Norum <eric@cls.usask.ca> to fix bug from
Alexey S. Fadeyev <alexey@vocord.com>.  Discussion follows:

    "Alexey S. Fadeyev" wrote:
    > So if I run this application it tell me :
    > > connect_task: Connection established
    > > accept somthing
    >
    > But if I try to connect to invalid port (3001 for example) it also tell me
    > that connection
    > established but bind_task did't accept it. So how I can find out in
    > connect_task does my connection realy
    > exist ? What type of socket is here? Blocking or non-blocking? I try used
    > select but it did't help - it
    > always tell me from connect_task that connection is valid.
    >

    Yep -- there was a problem alright.  The connect() routine wasn't
    returning an error indication when it should have.  Note that this
    problem was not limited to the loopback driver -- a refused connection
    from any server would return `success'.
2000-05-11 20:37:59 +00:00
Joel Sherrill
6c30cc6f4d changed version to 4.5.0-beta3 2000-05-10 14:48:45 +00:00
Joel Sherrill
3673fbd84f Updated. 2000-05-10 13:35:18 +00:00
Joel Sherrill
405543d683 Corrected to flag that this test is not implemented. 2000-05-10 13:34:15 +00:00
Joel Sherrill
a2a0c9eabd Updated to indicate that it has been tested and that the ulClock
parameter now supports overrides.
2000-05-08 21:50:20 +00:00
Joel Sherrill
b12d10b4e0 RTEMS specific thread support for G++. This implementation
includes RTEMS wrappers invoked by gcc.  The beauty of this
is that it puts the implementation in our hands. :)

It uses a mutex ( semaphore ), and task variables simulating
the "keys" for each task.

Thanks to Rosimildo da Silva <rdasilva@connectel.com> for
submitting this.
2000-05-08 21:21:29 +00:00
cvs2git
b76a825478 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-08 21:17:50 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file added on 4.5 branch':
    c/src/lib/libc/gxx_wrappers.c
2000-05-08 21:17:51 +00:00
Joel Sherrill
e612d75205 Modified license and copyright terms to be correct. 2000-05-08 20:56:07 +00:00
Joel Sherrill
0921e6917a New file on branch. 2000-05-08 20:38:19 +00:00
cvs2git
66d9d03690 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-08 20:36:59 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file added on 4.5 branch':
    c/src/lib/libbsp/m68k/mvme167/console/console-recording.c
2000-05-08 20:37:00 +00:00
Joel Sherrill
9d216de2ae Removed uses of RTEMS_ENABLE_HWAPI but left macro in aclocal. 2000-05-08 18:59:18 +00:00
Joel Sherrill
120adc209f Patch cd2401fix.diff from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
to address problems triggered when switching modes.  His ChangeLog:


  * c/src/lib/libbsp/m68k/mvme167/console/console-recording:
    New file. Console debug info recording functions.
  * c/src/lib/libbsp/m68k/mvme167/console/console.c:
    Try to eliminate garbled characters when the line characteristics are
    changed. Added debug info logging calls
  * c/src/tests/libtests/termios/init.c: Remove sleep calls.

His longer description :)

  This one was hard. I tried a number of approaches, and eventually came
  to the conclusion that one cannot tell when the output FIFO have drained
  completely. Consequently, the driver now includes delay loops that get
  executed when the line discipline is changed. Yuk. I had a look at the
  Linux and FreeBSD drivers; the FreeBSD driver uses delay loops while the
  Linux driver contain warnings about characters getting garbled when the
  line discipline is changed.

  The new driver only re-initializes the cd2401 if some registers need to
  change, otherwise, the chip is left alone. This is equivalent to caching
  the previous setting and only changing things if they need to be. The
  code is kind of ugly, but what can you do. The delay loops are only used
  if the chip must be re-initialized.

  Optional instrumentation that records what the driver is doing is
  provided. It should be obvious how to enable it and how to use it. It's
  not the best, but it got the job done.

  I ran the termios test. The delay loops I had introduced are no longer
  necessary, so I took them out. The patch includes that change. The test
  re-initializes the chip whenever the canonical input test (test 4) is
  run THE FIRST TIME OR AFTER THE LINE WAS RESET (test 1). The test did
  not garble any characters when the chip was re-initialized (or when it
  was not) while running at 9600 bsp. I therefore think that I have a
  solution.
2000-05-08 17:27:46 +00:00
Joel Sherrill
3a0218ed0b Update from John Cotton <john.cotton@nrc.ca> which includes
a number of short fixes pointed out by Eric Norum.
2000-05-08 17:22:38 +00:00
Joel Sherrill
57ca6d09f9 Changed XXX into comment. 2000-05-05 21:23:45 +00:00
Joel Sherrill
11a46a0dfd These tests should have been fairly clean examples. Instead they
showed their roots as tests and included numerous references to
test support routines.
2000-05-05 12:58:06 +00:00
Joel Sherrill
a1a19f6c40 Corrected typo (ifdef/define). Also spotted overnight by Ralf. :) 2000-05-05 12:57:14 +00:00
Joel Sherrill
c6883bda03 Added inet_netof.c per patch from Eric Norum <eric@cls.usask.ca> 2000-05-05 01:30:41 +00:00
Joel Sherrill
af9b39e269 Renamed the CONFIGURE_TEST_NEEDS configuration constants to
CONFIGURE_APPLICATION_NEEDS.
2000-05-04 20:49:22 +00:00
Joel Sherrill
f74de9c028 Removed references to CONFIGURE_SPTEST and CONFIGURE_TMTEST.
Renamed CONFIGURE_MPTEST to CONFIGURE_MP_APPLICATION to properly
reflect its usage.
2000-05-04 14:57:48 +00:00
Joel Sherrill
f747eca890 Added setup.cache. 2000-05-04 14:17:26 +00:00
Joel Sherrill
5a6d98e43b Made better package names. 2000-05-04 14:16:28 +00:00
Joel Sherrill
d123a04b09 Updated versions. 2000-05-04 14:16:20 +00:00
Joel Sherrill
de01ce7dea binutils subdirectory is currently ignored. binutils is built
as a subpackage of gnatnewlib.
2000-05-04 14:15:53 +00:00
Joel Sherrill
a4b7b82e8a Updated to new versions. 2000-05-04 14:15:15 +00:00
Joel Sherrill
45e8d6c1ad Better way to check which RTEMS RPMs are installed. 2000-05-04 14:15:07 +00:00
Joel Sherrill
4d42c4394f Significantly enhanced checks for CPU type and floating point format
supported.
2000-05-04 14:09:30 +00:00
Joel Sherrill
9c8d1edf6a Fixed typo. 2000-05-04 14:08:49 +00:00
Joel Sherrill
57b6590b1b Does not really support multiprocessing so do not even try to
build it.
2000-05-04 14:08:32 +00:00
Joel Sherrill
9fb78b8039 Update from Eric Norum <eric@cls.usask.ca>. 2000-05-03 14:12:51 +00:00
cvs2git
45e4cc77c6 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-03 13:55:42 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch.':
    c/src/librpc/src/rpc/rtems_portmapper.c
    c/src/librpc/src/rpc/rtems_rpc.c
2000-05-03 13:55:43 +00:00
Joel Sherrill
305f03339c Patch from Eric Norum <eric@cls.usask.ca> to make task variables maintain
a global and private version of each task variable.
2000-05-01 17:31:29 +00:00