summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius10-12/+24
* PCI_bus/Makefile.am: Use .$(OBJEXT) instead of .o. * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o. * tod/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius9-14/+25
* clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius13-18/+33
* clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * network/Makefile.am: Use .$(OBJEXT) instead of .o. * nvram/Makefile.am: Use .$(OBJEXT) instead of .o. * pci/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o. * tod/Makefile.am: Use .$(OBJEXT) instead of .o. * universe/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius9-18/+29
* clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * irq/Makefile.am: Use .$(OBJEXT) instead of .o. * network/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-11Fix broken ChangeLogRalf Corsepius1-15/+0
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius13-26/+41
* bootloader/Makefile.am: Use .$(OBJEXT) instead of .o. * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * irq/Makefile.am: Use .$(OBJEXT) instead of .o. * motorola/Makefile.am: Use .$(OBJEXT) instead of .o. * openpic/Makefile.am: Use .$(OBJEXT) instead of .o. * pci/Makefile.am: Use .$(OBJEXT) instead of .o. * residual/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+15
* bootloader/Makefile.am: Use .$(OBJEXT) instead of .o. * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * irq/Makefile.am: Use .$(OBJEXT) instead of .o. * motorola/Makefile.am: Use .$(OBJEXT) instead of .o. * openpic/Makefile.am: Use .$(OBJEXT) instead of .o. * pci/Makefile.am: Use .$(OBJEXT) instead of .o. * residual/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius8-12/+22
* clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * irq/Makefile.am: Use .$(OBJEXT) instead of .o. * network/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius5-4/+11
* dlentry/Makefile.am: Use .$(OBJEXT) instead of .o. * flashentry/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius4-3/+9
* dlentry/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius10-18/+30
* canbus/Makefile.am: Use .$(OBJEXT) instead of .o. * clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * irq/Makefile.am: Use .$(OBJEXT) instead of .o. * network/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius10-13/+25
* clock/Makefile.am: Use .$(OBJEXT) instead of .o. * console/Makefile.am: Use .$(OBJEXT) instead of .o. * scv64/Makefile.am: Use .$(OBJEXT) instead of .o. * sonic/Makefile.am: Use .$(OBJEXT) instead of .o. * start/Makefile.am: Use .$(OBJEXT) instead of .o. * startup/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o. * tod/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-092002-08-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-7/+6
* dlentry/dlentry.S: Removed fake __eabi to avoid conflict with the real one provided by gcc. I don't know if this makes this BSP work for C++ but it at least lets simple programs link again.
2002-08-022002-08-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+6
* include/coverhd.h: Per PR261 removed include of <rtems/score/targopts.h> because the file is no longer being generated and really wasn't being used anyway.
2002-07-272002-07-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-1/+9
* Makefile.am: Add transform and bsptools_bindir hacks. * configure.ac: Add RTEMS_ENV_RTEMSBSP.
2002-07-252002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* bootloader/em86real.S: Fix syntax error in comment near line 1185.
2002-07-252002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-4/+8
* bootloader/Makefile.am: Install bootloader.o. Install bootloader/bootloader.ppcboot.lds.
2002-07-252002-07-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+12
* vectors/Makefile.am: Install bsp/vectors.h.
2002-07-242002-07-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-10/+20
* include/Makefile.am: Fix preinstallation. * bootloader: Eliminate $(INCLUDES).
2002-07-212002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+6
* Makefile.am: Fix oversights in previous patch.
2002-07-212002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-139/+8
* rtems.S: Remove. * Makefile.am: Reflect having removed rtems.S. Use AM_CPPFLAGS instead of INCLUDES (Latest automake standard).
2002-07-212002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius4-8/+16
* start/Makefile.am: Eliminate PGMS. Add bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o.
2002-07-212002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius10-30/+50
* start/Makefile.am: Eliminate PGM. Add bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o.
2002-07-202002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius18-0/+54
* startup/Makefile.am: Add bsplib_DATA = linkcmds.
2002-07-202002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-0/+6
* startup/Makefile.am: Add bsplib_DATA = linkcmds device-tree.
2002-07-042002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius20-10/+60
* wrapup/Makefile.am: Eliminate TMPINSTALL_FILES. Remove $(OBJS) from all-local.
2002-06-302002-06-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius20-80/+40
* wrapup/Makefile.am: Remove preinstallation of libbsp.a,
2002-06-142002-06-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+8
* startup/linkcmds: Fixed typo and added gnu.linkonce.t and gnu.linkonce.r sections.
2002-06-142002-06-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+4
* startup/linkcmds: Fixed typo.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2-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_.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill4-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.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill1-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.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill3-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.
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill25-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.
2002-05-092001-05-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill22-59/+153
* 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-012002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+6
* cpu.c: Include <rtems/powerpc/cache.h>.
2002-05-012002-04-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-2/+10
* startup/spurious.c: Use defined(mpc604) instead of defined(ppc604).
2002-04-192002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-3/+6
* start/start.S: remove targopts.h.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-2202/+12
* rtems/score/cpu.h: Removed. * Makefile.am: Reflect changes above.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill10-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-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* vectors/vectors.S: Include <asm.h>.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-2/+8
* startup/bspstart.c: Include <rtems/bspIo.h>. * vectors/align_h.S: Use <> instead of "" for include files.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-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-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-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-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-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-172002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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-172002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-0/+12
* startup/bspstart.c: Include <libcpu/cpuIdent.h>, <rtems/bspIo.h>.
2002-04-172002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+5
* startup/bspstart.c: Include <libcpu/cpuIdent.h>.
2002-04-172002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-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-082002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-0/+15
* configure.ac: Add BSPOPTS_*(DISPATCH_HANDLER_STAT).