summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2002-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-192-0/+6
| | | | * bsp.am: Add bsplib_DATA = bsp_specs.
* 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-172-3/+8
| | | | * irq_bsp_irq_asm.S: Update to reflect irq_asm modifications.
* 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-172-89/+154
| | | | | * irq/irq_asm.S: Significant rework in attempt to make interrupts work. They appear to be very close to correct but not 100%.
* 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-172-0/+7
| | | | * start/start.S: Added SWI_Handler.
* 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-172-2/+9
| | | | * irq/bsp_irq_asm.S: Disable code to touch PIC.
* 2002-07-16 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-07-162-0/+19
| | | | | | * console/console.c: Others on the rtems-users list have expressed concern about this run-time selection, so I've enclosed the changes in a #ifdef RTEMS_RUNTIME_CONSOLE_SELECT conditional.
* 2002-07-16 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-07-162-0/+24
| | | | | | | | * comm/uart.c: I am using a PC-104 card with no video output. I found that things would lock up if a printk was followed closely by a printf when BSPConsolePort = BSP_UART_COM2 and BSPPrintkPort = BSP_UART_COM1. With this change in place, printf/printk calls can be intermingled with no apparent problems.
* 2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-04100-50/+300
| | | | | * wrapup/Makefile.am: Eliminate TMPINSTALL_FILES. Remove $(OBJS) from all-local.
* 2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-0418-9/+45
| | | | * wrapup/Makefile.am: Add $(LIB) to all-local.
* 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.
* 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>.