Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added comments. | Joel Sherrill | 1999-06-11 | 1 | -1/+1 |
| | |||||
* | Fixed Makefile.in to not attempt to install rtems.o twice from two different | Joel Sherrill | 1999-06-11 | 10 | -10/+0 |
| | | | | directories. | ||||
* | Patch from Ian Lance Taylor <ian@airs.com>: | Joel Sherrill | 1999-06-11 | 12 | -6/+192 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The select function is not particularly efficient when dealing with a large number of sockets. The application has to build a big set of bits and pass it in. RTEMS has to look through all those bits and see what is ready. Then the application has to look through all the bits again. On the other hand, when using RTEMS, the select function is needed exactly when you have a large number of sockets, because that is when it becomes prohibitive to use a separate thread for each socket. I think it would make more sense for RTEMS to support callback functions which could be invoked when there is data available to read from a socket, or when there is space available to write to a socket. Accordingly, I implemented them. This patch adds two new SOL_SOCKET options to setsockopt and getsockopt: SO_SNDWAKEUP and SO_RCVWAKEUP. They take arguments of type struct sockwakeup: struct sockwakeup { void (*sw_pfn) __P((struct socket *, caddr_t)); caddr_t sw_arg; }; They are used to add or remove a function which will be called when something happens for the socket. Getting a callback doesn't imply that a read or write will succeed, but it does imply that it is worth trying. This adds functionality to RTEMS which is somewhat like interrupt driven socket I/O on Unix. After the patch to RTEMS, I have appended a patch to netdemos-19990407/select/test.c to test the new functionality and demonstrate one way it might be used. To run the new test instead of the select test, change doSocket to call echoServer2 instead of echoServer. | ||||
* | Patch from Eric Norum <eric@cls.usask.ca> to fix bug reported by | Joel Sherrill | 1999-06-11 | 3 | -0/+6 |
| | | | | | | | | | | | | | | | | | | Ian Lance Taylor <ian@airs.com>: Ian Lance Taylor wrote: > > In rtems-19990528, sbwait sets SB_WAIT in sb_flags. sowakeup checks > it. Why doesn't socket_select set it? > > I don't know that this is a bug--I haven't tried to create a test > case. However, it certainly looks odd. > > Ian Yes, there's a bug there. Sorry about that. It was introduced when I did some cleanup on the sleep/wakeup handling in rtems_glue.c. | ||||
* | Do not use the RTEMS simpleioctl.h if networking is enabled since | Joel Sherrill | 1999-06-09 | 1 | -1/+4 |
| | | | | that subsystem provides a more robust version of ioctl.h. | ||||
* | Modified to return an error when a bogus return address for the | Joel Sherrill | 1999-06-09 | 1 | -0/+3 |
| | | | | old_priority parameter is provided. | ||||
* | Switched to using strcasecmp() since it is more portable. | Joel Sherrill | 1999-06-09 | 2 | -4/+4 |
| | | | | D. V. Henkel-Wallace <gumby@zembu.com> spotted this one. | ||||
* | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: | Joel Sherrill | 1999-06-02 | 2 | -4/+12 |
| | | | | | | | This patch fixes a nasty problem with build-tools/Makefile.am: When using install-sh instead of /usr/bin/install, only the first file gets installed during the preinstall stage. | ||||
* | Removed "NO CTOR" from list of objects to be picked up. It now comes in | Joel Sherrill | 1999-06-02 | 2 | -4/+2 |
| | | | | via libbsp.a. Reported by Ian Lance Taylor <ian@airs.com>. | ||||
* | Changes from Eric Norum to add a loop and limit on the length of time | Joel Sherrill | 1999-05-28 | 3 | -66/+96 |
| | | | | the stack will wait for mbufs. | ||||
* | changed version to 19990528 | Joel Sherrill | 1999-05-28 | 1 | -1/+1 |
| | |||||
* | Don't install this executable. It should only be built. | Joel Sherrill | 1999-05-28 | 1 | -2/+1 |
| | |||||
* | Use fgrep instead of grep to avoid treating filenames as regular expressions. | Joel Sherrill | 1999-05-28 | 2 | -2/+2 |
| | | | | | grep found debugio.o when looking for debug.o and said there was a filename conflict incorrectly. | ||||
* | Alignment corrected per Eric Norum's suggestion. | Joel Sherrill | 1999-05-28 | 3 | -3/+6 |
| | |||||
* | Corrected to include shared console driver. | Joel Sherrill | 1999-05-28 | 1 | -1/+1 |
| | |||||
* | At the request of Gumby, the cpu is now halted rather than spinning | Joel Sherrill | 1999-05-28 | 1 | -1/+1 |
| | | | | on a fatal exception. | ||||
* | Renamed config.c to conscfg.c to avoid naming conflicts. | Joel Sherrill | 1999-05-28 | 2 | -284/+1 |
| | |||||
* | Renamed config.s to todcfg.c to avoid naming conflicts. | Joel Sherrill | 1999-05-28 | 2 | -80/+1 |
| | |||||
* | Renamed fatal.c to bspfatal.c to avoid name conflicts with | Joel Sherrill | 1999-05-28 | 2 | -128/+1 |
| | | | | Fatal Error handler in SuperCore. | ||||
* | Renamed tod.c to coretod.c to remove conflicts with "Time Of Day" | Joel Sherrill | 1999-05-28 | 2 | -240/+2 |
| | | | | device drivers. | ||||
* | Renamed clock.c to rtclock.c to avoid conflicts with clock drivers | Joel Sherrill | 1999-05-28 | 2 | -24/+1 |
| | | | | in various BSPs. | ||||
* | Switched from picking up the .rel for each subdirectory in the | Joel Sherrill | 1999-05-27 | 33 | -33/+33 |
| | | | | | BSP (BSP_PIECES) to picking up the .o files. This should help reduce the minimum size of an application. | ||||
* | Patch from Eric Norum <eric@pollux.usask.ca> to eliminate a panic when the | Joel Sherrill | 1999-05-27 | 9 | -441/+264 |
| | | | | network stack runs out of mbufs. | ||||
* | Split out the routine rtems_assoc_name_bad(). | Joel Sherrill | 1999-05-27 | 10 | -58/+166 |
| | |||||
* | Removed usage of printf. | Joel Sherrill | 1999-05-27 | 5 | -5/+5 |
| | |||||
* | Split initialization and reserve resources from termios to reduce | Joel Sherrill | 1999-05-27 | 7 | -119/+188 |
| | | | | size of mininum application. | ||||
* | Split out polled io, debug puts, and console reserve resources to | Joel Sherrill | 1999-05-27 | 4 | -83/+146 |
| | | | | reduce dependencies and shrink minimum executable size. | ||||
* | Disabled running size_rtems until all file splitting is finished. | Joel Sherrill | 1999-05-27 | 1 | -1/+1 |
| | |||||
* | Regenerated. | Joel Sherrill | 1999-05-27 | 12 | -947/+1693 |
| | |||||
* | Corrected so rtems.o is built and installed on all targets. | Joel Sherrill | 1999-05-27 | 10 | -31/+20 |
| | |||||
* | Corrected macro names. | Joel Sherrill | 1999-05-27 | 1 | -2/+6 |
| | |||||
* | Initiated updating this to reflect split up. | Joel Sherrill | 1999-05-26 | 1 | -2/+4 |
| | |||||
* | Renamed to rtemstimer.c to avoid conflict with timer drivers in EVERY | Joel Sherrill | 1999-05-20 | 2 | -53/+2 |
| | | | | BSP as we transition to more .o's and less .rel's. | ||||
* | Removed all post 4.0 changes. | Joel Sherrill | 1999-05-20 | 3 | -243/+234 |
| | |||||
* | Patch from Daniel Kelley <dank@icube.com>: | Joel Sherrill | 1999-05-18 | 2 | -8/+8 |
| | | | | | | I found a small buglet in the mips64orion _CPU_ISR_Set_level; the original was wiping out the level argument, and then comparing the current interrupt level with some random value of v0. See patch below. | ||||
* | Regenerated. | Joel Sherrill | 1999-05-18 | 14 | -1695/+949 |
| | |||||
* | Spacing correction. | Joel Sherrill | 1999-05-18 | 1 | -1/+0 |
| | |||||
* | Reworked to avoid pulling in the jump point entry in EVERY executable. | Joel Sherrill | 1999-05-17 | 11 | -19/+50 |
| | |||||
* | Fixed some typos. | Joel Sherrill | 1999-05-17 | 1 | -4/+4 |
| | |||||
* | Split Interrupt Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 3 | -41/+63 |
| | |||||
* | Split Signal Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 4 | -109/+158 |
| | |||||
* | Dual-Ported Memory Manager split into one routine per file. | Joel Sherrill | 1999-05-17 | 7 | -237/+351 |
| | |||||
* | Split Partition Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 7 | -307/+429 |
| | |||||
* | Split Timer Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 10 | -618/+475 |
| | |||||
* | Split Event Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 7 | -343/+460 |
| | |||||
* | Split Rate Monotonic Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 9 | -417/+573 |
| | |||||
* | Split the Semaphore Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 8 | -485/+771 |
| | |||||
* | Moved some MP routines to semmp.c. | Joel Sherrill | 1999-05-17 | 2 | -55/+54 |
| | |||||
* | Forgot to actually remove the routines. :) | Joel Sherrill | 1999-05-17 | 1 | -748/+0 |
| | |||||
* | Split Message Manager into one routine per file. | Joel Sherrill | 1999-05-17 | 13 | -1/+1112 |
| |