summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-03-082001-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill1-152/+264
* mips-stub.c: Debugged & tweaked the gdb command processing, zbreak stuff, breakpoint and step code. Implemented 'T' command support and debugged remote gdb support w/ the Mongoose bsp. Added the memory segment support. * memlimits.h: Disabled all contents in favor of memory sement support. This file could probably go away. * rtems-stub-glue.c (rtems_gdb_index_to_stub_id()): New routine. rtems_gdb_stub_get_register_from_context(): Implemented MIPS version. rtems_gdb_stub_get_offsets(): Implemented MIPS version. * README: Updated.
2002-02-272001-02-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+1299
* Significant modifications including adding thread support, the 'X' command, and reorganizing so that target CPU independent routines could be reused. * gdb_if.h: Added numerous prototypes. * mips-stub.c: Added thread support as well as 'X' command. Also noticed that the 'P' command was from the mips protocol. * rtems-stub-glue.c: New file. This file contains all generic support which should be able to be reused on another target CPU.
2001-10-222001-10-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-3/+8
* bootcard.c: Use __USE_INIT_FINI__ since USE_INIT_FINI pollutes the application namespace.
2001-10-172001-10-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+40
* timerstub.c: New stub file for BSPs that don't have timer hardware.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-2/+4
* console-polled.c, console.c: Fixed typo.
2001-09-282001-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-7/+10
* shared/bootcard.c, shared/main.c: Now call int c_rtems_main() not main().
2001-09-272001-09-27 Eric Norum <eric.norum@usask.ca>Joel Sherrill1-2/+0
* hared/bootcard.c: Now process C++ global constructors (_init) as part of the first task execution not in BSP space. This depends on the toolset defining USE_INIT_FINI so you have to have the right toolset version.
2001-01-122001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+4
* setvec.c: Removed unused variables.
2001-01-092001-01-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-11/+50
* clockdrv_shell.c (CLOCK_DRIVER_ISRS_PER_TICK): Add support for multiple ISRs per clock tick. Testing per hacking on mips/jmr3904 clock driver.
2001-01-032001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* clockdrv_shell.c: Fixed syntax error in fast idle support.
2001-01-032001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-1/+28
* clockdrv_shell.c: Added fast idle mode which is enabled by defining CLOCK_DRIVER_USE_FAST_IDLE. * console-polled.c: Added console_initialize_hardware() hook.
2000-12-052000-12-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-6/+4
* console-polled.c: Remove warnings.
2000-11-132000-11-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+29
* clock_driver_stub.c: This is a stub of a clock driver that is sufficient for linking the ticker application. Some simulators do not have a soruce for a clock tick. Also this can be used while constructing a BSP so everything links.
2000-11-012000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+8
* bsplibc.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. Header file order was cleaned up while doing this.
2000-10-312000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+8
* POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * sbrk.c: Corrected prototype to match newlib.
2000-08-10Adding ChangeLogs.Joel Sherrill1-0/+3
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.
2000-07-10Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-0/+26
that addresses aspects of the targopts.h multilib related issues. Changes: * Move targopts.h to libbsp/include, because the current targopts.h actually is a per-BSP-header and therefore can not stay below exec/. * Introduce an autoheader generated header file (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu configuration options only. * Move all autoconf-detectable/configure specified per-cpu option-defines from targopts.h to cpuopts.h. * Add Makefiles to the libbsp/shared directory hierarchy. Notes: * The new per-bsp targopts.h in libbsp includes the per-cpu cpuopts.h. This way, the new targopts.h is kept backward compatible to the old targopts.h and existing BSPs which (carelessly) include targopts.h (i386, ppc) should be kept working when using the multilib-disabled configuration scheme. * cpuopts.h is not yet complete, because the per-BSP make-targopts rules from custom/<BSP>.cfg files can not be applied to files below exec/ when building multilibs. * All files below exec/ should not include targopts.h anymore, but should include cpuopts.h instead. However, eliminating inclusion of targopts.h currently triggers further structural / header file inclusion related issues, because several ports apply BSP or CPU_MODEL specific defines from targopts.h below exec/
2000-07-10New file.Joel Sherrill1-0/+217
2000-06-12New file. This is a simple termios console driver which is sufficientJoel Sherrill1-0/+148
to do polled IO on a single port with VERY little support code.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-15/+0
2000-02-22New port of RTEMS to TI C3x and C4x.Joel Sherrill1-0/+44
2000-01-13Fixed spacing.Joel Sherrill1-2/+2
2000-01-04Added shared version of this file.Joel Sherrill1-0/+103
1999-12-21Now use shared coverhd.hJoel Sherrill1-119/+0
1999-12-21New file.Joel Sherrill1-0/+119
1999-12-13Removed warnings.Joel Sherrill1-0/+4
1999-11-17Updated copyright notice.Joel Sherrill5-10/+5
1999-11-09This patch adds the basic framework for the ITRON 3.0 API implementationJoel Sherrill1-14/+2
for RTEMS.
1999-10-04Modified to setup environment pointer on all BSPs. This resultsJoel Sherrill1-4/+20
in getenv/putenv working all the time without special assistance from the BSP.
1999-08-02Now correctly does deep copy.Joel Sherrill1-2/+2
1999-07-30Corrected typo and added correct conditional compilation on RTEMS_POSIX_API.Joel Sherrill1-1/+15
1999-07-26Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>.Joel Sherrill1-1/+1
to address m68k-rtemself for the MVME167. Here is the rtems patch I promissed you a long time ago to enable ELF with m68k. The target name I selected is m68k-rtemself. It preserves the m68k-rtems COFF target, and is parterned after the other ELF/COFF dual targets. The mvme167.cfg file causes the -qelf flag to be used during compilation if the name of the compiler contains rtemself. This flag is used in the bsp_specs file to select the elflinkcmds file rather than the linkcmds file. The former is for ELF, the latter for COFF. Some patches are required to the mc68040 FPSP code. Some of the assembler files contain instructions that were rejected by the m68k-rtemself-as assembler. This is a minor bug in the m68k ELF assembler, I think.
1999-07-13Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to readd calls toJoel Sherrill1-0/+10
init() and fini() routines.
1999-07-02Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that splitsJoel Sherrill2-85/+96
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-24Added dummy gnatinstallhandler code for all BSPs. This lets Ada programsJoel Sherrill1-0/+17
link even if they do not actually support Ada interrupts.
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-11-23Added base version of file system infrastructure. This includes a majorJoel Sherrill2-4/+4
overhaul of the RTEMS system call interface. This base file system is the "In-Memory File System" aka IMFS. The design and implementation was done by the following people: + Joel Sherrill (joel@OARcorp.com) + Jennifer Averett (jennifer@OARcorp.com) + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com) + Kerwin Wade (wade@OARcorp.com) PROBLEMS ======== + It is VERY likely that merging this will break the UNIX port. This can/will be fixed. + There is likely some reentrancy/mutual exclusion needed. + Eventually, there should be a "mini-IMFS" description table to eliminate links, symlinks, etc to save memory. All you need to have "classic RTEMS" functionality is technically directories and device IO. All the rest could be left out to save memory.
1998-08-08Corrected spacing.Joel Sherrill1-1/+1
1998-07-30Added getRealTime() and setRealTime().Joel Sherrill2-18/+99
Reimplemented checkRealTime() to use RTEMS internal routine.
1998-07-30Made tod.h sharedJoel Sherrill1-0/+38
1998-07-29New file. Based on merged of shared libchip style console.c and theJoel Sherrill1-0/+187
existing TOD interface.
1998-07-29Cleaned up comment.Joel Sherrill1-4/+5
Modified open so it uses a local variable rather than modifying a parameter.
1998-07-25New file -- copied from dmv177 but same as ppcn_60x.Joel Sherrill1-0/+290
1998-04-27Fix from Ralf Corsepius:Joel Sherrill1-0/+1
+ adding #include <rtems/libio.h> to fix implicit declaration warning
1998-04-15New file created by extracting common initialization from every BSP'sJoel Sherrill1-0/+38
bspstart.c file.
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