Commit Graph
584 Commits
Author SHA1 Message Date
Joel Sherrill 308aed9b39 Added numerous entries to make the memory calculation more accurate:
+ 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-27 13:49:42 +00:00
Joel Sherrill 20fff72b41 Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.h
so confdefs.h could see it.
1998-04-27 13:46:45 +00:00
Joel Sherrill 9f0dfeafdb Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict with
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-27 13:46:18 +00:00
Joel Sherrill 4955afcca5 rtems_libio_number_iops is now defined in confdefs.h so the maximum
file descriptors is user configurable.
1998-04-18 17:25:35 +00:00
Joel Sherrill 4390882539 Changed to account for libio's maximum_semaphores as well as its
memory requirements.

Also added variable to tell libio how many file descriptors to allocate.
1998-04-18 17:24:56 +00:00
Joel Sherrill b25d3d03df Changed version number so script will work. 1998-04-18 17:24:04 +00:00
Joel Sherrill 8a1636d39f Added bh, ch, dh, bl, cl, and dl register macros. 1998-04-15 22:16:22 +00:00
Joel Sherrill bd9c3d1e76 Numerous changes which in total greatly reduced the amount of source
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-15 20:50:31 +00:00
Joel Sherrill 0451b44f36 Per suggestion from Eric Norum, went from one initial extension set
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-15 00:02:10 +00:00
Joel Sherrill 7780978058 changed version to ralf-980414 1998-04-14 23:00:33 +00:00
Joel Sherrill 01a49905ae Account for interrupt stack space 1998-04-14 22:56:31 +00:00
Joel Sherrill 4381e50e1e Ralf Corsepius suggested a way to get rid of UNIX compiler files and use gcc-target-default.cfg 1998-04-14 22:44:49 +00:00
Joel Sherrill ab97da95b3 Added stack checker extension 1998-04-14 21:30:10 +00:00
Joel Sherrill 3b89891244 Now accounts for region used by RTEMS malloc and extension used
by newlib.
1998-04-14 20:54:26 +00:00
Joel Sherrill 993e1b5c73 Refreshing effort from Avenger. 1998-04-14 19:54:24 +00:00
Joel Sherrill c796ea979c More stuff removed as a result of using newlib's isatty() implementation.
These were noticed by Eric Norum.
1998-04-06 15:57:58 +00:00
Joel Sherrill b82c9578f4 Removed isatty() since we are now using newlib's implementation as
a result of enabling the newlib POSIX directory.
1998-04-03 18:45:42 +00:00
Joel Sherrill a456074d78 Made these have real constants. 1998-04-03 18:44:44 +00:00
Joel Sherrill 9a355cb341 changed version to 4.0.0-beta2 1998-03-31 16:59:07 +00:00
Joel Sherrill 5e34bf4b95 Added "sigemptyset()" call to insure that the memcmp() would work.
It appears that the new glibc does not clear all the bits of the signal
set with a sigprocmask.
1998-03-31 14:19:27 +00:00
Joel Sherrill a30359bbdd Changed int to unsigned32 to match cpu.h. 1998-03-27 19:42:58 +00:00
Joel Sherrill 3973e40a54 Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.
Bug report from Olivier Hainque <hainque@inf.enst.fr> on SPARC Solaris 2.6.
1998-03-27 16:34:25 +00:00
Joel Sherrill c80add4623 m68k software interrupt stack support from Chris Johns and Eric Norum. 1998-03-25 18:46:47 +00:00
Joel Sherrill ddf142da51 Added _XOPEN_SOURCE definition to allow use of UNIX IPC. 1998-03-24 20:53:48 +00:00
Joel Sherrill abbd5b1bea changed version to 4.0.0-beta1 1998-03-24 19:14:47 +00:00
Joel Sherrill bdac86b583 Real definition for the beginning of the data section per Eric Norum's
suggestion.
1998-03-24 17:13:03 +00:00
Joel Sherrill 72b397aafa Corrected register constraints per suggestion from Thomas Doerfler, IMD
<td@imd.m.isar.de>.
1998-03-24 17:10:44 +00:00
Joel Sherrill d662fef884 More cpu model flags converted to using cpp predefines. 1998-03-24 16:33:32 +00:00
Joel Sherrill 3ec7bfc7c4 Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros for
the CPU family name constants.
1998-03-24 16:24:39 +00:00
Joel Sherrill 42dc81e206 Renamed hppa1_1 to hppa1.1 1998-03-23 23:08:10 +00:00
Joel Sherrill e4829a055d renamed ppc to powerpc 1998-03-23 22:54:55 +00:00
Joel Sherrill 2b4aec86fc Fixed spacing to be consistent with other CPUs. 1998-03-21 15:31:13 +00:00
Joel Sherrill 771dac2a27 POSIX not properly conditionalized 1998-03-21 14:34:58 +00:00
Joel Sherrill 25804b6077 Patch from Eric Norum <eric@skatter.usask.ca>:
Here is my attempt at bringing m68k.h into line with the predefined
symbols provided by egcs-1.0.2-prerelease (with R. Kirkham's patch so
that -mcpu32, etc. implies -msoft-float).
1998-03-20 17:38:53 +00:00
Joel Sherrill 50cf94da7e SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-03-20 17:16:31 +00:00
Joel Sherrill 79597c724b Removed use of dc. David Fiddes reported that this is part of the
GNU tool bc which is not always installed under Linux and seldom
present under non-UNIX environments like Win32.
1998-02-27 18:18:47 +00:00
Joel Sherrill 9b39bab01d Modified to make it possible for an ISR to return a mutex which did
not use priority ceiling or priority inheritance protocols.
1998-02-20 20:23:57 +00:00
Joel Sherrill a66186ec6a Added misisng line continuation. 1998-02-20 19:57:53 +00:00
Joel Sherrill 88a877b30c changed version to 980219 1998-02-19 23:02:45 +00:00
Joel Sherrill b3dcd9a271 Accounted for fixed system overhead. 1998-02-19 22:54:35 +00:00
Joel Sherrill 00632e5337 changed version to 980218 1998-02-18 20:33:44 +00:00
Joel Sherrill c7744ee03b Ralf Corsepius noted that there was a dead path in _Thread_Initialize. 1998-02-18 19:34:51 +00:00
Joel Sherrill 60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill 818c361b94 Renamed init.o to exinit.o to avoid naming conflicts with tests. 1998-02-17 23:34:15 +00:00
Joel Sherrill 78fdf2b8c0 Installing sptables with version information. 1998-02-17 23:33:53 +00:00
Joel Sherrill 70a88c31dd renamed init.c exinit.c 1998-02-17 22:16:02 +00:00
Joel Sherrill e810408ea7 First cut at automatic insertion of version information. 1998-02-17 21:39:36 +00:00
Joel Sherrill 9646d5bea1 Patch from Eric Norum <eric@skatter.usask.ca>:
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-17 18:46:38 +00:00
Joel Sherrill b4589477a7 Swapped C++ and ASM "endifs" 1998-02-17 13:21:37 +00:00
Joel Sherrill 360930c376 Install size info using "standard" suffix. 1998-02-11 21:56:30 +00:00