Commit Graph

2442 Commits

Author SHA1 Message Date
Joel Sherrill
0294cd4f2e Regenerated. 1998-10-15 19:16:41 +00:00
Joel Sherrill
39bc8fdfd8 Patch from Thomas Doerfler <td@imd.m.isar.de> to include the
ppc403 interrupt control libcpu component.
1998-10-15 18:47:09 +00:00
Joel Sherrill
4cfdf32107 Uncommented the conditional stuff for "good gas 16 bit code". 1998-10-15 14:38:10 +00:00
Joel Sherrill
11cfb6f7f6 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
1. Rtems contains some perl scripts that use hard-coded paths to
      /usr/bin/perl or /usr/local/bin/perl I have already fixed these
      problems by adding some checks to configure.in.   While doing this,
      I also cleaned up some more autoconf related problems for generating
      shell scripts.  This patch might seem a bit scary to you, but I am
      quite confident it won't break something (I've been testing it for
      almost a week now, however it might introduce typos for a limited
      number configurations I don't have access to - But it shouldn't be
      a problem for you to test them :-).

   I expect to get this finished tonight, hence you will very likely
   have the patch when you get up tomorrow.

   Changes:

   * Check for PERL and disable all PERL scripts if perl wasn't found.
   * Generate all KSHELL-scripts with autoconf instead of make-script
   * Automatic dependency handling for autoconf generated KSHELL or PERL
     scripts (make/rtems.cfg)

   Notes:
   * this patch contains new files and deletes some other files.
   * The patch is relative to rtems-4.0.0-beta4 with my previous
     rtems-rc-981014-1.diff patch applied.

   Testing:
      I tested it with sh-rtems and posix under linux. Now all targets
      which are touched by this patch and which are not used while building
      for sh-rtems and posix still need to be tested. AFAIS, only the
      sparc/erc32 BSP should be affected by this criterion. And if you
      like to, you should also consider testing it on a Cygwin32 and a
      Solaris host for one arbitrary BSP.
1998-10-14 20:19:30 +00:00
Joel Sherrill
946b3cb0cf Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
2. "make profile" doesn't work. It aborts when building host-tools
        for embedded targets. I didn't yet have enough time to fix this
        problem.  AFAIS this problem is related to handling of
        LDFLAGS_PROFILE[|_V] in gcc.cfg.in.  For host applications, we use
        gcc for linking host applications, too. With profiling enabled
        CFLAGS_PROFILE_V contains -pg and is used to compile, but
        LDFLAGS_PROFILE_V is empty, hence -pg will not be passed to the
        linker causing gcc to fail to link, because it can't resolve some
        symbols introduced by compiling with -pg.

    I am not sure if I can provide a patch for this - Ether it is trivial
    to fix or requires basic work on host configuration ;-

    Fixing this one was trivial - But hard to trace.

    LDFLAGS_PROFILE_V needs to contain the same flags as CFLAGS_PROFILE_V,
    if gcc is used for linking (What else should have been expected ?,
    :-). The same problem was present for *_DEBUG_V, but apparently wasn't
    noticed by anybody, because things didn't break, but were silently
    ignored.

    I fixed these problems by setting these flags in configure.in whenever
    gcc is reported to be the host-compiler. For non-gcc host compilers
    "make debug" and "make profile" now becomes the same as an ordinary
    "make". This is a hack and addressing this problen could be more
    sophisticated, but I don't think it gives much sense to support
    compile variants for any host program (Who will ever try to
    profile/debug host tools?).  Therefore I don't think it's useful
    to invest more effort into this problem.
1998-10-14 19:42:45 +00:00
Joel Sherrill
cb160321fe Updated. 1998-10-14 15:29:05 +00:00
Joel Sherrill
0cd2bd96c3 Added rest of opendir family and made it compile. 1998-10-13 18:04:16 +00:00
Joel Sherrill
928395ea56 New files. 1998-10-13 16:07:38 +00:00
Joel Sherrill
5b1f23c4eb Added missing BSPs. 1998-10-13 15:03:43 +00:00
Joel Sherrill
714137ef7c Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct minor
cosmetic things.
1998-10-13 15:03:27 +00:00
Joel Sherrill
fbd532080c Modified to avoid building certain files under UNIX. 1998-10-13 14:59:35 +00:00
Joel Sherrill
4934fe62d1 New file 1998-10-12 21:50:44 +00:00
Joel Sherrill
a1c57e451c Added idle_task_stack_size field to CPU Table. 1998-10-12 21:27:10 +00:00
Joel Sherrill
68c460269a Added message to "return -1 and set errno". 1998-10-12 21:26:39 +00:00
Joel Sherrill
99b0787fa6 Fixed typo. 1998-10-12 21:26:13 +00:00
Joel Sherrill
5f4c1097fa Updated to reflect MG-10 IMFS effort. 1998-10-12 21:25:52 +00:00
Joel Sherrill
4b8bf95209 Added some fields and changed last KA9Q reference to FreeBSD. 1998-10-12 21:25:10 +00:00
Joel Sherrill
abfbfa7c5a Changed section numbers. 1998-10-12 21:24:52 +00:00
Joel Sherrill
ff460e586e Changed commands for installing numerous files to include $(SRCDIR). 1998-10-12 21:24:26 +00:00
Joel Sherrill
e2e52a4a2a Changed command for installing the footer. 1998-10-12 21:23:46 +00:00
Joel Sherrill
91356bcb50 Typo which prevented baud rate changes from Thomas Doerfler <td@imd.m.isar.de>. 1998-10-12 20:47:09 +00:00
Joel Sherrill
70b45c643d changed version to 4.0.0-beta4 1998-10-12 17:40:25 +00:00
Joel Sherrill
22bb7cd136 New files. 1998-10-12 17:28:33 +00:00
Joel Sherrill
df26332500 Regenerated. 1998-10-12 17:24:29 +00:00
Joel Sherrill
d2018142ce Removed fork(), execv(), and wait() since they are now stubbed in the
POSIX API.
1998-10-12 17:23:28 +00:00
Joel Sherrill
f7f64f630d Added opendir and readdir. 1998-10-12 17:23:03 +00:00
Joel Sherrill
7c0ee06983 Added helas403 and changed column spacing. 1998-10-12 17:22:41 +00:00
Joel Sherrill
b19cb179ab Added header files per request from Chris Johns to avoid problems
in include file order.
1998-10-12 17:21:12 +00:00
Joel Sherrill
87dea1e4d1 Fixed typo spotted by Jeff Mayes. 1998-10-09 16:47:24 +00:00
Joel Sherrill
42c0b9ee13 NEXT_GAS should have been NEW_GAS. Spotted by Emmanuel Raguet <raguet@crf.canon.fr>. 1998-10-07 14:54:02 +00:00
Joel Sherrill
959d75263b Corrected typo pointed out by Pollak Leon <leonp@plris.com>. 1998-10-07 14:39:58 +00:00
Joel Sherrill
5ee9068634 changed version to 981006 1998-10-06 21:45:33 +00:00
Joel Sherrill
72640a330e Removed files pc386uart.h and pcibio.h from Makefile since they are
now installed from the shared directory.
1998-10-06 20:56:13 +00:00
Joel Sherrill
d171f8a814 Corrected assembly language to use constants instead of addresses.
Thanks to Rod Barman for this one.
1998-10-06 20:55:28 +00:00
Joel Sherrill
dff5b40d92 Added missing field (idle_task_stack_size) to CPU Table. 1998-10-06 20:54:36 +00:00
Joel Sherrill
dc6763c88f Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add networking
information to this file to be more like the gen68360.
1998-10-06 13:02:51 +00:00
Joel Sherrill
0ebbf66b0e Large patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> which
moves pieces of the pc386 bsp up to a shared level for all i386 BSPs
and modifies the i386ex BSP to use those shared pieces.  Serial remote
debugging is included for both targets.  Erik's notes:

    There are several workarounds in it:

     1) #define NEXT_GAS is hardcoded in pc386/start/start.s
     2)  #define NEXT_GAS is hardcoded in i386ex/start/start.s
     3) #define NEW_GAS is hardcoded in pc386/start16.s
     4) #undef __assert and redeclare _assert hardcoded in console.c for
        both pc386 and i386ex due to my egcs1.1b ~ newlib problem. Should have
        modified t-rtems.cfg ( no time )

    I've tested pc386 with both video and serial consoles and GDB remote.
    All work fine, except that GDB acts weird. ( re: other posting)

    I hope this will work for you.  It took quite some time to locate the
    autoconf error.  The remainder was just grunt work.
    Unfortunately, I think I've unwound the removal of the IBMPCInitVideo
    stuff. Sorry. I REALLY can't spend more time... I've been at this
    conversion to 4.0 locally and updating the release since Sept. 8th, and
    have yet to compile my network driver.... This is as much as I can do
    right now.

    I look forward to the next patch to really test i368ex.  I did make sure
    that the sample tests worked for pc386.
1998-10-05 22:36:06 +00:00
Joel Sherrill
711a2a1133 New file based on information from Eric Norum <eric@skatter.usask.ca>. 1998-10-05 21:26:07 +00:00
Joel Sherrill
41a890a381 Commented out line which ran psim tests twice. 1998-10-05 19:45:04 +00:00
Joel Sherrill
86dc490ac4 Update from Thomas Doerfler <td@imd.m.isar.de>. 1998-10-05 18:21:11 +00:00
Joel Sherrill
fe64e9f42d Regenerated. 1998-10-05 15:22:38 +00:00
Joel Sherrill
09213ec317 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
As mentioned in other mails before, there is are minor inconsistencies in the
  posix custom/*cfg files.

    Linux-posix.cfg sets RTEMS_BSP=posix
    FreeBSD-posix.cfg sets RTEMS_BSP=posix
    Solaris-posix.cfg first sets RTEMS_BSP=posix, later it sets
       RTEMS_BSP=solaris2

    1. Setting RTEMS_BSP=posix is redunant to settings in default.cfg
    2. The solaris variant of setting RTEMS_BSP is merely non-functional.

    The patch attached to this mail should clean up this issue.

    The patch was tested by building the posix bsp under
    i686-pc-linux-glibc1/glibc2 and Solaris2.6 (I did not run any
    rtems program, however) The HPUX9 and FreeBSD configuration files
    were adapted in analogy to the solaris and linux configurations.
1998-10-05 13:53:16 +00:00
Joel Sherrill
bf1ef5ba1d Regenerated after fixing a typo. 1998-10-05 13:50:53 +00:00
Joel Sherrill
f44a81b761 Modifed i386 gas test to put each directive on its own line per
problem report from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
1998-10-05 12:52:31 +00:00
Joel Sherrill
082fc2d5d2 Fixed use of incorrect macro for minimum stack size. 1998-10-05 12:45:53 +00:00
Joel Sherrill
388be68fbc Patch from Ian Lance Taylor <ian@airs.com>:
The reentrant versions of the malloc functions in
        c/src/lib/libc/malloc.c
    do not match the definitions in newlib.  These will be used if you use
    newlib routines such as fdopen.  I believe this patch to malloc.c is
    needed to provide the correct versions.
1998-10-01 21:44:31 +00:00
Joel Sherrill
f0bca9fb67 changed version to 981001 1998-10-01 20:22:37 +00:00
Joel Sherrill
086836e10e Patch from Thomas Doerfler <td@imd.m.isar.de> to improve 403 support.
- c/src/exec/score/cpu/powerpc/ppc.h: some small changes
      (added ppc403 characteristics like a exception vector prefix
      register, some special register definitions). I am quite sure, they
      are compatible with the existing sources, although I did not check

    - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe
      limitation in the exception entries: Due to the current code
      arrangement, the "branch absolute" to the ISR handler may only
      jump to the first 128MByte or the last 128MByte of the 4GByte
      address range. When the ppc403 is running out of ROM, the ROM
      functions are located in the last 128MByte (0xFFF00000 and up).
      These addresses were not handled correctly (sign reduced) in
      "install_raw_handler". The change I added should work on existing
      ppc BSPs aswell...
1998-10-01 18:50:43 +00:00
Joel Sherrill
1c82336395 Regenerated. 1998-10-01 18:49:16 +00:00
Joel Sherrill
e125ad3471 Switched from HAS_KA9Q=no to HAS_NETWORKING=no. 1998-10-01 18:48:43 +00:00