Commit Graph

69 Commits

Author SHA1 Message Date
Joel Sherrill
b628637805 Added prototype for console_reserve_resources. 1997-10-23 15:10:13 +00:00
Joel Sherrill
3ee825e830 fixed comment 1997-10-23 15:00:32 +00:00
Joel Sherrill
118a81295d New termios.c from Eric Norum.
Added new entry point to add in per physical port resource requirements.
1997-10-23 13:13:46 +00:00
Joel Sherrill
a75c783660 Converted from using a message queue for the raw input queue to using a
ring buffer in conjunction with a counting semaphore.
1997-10-21 17:03:18 +00:00
Joel Sherrill
55e13228e3 Added termios submission from Eric Norum and Katsutoshi Shibuya. 1997-10-21 17:03:17 +00:00
Joel Sherrill
ae35953d04 Added termios submission from Eric Norum and Katsutoshi Shibuya. 1997-10-21 16:18:03 +00:00
Joel Sherrill
4fd617952e Added casts and fixed line break. 1997-10-21 16:17:12 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
f795ca905a Uncommented gettimeofday_r to resolve missing symbol. 1997-09-21 17:44:50 +00:00
Joel Sherrill
8f367d6baa Bug fix from Eric Norum:
After weeks of trying to figure why my RTEMS/KASQ server crashes now
    and then I found a nasty bug I introduced in adding multiple-driver
    support to libio.  The bug only affects `add-on' driver classes (like
    the networking code).  Old-style file descriptors were not affected.

    The bug cleared 32 bytes of memory (unspecified location) whenever a
    `close' of a socket was performed!  I was clearing an IOP I hadn't
    allocated -- and the pointer wasn't initiallized, either!
1997-09-19 18:31:05 +00:00
Joel Sherrill
7d352a49b7 Added RTEMS_IO_ERROR status code. 1997-08-28 13:59:41 +00:00
Joel Sherrill
3473f60548 Added error numbers and changed default error code from 0 to -1 for
error number mapping.
1997-08-27 20:33:49 +00:00
Joel Sherrill
b1459dc199 Moved reentrant wrappers into their own file. 1997-08-22 19:17:09 +00:00
Joel Sherrill
78d87bd3f3 Fixed iop/memory leak bug reported by Dan Dickey. 1997-08-22 19:16:47 +00:00
Joel Sherrill
0789abefbc new implementation of mc68681.h 1997-08-04 22:17:17 +00:00
Joel Sherrill
28a4b1dc17 moved from main include directory 1997-08-04 21:39:07 +00:00
Joel Sherrill
9deb5b8b28 Katsutoshi Shibuya (shibuya@mxb.meshnet.or.jp)of BU-Denken Co., Ltd.
(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.
1997-08-01 18:12:11 +00:00
Joel Sherrill
e71ce0712c updated with new license information per Tony Bennett. 1997-04-22 17:47:16 +00:00
Joel Sherrill
03f2154e51 headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
1997-04-22 17:20:27 +00:00
Joel Sherrill
e39e6f77cf added code to prevent attempts to clean up the library when rtems is
down.
1997-04-09 20:05:59 +00:00
Joel Sherrill
e2d7955973 Added ka9q tcpip stack and network driver for the gen68360. This effort
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.
1997-04-09 14:05:50 +00:00
Joel Sherrill
bd71da714e removed noreturn attribute to eliminate warnings. 1997-04-07 21:30:42 +00:00
Joel Sherrill
1dc3500b21 added include of rtems.h so the proper macro definitions would be present. 1997-03-10 19:38:30 +00:00
Joel Sherrill
aea06ed443 Modifications to make go32 build using new i386-go32-rtems toolset
and gcc 2.8.x -specs options.
1997-01-29 15:54:31 +00:00
Joel Sherrill
dcec5a4d60 Merged newlib's libgloss support for rtems into this directory. This
should simplify the build process.
1997-01-29 00:29:25 +00:00
Joel Sherrill
331d9e3b91 Added asserts for unhandled conditions which need to result in error
statuses being returned to gnat runtime in order for it to raise
use_errors.  This was needed to identify the places in gnat's runtime
which needed to be addressed.
1996-11-08 20:08:52 +00:00
Joel Sherrill
9e406d983a added ENOSYS support 1996-10-15 21:58:32 +00:00
Joel Sherrill
0c35efe816 dummy function added to satisfy ANSI 1996-09-18 20:54:05 +00:00
Joel Sherrill
5e9a59462c modified to support non-GNU compilers and to use calloc rather than
malloc for per-thread reentrancy structure allocation.
1996-09-18 20:53:35 +00:00
Joel Sherrill
1f2d5dfcb3 added malloc_walk
miscellaneous corrections in casting.
1996-09-18 20:52:47 +00:00
Joel Sherrill
b1c215e8ab added prototype for malloc_walk 1996-09-18 20:52:16 +00:00
Joel Sherrill
4bab8e2d35 get_errno: no longer needed by gnat runtime 1996-08-06 17:45:12 +00:00
Joel Sherrill
e21cf313ca another attempt at the rtems_posix_api ifdef 1996-07-03 14:24:07 +00:00
Joel Sherrill
8d7a1d76e2 minor changes to insure the few posix-ish routines needed in non-posix
mode have stubs.
1996-06-18 19:06:58 +00:00
Joel Sherrill
da4b6e88ed use exit() from newlib by default. 1996-06-12 22:50:03 +00:00
Joel Sherrill
09b1f1ad2c patch from Tony Bennett on the ifdef for O_NDELAY 1996-06-06 17:57:39 +00:00
Joel Sherrill
685f4d65d4 sleep moved into newlibc.c so the sleep.o object would not be in the library.
This implementation of sleep is now only used when the POSIX API is not
configured.
1996-06-03 18:59:24 +00:00
Joel Sherrill
b169590e9a added dummy versions of __kill and __getpid which assert(0) so that
applications which use only the rtems api (i.e. not the posix api) will
link.
1996-05-30 20:34:46 +00:00
Joel Sherrill
7f72217e97 comment clean up 1996-05-29 21:27:26 +00:00
Joel Sherrill
613cff6f58 removed all ifdef's on NOT_IMPLEMENTED. 1996-05-29 16:54:52 +00:00
Joel Sherrill
e6d4b1d086 added initial posix configuration support 1996-05-28 13:13:34 +00:00
Joel Sherrill
8b2ecf8546 updates from Tony Bennett 1996-05-23 15:37:38 +00:00
Joel Sherrill
f4719d5aaf These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.
1996-05-22 22:32:39 +00:00
Joel Sherrill
8389628c1b updates from Tony Bennett 1996-04-22 16:53:46 +00:00
Joel Sherrill
1f94ed6bfd Updates from Tony Bennett. 1996-04-22 16:50:17 +00:00
Joel Sherrill
e6424462c3 As part of reducing visibility into rtems and hiding the .inl files
from the application code, this file required more visibility than
is given by default to application code.
1996-03-06 21:37:43 +00:00
Joel Sherrill
1a8fde6ca2 Removed prototyes for static inline routines and moved the comments into
the inline implementation.   The impetus for this was twofold.  First,
it is incorrect to have static inline prototypes when using the macro
implementation.  Second, this reduced the number of lines in the include
files seen by rtems.h by about 2000 lines.

Next we restricted visibility for the inline routines to inside the
executive itself EXCEPT for a handful of objects.  This reduced the
number of include files included by rtems.h by 40 files and reduced
the lines in the include files seen by rtems.h by about 6000 lines.

In total, these reduced the compile time of the entire RTEMS tree by 20%.
This results in about 8 minutes savings on the SparcStation 10 morgana.
1996-03-06 21:34:57 +00:00
Joel Sherrill
8cbbe312b6 Dispersal of internal thread handler resulted in the SYSI task being
only required in a multiprocessor system.  It was replace by the MPCI
Receive Server.  As a result, the CPU Table field for extra stack for
the SYSI task was changed to be extra stack for the MPCI Receive Server.
1996-02-21 14:47:03 +00:00
Joel Sherrill
eaa442fc46 added a task begin extension for unix simulator configurations. This extension
insures that stdout is line buffered (see setvbuf).
1996-01-19 22:20:40 +00:00
Joel Sherrill
6661eaa111 Split error handler into its own directory. 1996-01-15 23:06:16 +00:00