Commit Graph

1149 Commits

Author SHA1 Message Date
Joel Sherrill
6d6f1b34e1 Fixed libhwapi to reflect eeprom to non volatile memory rename. 1998-01-20 19:30:48 +00:00
Joel Sherrill
bffb938799 Removed PROJECT_HOME and CONFIG_DIR variables. 1998-01-20 19:30:30 +00:00
Joel Sherrill
3294650cc3 Added _times_r. 1998-01-19 22:31:23 +00:00
Joel Sherrill
866c465f53 more info from Eric 1998-01-19 22:27:56 +00:00
Joel Sherrill
4dc0fd685b Patch from Eric Norum:
With this in place, it is possible to fdopen a TCP stream socket and
  getc/fprintf/etc. on the STDIO stream!
1998-01-19 22:22:25 +00:00
Joel Sherrill
6f9c75c322 Ralf Corsepius reported a number of missing CVS Id's:
> 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-16 16:56:48 +00:00
Joel Sherrill
3a7782b09e Jennifer found some uninitialized variables:
+ major and minor number elements in rtems_termios_open.

  + arg->ioctl_return in rtems_termios_ioctl routine.
1998-01-16 15:37:20 +00:00
Joel Sherrill
ecacc1196c Ralf Corsepius <corsepiu@faw.uni-ulm.de> suggested removing these
lines so setting RTEMS_BSP in an environment variable works even
from the top level directory.
1998-01-15 22:51:41 +00:00
Joel Sherrill
2f03a608dc Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
RTEMS_CHECK_FILES_IN uses a sequence of find, sort and sed to collect
  all *.in files in a given subdirectory.

  The current version uses : `find $1 -name $2 -print | sed 's%\.in%%' |
  sort` with $1 being a subdirectory $2 set to Makefile.in.

  This works as long all subdirectories start with a letter that is
  lexically bigger than the letter M, but will fail otherwise.
1998-01-15 22:48:30 +00:00
Joel Sherrill
87904ba261 Error reported by Duncan Smith <dds@flavors.com>:
>> >>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).
1998-01-15 21:39:15 +00:00
Joel Sherrill
300c8a76ff Added "done" to end of list of BSPs found. 1998-01-15 21:31:37 +00:00
Joel Sherrill
566aea7ddb Fixed code for --disable-rtems-inlines so that it would complete
configuration successfully.

Added code to detect configuring macros and POSIX API at the same time.
There is no macro implementation for the POSIX API.
1998-01-15 20:29:51 +00:00
Joel Sherrill
35a1ec9933 Updates from Eric Norum. Changed CPU CFLAG and went to a common name
for the network driver attach entry point.
1998-01-06 20:18:21 +00:00
Joel Sherrill
2872e0bb1c Changed initial settings of first time. 1998-01-06 15:47:37 +00:00
Joel Sherrill
b2225d72ba Fixed spacing. 1998-01-06 15:40:35 +00:00
Joel Sherrill
2934c3e3d8 Updated for the first time in a long while. 1997-12-23 16:24:21 +00:00
Joel Sherrill
4f7fd59a87 Added CONFIGURE_GNAT_KEYS to correct the number of keys configured
for GNAT.  It was the number of Ada tasks when in fact the run-time
only required a single key.

Also added the CONFIGURE_MAXIMUM_FAKE_ADA_TASKS constant to account
for resources allocated for each non-Ada task/thread which invokes
the Ada run-time implicitly through an Ada call.
1997-12-23 16:03:43 +00:00
Joel Sherrill
ede9a6914b Removed reference to CC_FOR_TARGET since I don't want anyone overriding
it anyway. :)

Added hints about --prefix and --program-prefix options.
1997-12-22 22:40:59 +00:00
Joel Sherrill
fcb114c188 Made --enable-gcc28 the default. 1997-12-22 20:33:55 +00:00
Joel Sherrill
c257ec4eb4 Fixes from Eric Norum. C++ support added in previous version was broken:
1) In my haste to add C++ constructor/destructors to the 68360
   linkcmds scripts I managed to break all existing 68360 programs.
   Linker scripts which actually produce a working executable are
   contained below.  The problem was that the constructor/destructors
   weren't included before the etext symbol.

On top of that Eric and I appear to have problems with attachments:

   2) In deciphering the above problem I think I stumbled across the
   reason you've had with patches mailed from me.  I noticed that the
   linkcmds (and linkcmds.bootp) scripts in the latest distribution have
   a control-M (carriage return) at the end of each line.  Could you
   check the files below before installing them in the distribution and
   see that there aren't returns in the files?  Maybe if I send
   everything as a tar attatchment things will work better.
1997-12-22 18:23:58 +00:00
Joel Sherrill
608641e6d2 Corrected prototypes for all termios console write driver entries to
properly reflect the const on the buffer pointer being passed in.
1997-12-22 17:29:51 +00:00
Joel Sherrill
2ab1b3ac52 Now generating this file with autoconf to avoid having to embed so
much target specific information in the script.
1997-12-22 17:28:32 +00:00
Joel Sherrill
86765accd2 Changed invocation of size_rtems to match new autoconf'ed version. 1997-12-22 17:27:49 +00:00
Joel Sherrill
4bf453a349 Changed from .align to .p2align to avoid differences in meaning of
.align between i386-rtems (real number on .align) and i386-go32-rtems
(power of 2).
1997-12-22 17:27:17 +00:00
Joel Sherrill
6d5769fd35 Added size_rtems as a generated file. 1997-12-22 17:26:19 +00:00
Joel Sherrill
bfa613bdf8 Added lines to build sizeinfo.txt which is automatically generated now
by size_rtems.
1997-12-22 15:06:49 +00:00
Joel Sherrill
8fe6d358bf Moved -qnolinkcmds option so arguments passed on the command line are
interpreted at the right point per Eric Norum's discovery:

    The problem with the my previous `fix' for adding linker commands
    was with the ordering of the options to the linker.

    For example, to make a larger heap size, the application Makefile would
    CFLAGS_LD = -Wl,--defsym -Wl,HeapSize=0x40000

    The command passed to the linker would be :
    m68k-rtems-ld .... -T xxx/linkcmds .... --defsym HeapSize=0x40000 .....

    This doesn't work because the script in linkcmds inserts a default
    value for HeapSize if HeapSize is not defined by the time the linker
    looks at the linkcmds script.

    The solution seems to be to move the -T linkcmds%s in the bsp_specs
    file out of the link specfication and into the lib specification -- a
    little unorthodox, perhaps, but it seems to work!
1997-12-20 16:59:11 +00:00
Joel Sherrill
1587af614b Update from Eric Norum to include C++ support. 1997-12-20 16:37:29 +00:00
Joel Sherrill
f7fa7d76ce Modified bsp_specs per Eric Norum's suggestion to handle -qnolinkcmds
switch which lets the user specify a different linker script.
1997-12-19 14:48:19 +00:00
Joel Sherrill
d637822384 Pass in PROJECT_HOME so rtems-glom can run if the make is invoked
just in this directory.
1997-12-16 19:02:12 +00:00
Joel Sherrill
87cec4844b Changed RTEMS_BSP to RTEMS_BSP_LIST. 1997-12-16 18:40:08 +00:00
Joel Sherrill
9e86f6d6df Corrected minor things including changing RTEMSBSP to RTEMS_BSP. 1997-12-16 18:39:28 +00:00
Joel Sherrill
d2632274d6 Switched command line override variable RTEMSBSP to RTEMS_BSP
and internally generated list of BSPs to RTEMS_BSP_LIST to make
BSP override from the top level directory consistent.
1997-12-16 18:33:45 +00:00
Joel Sherrill
674c900f24 Modified a lot of files to take a first cut at supporting building from
any directory in the build tree.  The only variable which must be set
before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
1997-12-10 16:58:00 +00:00
Joel Sherrill
f99d4f83cc Added missing dependency for libmisc.a based on a bug report by Phil Wilshire. 1997-12-07 16:58:59 +00:00
Joel Sherrill
c436b5b84d Fixed indexing bug reported by Phil Wilshire. 1997-12-07 16:58:13 +00:00
Joel Sherrill
80a16ec48d Redid hwapi makefile search to remove need for -follow option to find.
Avoid generating Makefiles for KA9Q and C++ when they are disabled.
1997-12-06 15:44:46 +00:00
Joel Sherrill
af231b4fde Removed need for -follow option to find. 1997-12-06 15:43:26 +00:00
Joel Sherrill
ccb806c59d Changed the uuencode line to work better with VPATH setups. 1997-12-06 15:12:07 +00:00
Joel Sherrill
01a5f6b2c6 Moved include of rtems/score/cpu.h to make sure TRUE and FALSE were defined.
This simple error resulted in the wrong FP context structure being used
for hardware contexts on the m68k.  This was a difficult problem to find.
1997-12-06 15:09:30 +00:00
Joel Sherrill
b5fe39d2a9 Reworked mkdir line to invoke smaller lines. 1997-12-04 18:38:33 +00:00
Joel Sherrill
744df7952d Added better/more correct support for Linux and Solaris simulators. 1997-12-04 18:38:05 +00:00
Jennifer Averett
3013e18f74 Modified SPARC to PowerPC. Modified specific requirements to be
for the PowerPC instead of the SPARC.
1997-12-02 16:27:15 +00:00
Jennifer Averett
bfad6e21ed Added definations for serial_per_sec, serial_rate, and serial_xon_xoff. 1997-12-02 16:02:45 +00:00
Jennifer Averett
ba2d45e6a7 Modified referances to SPARC to PowerPC. Updated the Information Table to
match the one in CPU.H.  Added spurious_handler and exceptions_in_RAM items.
Added definations for clicks_per_usec, spurious_handler,exceptions_in_RAM,
serial_external_clock, serial_cts_rts, timer_average_overhead, and
timer_least_valid.
1997-12-02 15:38:10 +00:00
Joel Sherrill
7150f00f5b Inclusion of PC386 BSP submitted by Pedro Miguel Da Cruz Neto Romano
<pmcnr@camoes.rnl.ist.utl.pt> and Jose Rufino <ruf@asterix.ist.utl.pt>
of NavIST (http://pandora.ist.utl.pt/).
1997-12-01 22:06:48 +00:00
Joel Sherrill
ba1a2af91e Fixed test for RTEMS_HAS_POSIX_API so the executive POSIX API related
Makefiles would be properly generated.
1997-12-01 21:27:24 +00:00
Joel Sherrill
b9ca4ba9c9 Even more cleanup to make sure all the --enable/disable options avoid
generating Makefiles where possible.

Added code to make sure make/custom file and bsp directory exist for
configured bsps.  This code also accounts for "aliased" BSPs.
1997-12-01 17:07:52 +00:00
Joel Sherrill
f4cec63dfa Since test suite Makefiles are not always generated, use wildcard
to determine which directories to descend into.
1997-11-30 18:36:52 +00:00
Joel Sherrill
0f3936522e Corrected call to rtems_termios_open. 1997-11-30 18:36:13 +00:00