summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-12-15Switched to use of ASM compilation conditional.Joel Sherrill1-2/+2
1998-12-15Changed reference from no_cpu to mips64orion.Joel Sherrill3-3/+3
1998-12-14Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename allJoel Sherrill7-0/+2964
.s files to .S in conformance with GNU conventions. This is a minor step along the way to supporting automake.
1998-12-14Corrected prototype to confirm to POSIX 1003.1b.Joel Sherrill2-10/+4
1998-12-10Merged Eric Norum's select patch that was based on 4.0 and resolvedJoel Sherrill18-240/+187
all conflicts.
1998-12-10Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill4-0/+31
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-07Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill3-5/+12
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-03Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add remote debug serverJoel Sherrill8-0/+1469
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-03Added imfs_fdatasync routine that gets called from both fdatasync and datasync.Jennifer Averett1-0/+26
1998-12-03Added a imfs fdatasync routine that gets called for fdatasync and datasync.Jennifer Averett1-0/+4
1998-12-03Added source for F_DUPFD.Jennifer Averett1-12/+18
1998-12-03Modifications for RTEMS_UNIX.Jennifer Averett5-1/+23
1998-12-03Moved stackchk.h to rtems subdirectory.Joel Sherrill1-1/+1
1998-12-03Corrected spacing.Joel Sherrill1-1/+1
1998-12-03Corrected ifdef on RTEMS_MULTIPROCESSING so the queue is actually closed.Joel Sherrill1-2/+4
1998-12-01Include files now installed as <rtems/*.h>.Joel Sherrill2-2/+2
1998-12-01Removed unused file.Joel Sherrill1-1/+1
Include files now installed as <rtems/*.h>.
1998-11-23Added base version of file system infrastructure. This includes a majorJoel Sherrill96-642/+8993
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-23Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill42-124/+547
it work.
1998-11-19Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill8-175/+236
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-10-28Patch from Ian Lance Taylor <ian@airs.com>.Joel Sherrill1-11/+19
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-28Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs alongJoel Sherrill1-0/+2
with libchip.
1998-10-22Changed all of these to stubs.Joel Sherrill7-403/+34
1998-10-13Added rest of opendir family and made it compile.Joel Sherrill1-1/+16
1998-10-13New files.Joel Sherrill5-0/+328
1998-10-12New files.Joel Sherrill2-0/+164
1998-10-12Added header files per request from Chris Johns to avoid problemsJoel Sherrill1-0/+4
in include file order.
1998-10-01Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill1-5/+8
The reentrant versions of the malloc functions in c/src/lib/libc/malloc.c do not match the definitions in newlib. These will be used if you use newlib routines such as fdopen. I believe this patch to malloc.c is needed to provide the correct versions.
1998-09-29Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-3/+2
Remember the test to see if a socket could be read and written at the same time by two different tasks? I discovered that if both tasks attempt to close the socket a panic can occur from inside the BSD code. Closing the same socket twice from two different threads is certainly an error, but a panic is not the greatest error reporting method :-) The following small change to the socket close routine should reduce the chances of the panic.
1998-09-27New files.Joel Sherrill2-0/+34
1998-09-25Now compiles.Joel Sherrill2-0/+2
1998-09-25Added ENOSYS stubs for a number of process routines.Joel Sherrill8-0/+132
1998-09-23IDLE task stack size now specified as a field in the CPU Table for allJoel Sherrill2-10/+7
ports.
1998-09-23Modifed to zero out the C heap if the CPU Table indicates that theJoel Sherrill1-0/+15
RTEMS workspace is to be zeroed out.
1998-09-23Patch from Aleksey (Quality Quorum <qqi@world.std.com>):Joel Sherrill2-4/+10
1. Finally fixes raw interrupts for pc386 2. Makes some minor cleanup in console and startup 3. Makes rtems_termios_dequeue_characters() to return count of outstanding chars - it allows to simplify console isrs a little bit. 4. pc386 uart modified to be friendlier to termios parameter changes, to have minor performance improvement and to take advantage of of above termios modification.
1998-09-21Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-29/+101
Here's a patch to make the rtems_showroute routine a little more useful. For `host' route table entries the link-level address is now displayed. This is equivalent to the old `show arp table' information displayed by the KA9Q code.
1998-09-21Patch from Eric Norum and David Fiddes to put ColdFire support inJoel Sherrill2-16/+18
the inet checksum routine.
1998-09-21Patch from Eric Norum:Joel Sherrill1-7/+2
I fixed the problems noted by Victor Vengerov. 1) Fix typo in cfsetispeed(). 2) In rtems_termios_open, ensure that args->iop->data1 is set before calling device-specific open routine.
1998-09-11Corrected spelling error.Joel Sherrill1-10/+10
1998-09-11Patch from "David J. Fiddes" <D.J@fiddes.surfaid.org>:Joel Sherrill2-252/+74
I've fixed a few minor probs with the optimised version that Eric put together for me the other day and sent the fixes back to him. Provided he doesn't have a problem with it we've got a pretty solid in_cksum for the ColdFire as well as straight m68k. I've enclosed my updated in_cksum_m68k.c At the moment my own bottlenecks are elsewhere...as my driver is pulling 16bit data chunks through a libchip-esq access routine from the chip which for a polled I/O device is never going to be quick.
1998-09-10Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make this compileJoel Sherrill2-2/+2
for the ColdFire.
1998-09-10Patch from Eric Norum <eric@skatter.usask.ca> to fix a cryptic errorJoel Sherrill1-1/+3
message after comments from Eric Valette <valette@crf.canon.fr>.
1998-08-31Fixed spacing. More comments from Eric Norum need to be addressed.Joel Sherrill1-7/+7
1998-08-31Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill2-3/+9
I have reworked the ethernet driver for the BSP pc386 and here is the patch to apply.
1998-08-31Patch from Eric Valette <valette@crf.canon.fr>:Joel Sherrill1-6/+17
Eric> NB : there is still a bug on PC386 serial line : exit does not Eric> flush the remaining output queue. As this is not a bug in the Eric> driver itself but somewhere in PC386 initialization/termios Eric> relationship it will be part of another patch. Eric> NB2 : As Emmanuel excerced the exception hanlder code, while Eric> porting the SMC driver to the new BSD stack, we found a bug Eric> in the exception handler : it shall not delete the current Eric> thread in case we are running at interrupt level. This will Eric> be part of another patch... So here is the patch. This patch fixes the two problems mentionned above + it use vpath mechanism intead of copying the irq related files in the right directory. This avoid to compile them each time and is more homogenous with other Makefiles.
1998-08-31Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-4/+2
I think I figured out why rtems_panic was locking up instead of shutting down the executive and returning to the code that called boot_card(). Later on there is code to print some messages on the standard error stream, a recursive call back to rtems_verror (through rtems_error) and finally a call to _exit(). I think that the _Thread_Disable_dispatch() is preventing the final context switch back to the boot_card() code. Does this sound right to you?
1998-08-24Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS includedJoel Sherrill1-1/+1
when building the executive source.
1998-08-21Added i386 specific version of in_cksum.c and restructured the mainJoel Sherrill5-151/+1024
file to switch out to CPU specific implementations.
1998-08-21Another missing piece. Thanks Eric.Joel Sherrill1-0/+3
1998-08-21Added system task attribute to allow one to create a task with "0" priorityJoel Sherrill4-9/+40
via the user api.