summaryrefslogtreecommitdiffstats
path: root/c/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-012-45/+49
| | | | * m68k-stub.c: Eliminated multi-line asm statements for gcc 3.x.
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-012-8/+14
| | | | | | * rtems-stub-glue.c: Corrected use of _Objects_Information_table now that it is a two dimensional array based upon API and class.
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-015-3/+28
| | | | | | | * startup/erc32mec.c: New file. * startup/Makefile.am: Reflect above. * include/erc32.h: Converted SCORE_EXTERN to extern. * tools/runtest.in: Lengthened timeout on test runs.
* 2002-06-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-30104-398/+208
| | | | * wrapup/Makefile.am: Remove preinstallation of libbsp.a,
* 2002-06-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-273-2/+7
| | | | * Makefile.am, bsp_specs: Now this target almost compiles again.
* 2002-06-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-272-0/+9
| | | | | | | | * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue thus adding a directory at the top shared level. * shared/gdbstub: New directory. * configure.ac: Modified to reflect above.
* 2002-06-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-272-1/+8
| | | | | | | * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue thus moving some of the gdbstub support to a higher level. * startup/Makefile.am: Modified to reflect above.
* 2002-06-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-272-1/+7
| | | | | | * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue necessitating a move up. * Makefile.am: Reflect new gdbstub directory.
* 2002-06-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-274-2/+84
| | | | | | | | * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue necessitating a move up. * ChangeLog, Makefile.am, .cvsignore: New file. * rtems-stub-glue.c: Moved from mips/shared/gdbstub and m68k/shared/gdbstub.
* 2002-06-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-272-0/+7
| | | | | | * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue thus adding a directory. * configure.ac: Modified to reflect above.
* 2002-06-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2002-06-272-3/+8
| | | | * startup/Makefile.am: Compile the m68k gdb stub and glue.
* 2002-06-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-272-0/+10
| | | | | | | * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue thus adding a directory. * gdbstub: New directory. * Makefile.am: Modified to reflect above.
* 2002-06-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2002-06-275-0/+1512
| | | | | * Added m68k serial stub that is thread aware. * ChangeLog, gdb_if.h, m68k-stub.c, Makefile.am: New files.
* 2002-06-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-142-1/+8
| | | | | * startup/linkcmds: Fixed typo and added gnu.linkonce.t and gnu.linkonce.r sections.
* 2002-06-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-06-142-1/+4
| | | | * startup/linkcmds: Fixed typo.
* 2001-05-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-281-0/+5
| | | | * ChangeLog: Corrected spacing.
* 2001-05-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-282-1/+6
| | | | | * Per PR31, moved mvme16x_hw.h to shared/mvme. * include/Makefile.am: Modified to reflect movement.
* 2001-05-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-283-266/+9
| | | | | | * Per PR31, moved mvme16x_hw.h to shared/mvme. * include/Makefile.am: Modified to reflect movement. * include/mvme16x_hw.h: Moved to shared/mvme.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-17137-13447/+0
| | | | * configure.ac: Remove lib.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-173-3/+8
| | | | | * mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified slightly to reflect recent PowerPC re-organization and avoid warnings.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-2/+34
| | | | | | * libc/envlock.c: Implemented code to let newlib's envlock share the libio open/close mutex. Since both should be lightly used, this should not lead to problems and saves resources.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-1/+5
| | | | * startup/linkcmds: Per PR224, added wild card math to .rodata.
* 2001-05-15 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-153-0/+1026
| | | | | * mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h: New files. Missed in merge of PR213.
* 2002-05-15 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-152-35/+14
| | | | | | | | * libc/newlibc.c: Per PR141, move the C library re-enterrant support directly into the thread dispatch code. RTEMS needs libc and so requiring libc to use a user extension with its overhead is not the best solution. This patch lowers the overhead to 2 pointer moves.
* 2001-05-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-152-2/+8
| | | | | * libc/Makefile.am: envlock.c should only be built for embedded targets using newlib.
* 2001-05-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-142-2/+6
| | | | * shared/include/cpuIdent.c: Account for duplicate numbers.
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-141-4/+5
| | | | | | | | | * include/Makefile.am: Remove. * include/sys/utsname.h: Added, removed times (now in newlib). * Makefile.am: Merge include/Makefile.am * libc/utsname.c: Relocated from posix/src. * libc/Makefile.am: Reflect changes above. * configure.ac: Remove include/Makefile
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-1/+92
| | | | | | | * Per PR212, added envlock support for newlib. This is used by at least getenv()/putenv() to avoid race conditions. * libc/envlock.c: New file. * libc/Makefile.am: Modified to reflect above.
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-145-86/+96
| | | | | | | | | | | * include/Makefile.am: Remove. * include/sys/utsname.h: Added, removed times (now in newlib). * Makefile.am: Merge include/Makefile.am * libc/utsname.c: Relocated from posix/src. * libc/Makefile.am: Reflect changes above. * configure.ac: Remove include/Makefile
* 2002-05-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-143-1/+134
| | | | | | * rtems/powerpc/debugmod.h: New file (extracted from score/ppc.h). * Makefile.am: Relect changes above.
* 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-141-3/+1
| | | | | | | | * sys/ioctl.h: Remove. * sys/sockio.h: Remove. * sys/filio.h: Remove. * sys/Makefile.am: Reflect changes above. * configure.ac: Take out *NETWORKING*.
* 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-3/+8
| | | | | | | | * include/sys/ioctl.h: Relocated from libnetworking/sys. * include/sys/filio.h: Relocated from libnetworking/sys. * include/sys/sockio.h: Relocated from libnetworking/sys. * include/Makefile.am: Reflect changes above. * configure.ac: Take out *NETWORKING*.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-144-2/+68
| | | | | | | | | | | | | | | | | | | | | * cpu.c: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-144-0/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-1425-565/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootloader/misc.c, console/Makefile.am, console/console.c, console/consoleIo.h, console/inch.c, console/polled_io.c, console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h, residual/Makefile.am, start/start.S, startup/bspstart.c, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-142-3/+29
| | | | | | | | | | | | | | | | * shared/include/io.h: Per PR215 address the following issues: - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET are no longer defined by libcpu (powerpc/shared/include/io.h) but by the BSP (who is the only one to know the values) - the affected BSP (shared/motorola) headers have been fixed in a separate "libbsp/powerpc/shared" patch. - the DEC 21140 driver (libchip/network/dec21140.c) has been fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET. and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE is to be defined by the BSP who is using this driver. - the DEC driver also has been fixed to use the newer rtems_bsp_delay_in_bus_cycles() instead of the obsolete delay_in_bus_cycles().
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-145-1/+1905
| | | | | | | | | | * vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: New files. * Makefile.am: Modified to reflect addition of files. * Per PR214, contributes a driver for the TUNDRA UNIVERSE VME-PCI bridge to libbsp/shared. NOTE: This driver is maintained _outside_ RTEMS by Till. Please forward future modifications to him.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-148-58/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | * rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add the following: - support for the MPC74000 (AKA G4); there is no AltiVec support yet, however. - the cache flushing assembly code uses hardware-flush on the G4. Also, a couple of hardcoded numerical values were replaced by more readable symbolic constants. - extended interrupt-disabled code section so enclose the entire cache flush/invalidate procedure (as recommended by the book). This is not (latency) critical as it is only used by init code but prevents possible corruption. - Trivial page table support as been added. (1:1 effective-virtual-physical address mapping which is only useful only on CPUs which feature hardware TLB replacement, e.g. >604. This allows for write-protecting memory regions, e.g. text/ro-data which makes catching corruptors a lot easier. It also frees one DBAT/IBAT and gives more flexibility for setting up address maps :-) - setdbat() allows changing BAT0 also (since the BSP may use a page table, BAT0 could be available...). - asm_setdbatX() violated the SVR ABI by using r20 as a scratch register; changed for r0 - according to the book, a context synchronizing instruction is necessary prior to and after changing a DBAT -> isync added
* 2002-05-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-05-143-2/+10
| | | | | | * startup/linkcmds.bootp, startup/linkcmds.prom: Per PR192 add sections needed by gcc 3.1. linkcmds had already been fixed on a gcc 3.1 clean up sweep.
* 2002-05-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-05-142-5/+11
| | | | | | * console/console.c, fatal/bspfatal.c, startup/bspclean.c, startup/page_table.c: Per PR200 fix multi-line inline assembly to satisfy gcc 3.1 and newer.
* 2001-05-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-093-4/+9
| | | | | * include/i960CA.h, include/i960RP.h: Correct inline assembly forward reference labels.
* 2001-05-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-094-2/+20
| | | | | | | | | | * startup/linkcmds: In support of gcc 3.1, added one of more of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*, .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections and direction of segments to memory regions may also have been addressed. This was a sweep across all BSPs. * startup/linkcmds.real: Ditto. * clock/ckinit.c: Add volatile to Clock_driver_ticks.
* 2001-05-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-0980-94/+450
| | | | | | | | * startup/linkcmds: In support of gcc 3.1, added one of more of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*, .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections and direction of segments to memory regions may also have been addressed. This was a sweep across all BSPs.
* 2002-05-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-05-015-41/+47
| | | | | | * console/console.c, fatal/bspfatal.c, startup/bspclean.c, startup/page_table.c: Per PR200 fix multi-line inline assembly to satisfy gcc 3.1 and newer.
* 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-013-0/+69
| | | | | | * rtems/powerpc/cache.h: New file (extracted from old-exceptions/cpu.h) * Makefile.am: Relect changes above.
* 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-014-0/+12
| | | | * cpu.c: Include <rtems/powerpc/cache.h>.
* 2002-04-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-014-2/+10
| | | | * startup/spurious.c: Use defined(mpc604) instead of defined(ppc604).
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-262-5/+9
| | | | * include/bsp.h: Change SIS to ERC32_BSP.