summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-142-1/+34
| | | | | | | | | | | | | | | | | | | | | * 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-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.
* 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-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-012-0/+6
| | | | * 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.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-192-3/+6
| | | | * start/start.S: remove targopts.h.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-186-2202/+12
| | | | | * rtems/score/cpu.h: Removed. * Makefile.am: Reflect changes above.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-1810-17/+28
| | | | | | | | | | | | * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>. * bootloader/head.S: Ditto. * bootloader/misc.c: Ditto. * console/polled_io.c: Ditto. * irq/irq.c: Ditto. * irq/irq_asm.S: Ditto. * irq/irq_init.c: Include <rtems/bspIo.h>. * start/start.S: Reflect changes to <rtems/score/cpu.h>. * vectors/vectors.S: Ditto.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-182-1/+5
| | | | * vectors/vectors.S: Include <asm.h>.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-183-2/+8
| | | | | * startup/bspstart.c: Include <rtems/bspIo.h>. * vectors/align_h.S: Use <> instead of "" for include files.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-186-8/+15
| | | | | | | | * irq/irq.c: Reflect changes to <rtems/score/cpu.h>. * irq/irq_asm.S: Ditto. * network/network.c: Include <rtems/bspIo.h>. * start/start.S: Include <asm.h> instead of "asm.h". * vectors/vectors.S: Reflect changes to <rtems/score/cpu.h>.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-185-8/+16
| | | | | | | | * irq/irq.c: Reflect changes to <rtems/score/cpu.h>. Fix loopCounter. * irq/irq_asm.S: Reflect changes to <rtems/score/cpu.h>. * vectors/vectors.S: Ditto. * vectors/vectors_init.c: Include <rtems/bspIo.h>.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-185-7/+14
| | | | | | | * irq/irq.c: Reflect changed to <rtems/score/cpu.h>. * irq/irq_asm.S: Ditto. * vectors/vectors.S: Ditto. * vectors/vectors_init.c: Include <rtems/bspIo.h>.
* 2002-04-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-181-0/+0
| | | | | | * startup/nulsystbl.c: Fix braces. * startup/Makefile.am: Remove types.h. * startup/types.h: Remove.
* 2002-04-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-184-43/+12
| | | | | | * startup/nulsystbl.c: Fix braces. * startup/Makefile.am: Remove types.h. * startup/types.h: Remove.
* 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-171-1/+4
| | | | | | * irq/irq.c: Define loopCounter iff DISPATCH_HANDLER_STAT is set. * startup/bspstart.c: include <bsp/irq.h>, <libcpu/cpuIdent.h>, <rtems/bspIo.h>
* 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-174-0/+12
| | | | * startup/bspstart.c: Include <libcpu/cpuIdent.h>, <rtems/bspIo.h>.
* 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-172-0/+5
| | | | * startup/bspstart.c: Include <libcpu/cpuIdent.h>.
* 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-172-1/+8
| | | | | | * irq/irq.c: Define loopCounter iff DISPATCH_HANDLER_STAT is set. * startup/bspstart.c: include <bsp/irq.h>, <libcpu/cpuIdent.h>, <rtems/bspIo.h>
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-084-0/+15
| | | | * configure.ac: Add BSPOPTS_*(DISPATCH_HANDLER_STAT).
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-082-1/+9
| | | | | * configure.ac: Add BSPOPTS_*(DISPATCH_HANDLER_STAT). Remove RTEMS_ENABLE_LIBCDIR.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-083-2/+6
| | | | * include/mvme16x_hw.h: Include <bsp.h> instead of targopts.h.
* 2001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-086-0/+14
| | | | | * startup/linkcmds, startup/linkcmds.dl : Per PR170, PR171, and PR172 add .eh_frame.
* 2001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-0816-5/+44
| | | | * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
* 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-037-1/+18
| | | | | | | | | * residual/residual.c: Include <string.h>. * vectors/vectors_init.c: Include <rtems/bspIo.h> for printk. * bootloader/mm.c: Ditto. * bootloader/pci.c: Ditto. * console/console.c: Ditto. * openpic/openpic.c: Ditto.
* 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-032-8/+5
| | | | * bootloader/Makefile.am: Use automake-1.6 AS compilation rules.
* 2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-036-18/+14
| | | | | | * configure.ac: Remove BSPOPTS_*(NO_TABLE_MOVE). Remove BSPOPTS_*(FPU_REVB). * wrapup/Makefile.am: Remove tbr.
* 2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-036-3/+12
| | | | * configure.ac: Remove AC_EXEEXT (obsolete).
* 2001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-034-2/+12
| | | | | * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/cpu.h: Account for name change.
* 2001-04-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-022-1/+5
| | | | * bootloader/Makefile.am: Use AM_CCASFLAGS instead of AM_ASFLAGS.
* 2002-03-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-012-15/+4
| | | | * configure.ac: Update, remove code rott.
* 2002-03-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-296-2/+30
| | | | | | * configure.ac: Add BSPOPTS_*(NO_TABLE_MOVE). Add BSPOPTS_*(FPU_REVB). * wrapup/Makefile.am: Add tbr.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-282-0/+5
| | | | * include/bsp.h: include <libcpu/cpu.h>.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-283-2/+6
| | | | | * include/bsp.h: include <libcpu/cpu.h>. * console/console.c: Remove unused variable console_open_count.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-28132-135/+249
| | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS.