Joel Sherrill
c9c673905a
Split SONIC chip into appropriate files for libchip'ing. The portable
...
portion is now in the libchip tree and the dmv177 configuration is in
the dmv177 bsp. The performance impact of libchip'ing this driver
was minimal.
1999-02-05 00:34:17 +00:00
Joel Sherrill
ecec2ba7bd
Patch from Eric Norum to correct bug induced by select() patch.
1999-02-05 00:29:23 +00:00
Joel Sherrill
2f87c84349
Corrected spacing and added some new error checks that were needed
...
to avoid dereferencing NULLs.
1999-02-05 00:28:43 +00:00
Joel Sherrill
e824fa5073
Added optional data and instruction caching enable calls.
1999-02-05 00:27:30 +00:00
Joel Sherrill
26e663db57
Added caching enable routines.
1999-02-05 00:26:49 +00:00
Joel Sherrill
13cc89e122
Reorganized into libchip style but not yet split out into multiple files
...
and placed in the right shareable directories.
1999-02-04 23:45:55 +00:00
Joel Sherrill
7397638960
Works great now.
1999-02-04 22:59:46 +00:00
Joel Sherrill
354b00bc1e
Added printf()'s that can be uncommented to trace MBUF operations. This
...
is very useful when debugging a device driver.
1999-02-04 15:00:14 +00:00
Joel Sherrill
83c7b007fd
Modifed to reflect transition from device driver to file system.
1999-02-04 14:59:42 +00:00
Joel Sherrill
d3c106037f
Added debug printf()'s that are commented out. Uncommenting these
...
allows one to trace the enqueueing and dequeueing of messages. This
can be used to insure that packets are getting to the boundary between
the network stack and the device driver.
1999-02-04 14:58:01 +00:00
Joel Sherrill
1564ca8e5e
Added PowerPC specific header checksum code.
1999-02-04 14:56:09 +00:00
Joel Sherrill
8cce4452a5
Added PowerPC specific header checksum code.
...
Added volatile to i386 assembly statements in header checksum code.
1999-02-04 14:56:03 +00:00
Joel Sherrill
c1a37d3e94
Debugged and now works except for handling of minor number.
1999-02-04 14:54:31 +00:00
Joel Sherrill
7c7fd4de93
Modified to include comments on how to get TCPDEBUG turned on and
...
printing messages.
1999-02-04 14:53:06 +00:00
Joel Sherrill
cd792a86cf
Patch from John S Gwynne <jsg@donet.com> for malloctest. His comments:
...
I have a few patches for the efi332 bsp. If you let me know when you
expect the next snapshot release, I will try to have them to you
before then. Also, the malloctest has some problems that I would think
would prevent it from running on almost any platform. I have enclose
patches below to fix (1) Task_id and Task_name dimensioning, (2) end
of test message, (3) the amount of memory malloc'ed, and (4) retry on
unsuccessful (out of memory) molloc's.
1999-02-03 22:12:28 +00:00
Joel Sherrill
0747e2d3c3
POSIX Timers submitted by Juan Zamorano Flores
...
<jzamora@avellano.datsi.fi.upm.es >.
1999-02-03 16:22:18 +00:00
Joel Sherrill
c30d04d7be
New test from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>
...
that is part of the addition of POSIX timers.
1999-02-03 16:21:11 +00:00
Joel Sherrill
657be8f54c
New files from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>
...
that are part of the addition of POSIX timers.
1999-02-03 16:20:38 +00:00
Joel Sherrill
9e43ee55fb
New file.
1999-02-02 21:56:15 +00:00
Joel Sherrill
13e11f69c1
Added debug #define and commented it out.
1999-02-02 21:15:15 +00:00
Joel Sherrill
5d5f23bc42
Added PowerPC specific in_cksum file.
1999-02-02 21:15:02 +00:00
Joel Sherrill
9b9c4dfd46
New file. Based on the i386 version.
1999-02-02 21:14:44 +00:00
Joel Sherrill
811115de2c
Added debug print routines for TX and RX descriptors.
...
Fixed bug where only the mbuf associated with the first TX fragment was
being freed.
1999-02-02 16:28:42 +00:00
Joel Sherrill
14faf00eea
Converted from DOS text file.
1999-02-02 16:27:37 +00:00
Joel Sherrill
01a2e18e17
Removed unneeded include of libio_.h.
1999-01-31 20:52:35 +00:00
Joel Sherrill
7b158663ed
Prepended macro variables with "_" to avoid name conflicts in expansions.
1999-01-31 20:50:49 +00:00
Joel Sherrill
0e94e3b34b
Added bump buffer.
1999-01-31 20:49:54 +00:00
Joel Sherrill
d93b23de01
Added dump buffer.
1999-01-31 20:49:36 +00:00
Joel Sherrill
7dbab7204f
Can send and receive packets but fails when TDA wraps. There appears
...
to be a problem with overwriting the TX descriptors during an RX.
1999-01-31 20:46:52 +00:00
Joel Sherrill
07d880f4bc
Split psignal.c into many more files. This reduced the amount of
...
object code that has to be loaded just for initializing the signal
manager.
1999-01-31 20:45:31 +00:00
Joel Sherrill
379d2ed5a9
New files added to ease debugging.
1999-01-31 19:12:46 +00:00
Joel Sherrill
cdf8a30092
Patch from Eric Norum <eric@skatter.usask.ca> to avoid dereferencing a
...
NULL pointer.
1999-01-28 18:42:34 +00:00
Joel Sherrill
c9df8d8f7c
Patch from Eric Norum <eric@skatter.usask.ca> to set more flags in
...
rtems_bsdnet_makeFdForSocket().
1999-01-28 18:42:04 +00:00
Joel Sherrill
d90df9aa2b
Added include of <rtems/posix/priority.h> so a macro would expand
...
and eliminate a link error.
1999-01-26 16:00:04 +00:00
Joel Sherrill
39ba912277
Changed prototype of rtems_bsdnet_makeFdForSocket to (void *) pointer
...
so that the libc code did not have to know about (struct socket).
1999-01-26 01:50:31 +00:00
Joel Sherrill
887618b0e7
Switched from printf() to puts().
1999-01-26 01:49:56 +00:00
Joel Sherrill
d78b7a9ed7
Added libio_sockets.c to hold support routines for networking code.
1999-01-26 01:49:31 +00:00
Joel Sherrill
39c972331d
Added prototype information about the SONIC driver.
1999-01-26 01:48:58 +00:00
Joel Sherrill
03598b162e
Split most of POSIX Threads Manager into multiple files.
1999-01-25 23:20:52 +00:00
Joel Sherrill
535db3ae0c
Added enough prototypes to allow most of POSIX Threads Manager to be
...
split into multiple files.
1999-01-25 23:20:39 +00:00
Joel Sherrill
94b3ee1366
Made to compile after hacking tftp driver into beginnings of a mini-filesystem.
1999-01-21 22:25:43 +00:00
Joel Sherrill
97d6366040
Changed call to __rtems_close() to close().
1999-01-20 21:59:09 +00:00
Joel Sherrill
c27b2d0dbe
Update of network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
...
Comments follow:
Here is the contents of the network directory of the i386ex BSP. The
reset function has been recently added, and tested through a command
line interface. A reset event to the reset thread to reset the NIC.
This is done when the ISR detects that the NIC is in an invalid state.
It has not been tested "in real life" since the board has not seen an
invalid state since the reset function was implemented.
1999-01-20 18:55:50 +00:00
Joel Sherrill
f91b8df17d
Patch from Eric Norum <eric@skatter.usask.ca> to make m68360.h usable
...
outside RTEMS. Comment:
I found a couple of places other than RTEMS where I'd like to use
the declarations supplied in m68360.h. To make this easier to do,
I've redone the declarations in m68360.h to use standard C types.
1999-01-20 15:55:52 +00:00
Joel Sherrill
2d733c424b
More general fix based on bug report and patch from Ian Lance Taylor
...
<ian@airs.com > to fix this problem:
There is a small bug in __rtems_close in c/src/lib/libc/libio.c. It
does not check whether the file descriptor it is passed is open. This
can cause it to make a null dereference if it is passed a file
descriptor which is in the valid range but which was not opened, or
which was already closed.
1999-01-20 15:48:22 +00:00
Joel Sherrill
5f22d0916a
Removed referencing to network driver since it has not been merged yet.
1999-01-19 21:29:29 +00:00
Joel Sherrill
7d0dbf1a6c
Changed definition of ASMFLAGS since as does not recognize -B option
...
used in gcc.
1999-01-19 20:23:57 +00:00
Joel Sherrill
a7c4314dca
Added comments for changing to a filesystem
1999-01-19 20:23:15 +00:00
Joel Sherrill
eb6fafd33b
Per bug report from Jiri Gaisler that RTEMS would no longer build
...
with the --disable-posix option, stubs for some routines (_getpid_r and
_kill_r) that are normally defined with POSIX were added.
1999-01-19 20:19:22 +00:00
Joel Sherrill
1924610486
Removed duplicate lines in file.
1999-01-19 20:17:33 +00:00