summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Moved the rmnod callback from the operations table to the handler table.Jennifer Averett1999-10-291-5/+5
|
* Joel added a table of mount entry requests to be processed duringJennifer Averett1999-10-291-0/+14
| | | | initialization.
* Added include of libio.h so this would compile when posix is disabled.Joel Sherrill1999-10-261-0/+1
|
* Added initial cut at miniIMFS which leaves out memfile and directoryJoel Sherrill1999-10-261-1/+1
| | | | | readdir support. The next step is to add a mount table and configure either the miniIMFS or the full IMFS at the application level.
* Split null handlers table to own file and renamed.Joel Sherrill1999-10-121-1/+2
| | | | Renamed IMFS handler tables to include IMFS prefix.
* Added rtems_filesystem_freenode() macro and added calls at appropriateJoel Sherrill1999-10-121-0/+12
| | | | | places to make sure memory allocated for filesystem specifif nodes gets freed.
* Fixed spacing.Joel Sherrill1999-10-121-1/+1
|
* After comments D. V. Henkel-Wallace <gumby@zembu.com>, the interface toJoel Sherrill1999-06-151-1/+1
| | | | mount() was changed to avoid the use of a string as the options.
* RTEMS_FILESYSTEM_READ_WRITE_ONLY changed to RTEMS_FILESYSTEM_READ_WRITEJoel Sherrill1999-06-141-1/+1
| | | | for simplicity.
* Fix based on bug report from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-03-241-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There seems to be an ugly dependency between posix-headers and libcsupport. Configuring rtems with ../rtems-rc-19990324-0/configure \ --target=i386-rtems \ --prefix=<somewhere> \ --disable-posix "make RTEMS_BSP=pc386" results into: [...] /opt/rtems/bin/i386-rtems-gcc --pipe -B/users/rtems/src/multi/build/pc386/lib/ -specs bsp_specs -qrtems -I/users/rtems/src/multi/build/pc386/lib/include/networking -g -Wall -ansi -fasm -O4 -fomit-frame-pointer -c -o o-pc386/utime.o ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c In file included from ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:16: /opt/rtems/i386-rtems/include/utime.h:4: sys/utime.h: No such file or directory ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning: `struct utimbuf' declared inside parameter list ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning: its scope is only this definition or declaration, ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning: which is probably not what you want. ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c: In function `utime': ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34: dereferencing pointer to incomplete type ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34: dereferencing pointer to incomplete type make[4]: *** [o-pc386/utime.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make[1]: Leaving directory `/lfs/poseidon/users/rtems/src/multi/build/c' make: *** [all] Error 1 Apparently sys/utime.h is one of the posix headers and therefore gets not installed (I suppose this is correct). IMO, this probably indicates that sys/utime.h has to be moved to another include subdirectory and should not be part of the posix-package. [AFAIK, sys/*.h are system dependent headers, so why should it be a posix-header? - Hmm]
* Patch from Eric Norum <eric@skatter.usask.ca> that adds externalJoel Sherrill1999-03-191-0/+6
| | | | fcntl support and an external fcntl handler for sockets.
* Use proper include for libio.h.Joel Sherrill1999-03-161-4/+1
|
* Added F_GETFL support so the fdopen() implementation in newlib 1.8.1Joel Sherrill1999-03-061-0/+4
| | | | | | | | would work. At the same time, the initial implementation of F_SETFL was added. A support routine was added to convert internal libio flags back to the POSIX style. Eventually the internal representation should be eliminated in the interest of simplicity and code reduction. This problem was reported by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.
* Patch from Eric Norum <eric@skatter.usask.ca> to eliminate externalJoel Sherrill1999-03-012-45/+0
| | | | | IO handlers scheme that was implemented originally just to support sockets. The file system IO switch is more general and works fine.
* More general fix based on bug report and patch from Ian Lance TaylorJoel Sherrill1999-01-201-1/+15
| | | | | | | | | | <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.
* Merged Eric Norum's select patch that was based on 4.0 and resolvedJoel Sherrill1998-12-103-4/+8
| | | | all conflicts.
* Patch from Ian Lance Taylor <ian@airs.com>:Joel Sherrill1998-12-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Modifications for RTEMS_UNIX.Jennifer Averett1998-12-032-0/+6
|
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-232-61/+738
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs alongJoel Sherrill1998-10-281-0/+2
| | | | with libchip.
* Patch from Aleksey (Quality Quorum <qqi@world.std.com>):Joel Sherrill1998-09-231-1/+1
| | | | | | | | | | | 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.
* Corrected spelling error.Joel Sherrill1998-09-111-10/+10
|
* Base filesJoel Sherrill1998-08-193-0/+219
|
* Added a public interface to the chain handler.Joel Sherrill1998-06-181-0/+362
|
* Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed().Joel Sherrill1998-05-221-1/+5
|
* Patch to add return status to rtems_termios_enqueue_raw_characters fromJoel Sherrill1998-05-201-1/+1
| | | | | | | | | | | | | | | Eric Norum per request from Geoffroy Montel: > The rtems_termios_enqueue_raw_characters function type is void. > The problem is that I can't return an error message if the input > buffer is full. > Could we add a return value? Sure, but what would you do with the overflow indication? POSIX says, ``when the input limit is reached, the saved characters are thrown away without notice''. Anyhow, the change is so small I've done it and enclosed the patch.
* Added tcdrain() from Eric NorumJoel Sherrill1998-05-201-0/+1
|
* Removed prototype of rtems_libio_config() per Chris Johns' eagle eye.Joel Sherrill1998-05-191-1/+0
|
* Patch from Eric Norum to switch to termios callback structure, addJoel Sherrill1998-05-041-10/+20
| | | | | support for device driver support on tcsetattr(), and hardware flow control callbacks.
* Removed isatty() since we are now using newlib's implementation asJoel Sherrill1998-04-031-1/+0
| | | | a result of enabling the newlib POSIX directory.
* updated copyright to 1998Joel Sherrill1998-02-1711-11/+11
|
* Corrected prototypes for all termios console write driver entries toJoel Sherrill1997-12-221-1/+2
| | | | properly reflect the const on the buffer pointer being passed in.
* interrupt driven change from Eric NorumJoel Sherrill1997-11-151-1/+2
|
* Fixed prototypeJoel Sherrill1997-11-101-1/+1
|
* Changed prototype of read routine.Joel Sherrill1997-10-231-1/+1
|
* Added prototype for console_reserve_resources.Joel Sherrill1997-10-231-0/+4
|
* New termios.c from Eric Norum.Joel Sherrill1997-10-231-0/+4
| | | | Added new entry point to add in per physical port resource requirements.
* Added termios submission from Eric Norum and Katsutoshi Shibuya.Joel Sherrill1997-10-211-2/+22
|
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-0812-24/+24
|
* new implementation of mc68681.hJoel Sherrill1997-08-041-72/+291
|
* moved from main include directoryJoel Sherrill1997-08-045-0/+478
|
* Katsutoshi Shibuya (shibuya@mxb.meshnet.or.jp)of BU-Denken Co., Ltd.Joel Sherrill1997-08-012-0/+191
| | | | | | | (Sapporo, Japan) submitted the extended console driver for the MVME162LX BSP and the POSIX tcsetattr() and tcgetattr() routines. This device driver supports four serial ports, cooked IO, and provides a portable base for Zilog 8530 based console drivers.
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-227-33/+33
| | | | of switching to the modified GNU GPL.
* Added ka9q tcpip stack and network driver for the gen68360. This effortJoel Sherrill1997-04-091-0/+22
| | | | | | | | | | | | | was done based on the 3.6.0 release and had to be autoconf'ed locally. It is turned on is the bsp enables it and it is not explicitly disabled via the configure option --disable-tcpip. As many warnings as possible were removed locally after the code was merged. Only the gen68360 and mvme136 bsps were compiled this way. The ka9q port and network driver were submitted by Eric Norum (eric@skatter.USask.Ca). The network demo programs are not included in the tree at this point.
* removed noreturn attribute to eliminate warnings.Joel Sherrill1997-04-071-2/+7
|
* Merged newlib's libgloss support for rtems into this directory. ThisJoel Sherrill1997-01-291-6/+10
| | | | should simplify the build process.
* added prototype for malloc_walkJoel Sherrill1996-09-181-0/+1
|
* updates from Tony BennettJoel Sherrill1996-04-222-6/+5
|
* Updates from Tony Bennett.Joel Sherrill1996-04-221-3/+0
|
* updates from Tony Bennett for PA and UNIX portsJoel Sherrill1996-01-153-24/+30
|