summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-05-04Patch from Eric Norum to switch to termios callback structure, addJoel Sherrill2-38/+41
support for device driver support on tcsetattr(), and hardware flow control callbacks.
1998-05-04Added default value for CONFIGURE_MAXIMUM_POSIX_THREADS since it isJoel Sherrill1-0/+1
used to calculate the amount of memory used by tasks whether the POSIX API is enabled or disabled.
1998-04-30Removed redundant "* 1024" which exploded the size of the workspace.Joel Sherrill1-2/+2
1998-04-27Cosmetic fix from Eric Norum:Joel Sherrill1-1/+1
This makes the headings line up above the columns a little better. Now that it's so easy to include/exclude the stack check code I find myself adding it to all my `debug' targets.
1998-04-27Fixed CVS IdJoel Sherrill1-1/+1
1998-04-27Added numerous entries to make the memory calculation more accurate:Joel Sherrill1-1/+67
+ POSIX threads + Ada tasks + POSIX threads API support + POSIX condition variables + POSIX keys (still do not account for data fields) + POSIX mutexes + POSIX queued signals + added macro for extra memory for task stacks + default value for CONFIGURE_MAXIMUM_FAKE_ADA_TASKS + extra memory for Ada task stacks
1998-04-27Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.hJoel Sherrill1-5/+1
so confdefs.h could see it.
1998-04-27Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict withJoel Sherrill1-2/+7
the system signals.h file. Moved POSIX_signals_Siginfo_node type definition to this file to allow confdefs.h to know the size per queued signal.
1998-04-18rtems_libio_number_iops is now defined in confdefs.h so the maximumJoel Sherrill1-1/+1
file descriptors is user configurable.
1998-04-18Changed to account for libio's maximum_semaphores as well as itsJoel Sherrill1-1/+5
memory requirements. Also added variable to tell libio how many file descriptors to allocate.
1998-04-15Fixed so this would compile without warning.Joel Sherrill1-0/+2
1998-04-15Added bh, ch, dh, bl, cl, and dl register macros.Joel Sherrill2-0/+14
1998-04-15Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill2-19/+9
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
1998-04-15Stack check now initialized as part of initial extension set.Joel Sherrill3-0/+65
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1-12/+13
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill5-16/+44
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1998-04-14Account for interrupt stack spaceJoel Sherrill1-1/+12
1998-04-14Ralf Corsepius suggested a way to get rid of UNIX compiler files and use ↵Joel Sherrill1-1/+0
gcc-target-default.cfg
1998-04-14Added stack checker extensionJoel Sherrill1-2/+14
1998-04-14Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1-4/+16
by newlib.
1998-04-06Increased stack space of the monitor task.Joel Sherrill1-1/+1
1998-04-06More stuff removed as a result of using newlib's isatty() implementation.Joel Sherrill1-11/+0
These were noticed by Eric Norum.
1998-04-03Removed isatty() since we are now using newlib's implementation asJoel Sherrill1-1/+0
a result of enabling the newlib POSIX directory.
1998-04-03Made these have real constants.Joel Sherrill1-6/+6
1998-03-31Added "sigemptyset()" call to insure that the memcmp() would work.Joel Sherrill1-0/+4
It appears that the new glibc does not clear all the bits of the signal set with a sigprocmask.
1998-03-27Changed int to unsigned32 to match cpu.h.Joel Sherrill1-1/+1
1998-03-27Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.Joel Sherrill1-2/+2
Bug report from Olivier Hainque <hainque@inf.enst.fr> on SPARC Solaris 2.6.
1998-03-25m68k software interrupt stack support from Chris Johns and Eric Norum.Joel Sherrill1-4/+0
1998-03-24Added _XOPEN_SOURCE definition to allow use of UNIX IPC.Joel Sherrill1-0/+1
1998-03-24Real definition for the beginning of the data section per Eric Norum'sJoel Sherrill2-4/+4
suggestion.
1998-03-24Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill1-4/+4
the CPU family name constants.
1998-03-20SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill3-0/+506
1998-02-20Modified to make it possible for an ISR to return a mutex which didJoel Sherrill1-2/+20
not use priority ceiling or priority inheritance protocols.
1998-02-20Added misisng line continuation.Joel Sherrill1-1/+1
1998-02-19Accounted for fixed system overhead.Joel Sherrill1-2/+10
1998-02-18Ralf Corsepius noted that there was a dead path in _Thread_Initialize.Joel Sherrill1-6/+2
1998-02-17updated copyright to 1998Joel Sherrill246-247/+247
1998-02-17Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-2/+5
I've gone through and cleaned up the TFTP driver so that it fits into the libio system. Here's the comment from the new driver: /* * Usage: * * To open `/bootfiles/image' on `hostname' for reading: * fd = open ("/TFTP/hostname/bootfiles/image", O_RDONLY); * * The `hostname' can be a symbolic name or four * dot-separated decimal values. * * To open a file on the host which supplied the BOOTP * information just leave the `hostname' part empty: * fd = open ("/TFTP//bootfiles/image", O_RDONLY); * */ You can `fopen' TFTP files the same way: fp = fopen (fullname, "r"); nread = fread (cbuf, sizeof cbuf[0], sizeof cbuf, fp); The diff's are included below. I've also modified the TFTP demo program and the bootstrap PROM example. They should be on my ftp site `soon'. The one thing I don't like is the way I had to do an end-run on the libio routines to get errno passed back from my driver to the application (since there are some errno codes that don't map to RTEMS status codes). My approach was to set errno in the driver and have the driver routine return an RTEMS status code that I `know' isn't in the errno_assoc[] in libio.c. Perhaps there should be an RTEMS_TRANPARENT_ERRNO status code (or something similar) which driver routines could return to indicate that the driver routine has set errno and that the libio routines shouldn't attempt to map the returned status code to errno. Actually, I think the entire I/O system needs looking at -- as you've already mentioned. The hacks I've dropped in to syscalls.c to make fstat work, for example, are *not* shining examples of good code......
1998-02-04Patch from Ralf Corsepius to reduce the amount of memory consumed byJoel Sherrill1-2/+6
the workspace by default.
1998-02-04Ralf Corsepius noticed that generally was spelled incorrectly.Joel Sherrill1-1/+1
1998-02-03Added call to libc_wrapup() in _exit. This fixes a problem whereJoel Sherrill1-0/+1
the atexit routines on the global reentrancy structure were not invoked. But it does not seem like a 100% correct solution.
1998-01-30Corrected Linux port for glibc2Joel Sherrill3-2/+5
1998-01-28Change to remove warning on glibc2 systems per Ralf Corsepius'sJoel Sherrill1-1/+6
suggestion.
1998-01-23Solaris port updates from Chris JohnsJoel Sherrill4-22/+14
1998-01-20Removed warning per Chris Johns' suggestion.Joel Sherrill2-2/+2
1998-01-19Added _times_r.Joel Sherrill1-0/+7
1998-01-19Patch from Eric Norum:Joel Sherrill1-0/+1
With this in place, it is possible to fdopen a TCP stream socket and getc/fprintf/etc. on the STDIO stream!
1998-01-16Ralf Corsepius reported a number of missing CVS Id's:Joel Sherrill3-3/+3
> RTEMS is under CVS control and has been since rtems 3.1.16 which was > around May 1995. So I just to add the $Id$. If you notice other files > with missing $Id$'s let me know. I try to keep w\up with it. Now that you have asked -- I'll attach a list of files lacking an RCS-Id to this mail. This list has been generated by a little sh-script I'll also enclose.
1998-01-16Jennifer found some uninitialized variables:Joel Sherrill1-1/+7
+ major and minor number elements in rtems_termios_open. + arg->ioctl_return in rtems_termios_ioctl routine.
1998-01-15Error reported by Duncan Smith <dds@flavors.com>:Joel Sherrill1-1/+1
>> >>There is a 30 day error in _TOD_Days_since_last_leap_year[2..3] >> > >> >Thanks. >> >What's the condition to hit this error? >> >Every year 4n+2 and 4n+3 ? >> >(i.e. 1998, 1999, 2002, 2003, ...) >> > >> OK: 96 97 00 01 04 05 ... >> Bad: 98 99 02 03 06 07 ... There is also a problem in newlib 1.7.x reported at the same time: >> I found another, that would strike only on 2/29/2000, or other leapyears. >> Only a problem on 1 day. >> >> Joel: FYI, there is a bug in Newlib localtime.c, localtime or (_tm_time). >> Ours is modified for dst and timezones, but the bug was in original source. >> I have not looked at the latest public source (nor do I know where to find >> it).