summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/main.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-09-282001-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* shared/bootcard.c, shared/main.c: Now call int c_rtems_main() not main().
2000-07-26Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill1-1/+1
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.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1999-07-02Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that splitsJoel Sherrill1-85/+0
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-06-15Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to make C++Joel Sherrill1-0/+10
exceptions work on the pc386 BSP with i386-elf. This patch also included changes to the i386-rtemself egcs configuration.
1999-03-01Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-0/+6
> 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-01-05Patch from Chris Johns <ccj@acm.org> to get around a C++ problem with psim.Joel Sherrill1-13/+13
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.
1998-04-15Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill1-2/+46
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-14Removed recursive call to exitJoel Sherrill1-2/+0
1998-03-25Corrected definition of main and boot_card to be more ANSI compliant.Joel Sherrill1-3/+5
1998-03-21Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1-0/+62
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.