Commit Graph

10 Commits

Author SHA1 Message Date
Joel Sherrill
ca7858bb88 Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:28:11 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
c8d91839ff Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that splits
boot_card() and main() into separate files to ease configuration
of other packages.  This was a big step in the way to build TCL,
ncurses, and zlib for RTEMS.
1999-07-02 18:57:11 +00:00
Joel Sherrill
8e0dcadec5 Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to make C++
exceptions work on the pc386 BSP with i386-elf.  This patch also
included changes to the i386-rtemself egcs configuration.
1999-06-15 22:01:04 +00:00
Joel Sherrill
e069cdc3f1 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 5) rtems-rc-19990202-1.diff/reorg-install.sh
>
> reorg-install.sh fixes a Makefile variable name clash of RTEMS
> configuration files and automake/autoconf standards.
> Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
> autoconf use $(INSTALL) for a bsd-compatible install. As
> install-if-change and bsd-install are not compatible, I renamed all
> references to install-if-changed to $(INSTALL_CHANGED) and used
> $(INSTALL) for bsd-install (==automake/autoconf standard).  When
> automake will be introduced install-if-change will probably be replaced
> by $(INSTALL) and therefore will slowly vanish. For the moment, this
> patch fixes a very nasty problem which prevents adding any automake file
> until now (There are still more).
1999-03-01 15:18:26 +00:00
Joel Sherrill
97503aa5e3 Patch from Chris Johns <ccj@acm.org> to get around a C++ problem with psim.
This problem should and likely was occurring with other BSPs.  This is from
Chris' email:

    I had a look in the psim bsp for the older snapshot I have and it looks
    like you are using the `libbsp/shared/main.c' and this is known to work.

    I have just built the powerpc tools, and compiled the bsp. I have not
    added the linker command file patch so got the list of linker warnings.

    It looks to me like a compiler bug. The `main' call is being inlined and
    when that happens the special code to call `__eabi' is not being added
    to the inlined version. I have attached a patch which places `main'
    after `boot_card' and a call to main is now generated. I have not tested
    it but it should work. I also include a dump of `boot_card' and `main'
    showing the bug.
1999-01-05 17:50:03 +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
7a75c323e4 Removed recursive call to exit 1998-04-14 20:52:31 +00:00
Joel Sherrill
85047f024f Corrected definition of main and boot_card to be more ANSI compliant. 1998-03-25 14:00:41 +00:00
Joel Sherrill
e2a2ec6016 Switch to using a shared main() for all of the embedded BSPs
based on the GNU tools.  This usually involved correcting the
type of bsp_start(), bsp_cleanup(), adjusting the start code to
call the right start routine (the shared boot_card()), and then
removing code from bsp_start() which was performed in the new
boot_card()/main() path.
1998-03-21 15:37:18 +00:00