| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* startup/linkcmds: Fixed typo and added gnu.linkonce.t and
gnu.linkonce.r sections.
|
|
|
|
| |
* startup/linkcmds: Fixed typo.
|
|
|
|
| |
* ChangeLog: Corrected spacing.
|
|
|
|
|
| |
* Per PR31, moved mvme16x_hw.h to shared/mvme.
* include/Makefile.am: Modified to reflect movement.
|
|
|
|
|
|
| |
* Per PR31, moved mvme16x_hw.h to shared/mvme.
* include/Makefile.am: Modified to reflect movement.
* include/mvme16x_hw.h: Moved to shared/mvme.
|
|
|
|
| |
* startup/linkcmds: Per PR224, added wild card math to .rodata.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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_.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* cpu.c: Include <rtems/powerpc/cache.h>.
|
|
|
|
| |
* startup/spurious.c: Use defined(mpc604) instead of defined(ppc604).
|
|
|
|
| |
* include/bsp.h: Change SIS to ERC32_BSP.
|
|
|
|
| |
* start/start.S: remove targopts.h.
|
|
|
|
|
| |
* rtems/score/cpu.h: Removed.
* Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* vectors/vectors.S: Include <asm.h>.
|
|
|
|
|
| |
* startup/bspstart.c: Include <rtems/bspIo.h>.
* vectors/align_h.S: Use <> instead of "" for include files.
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
| |
* startup/nulsystbl.c: Fix braces.
* startup/Makefile.am: Remove types.h.
* startup/types.h: Remove.
|
|
|
|
|
|
| |
* startup/nulsystbl.c: Fix braces.
* startup/Makefile.am: Remove types.h.
* startup/types.h: Remove.
|
|
|
|
|
|
| |
* irq/irq.c: Define loopCounter iff DISPATCH_HANDLER_STAT is set.
* startup/bspstart.c: include <bsp/irq.h>, <libcpu/cpuIdent.h>,
<rtems/bspIo.h>
|
|
|
|
| |
* startup/bspstart.c: Include <libcpu/cpuIdent.h>, <rtems/bspIo.h>.
|
|
|
|
| |
* startup/bspstart.c: Include <libcpu/cpuIdent.h>.
|
|
|
|
|
|
| |
* irq/irq.c: Define loopCounter iff DISPATCH_HANDLER_STAT is set.
* startup/bspstart.c: include <bsp/irq.h>, <libcpu/cpuIdent.h>,
<rtems/bspIo.h>
|
|
|
|
| |
* configure.ac: Add BSPOPTS_*(DISPATCH_HANDLER_STAT).
|
|
|
|
|
| |
* configure.ac: Add BSPOPTS_*(DISPATCH_HANDLER_STAT).
Remove RTEMS_ENABLE_LIBCDIR.
|
|
|
|
| |
* include/mvme16x_hw.h: Include <bsp.h> instead of targopts.h.
|
|
|
|
|
| |
* startup/linkcmds, startup/linkcmds.dl : Per PR170, PR171, and PR172
add .eh_frame.
|
|
|
|
| |
* startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* bootloader/Makefile.am: Use automake-1.6 AS compilation rules.
|
|
|
|
|
|
| |
* configure.ac: Remove BSPOPTS_*(NO_TABLE_MOVE).
Remove BSPOPTS_*(FPU_REVB).
* wrapup/Makefile.am: Remove tbr.
|
|
|
|
| |
* configure.ac: Remove AC_EXEEXT (obsolete).
|
|
|
|
|
| |
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* rtems/score/cpu.h: Account for name change.
|
|
|
|
| |
* bootloader/Makefile.am: Use AM_CCASFLAGS instead of AM_ASFLAGS.
|
|
|
|
| |
* configure.ac: Update, remove code rott.
|
|
|
|
|
|
| |
* configure.ac: Add BSPOPTS_*(NO_TABLE_MOVE).
Add BSPOPTS_*(FPU_REVB).
* wrapup/Makefile.am: Add tbr.
|
|
|
|
| |
* include/bsp.h: include <libcpu/cpu.h>.
|
|
|
|
|
| |
* include/bsp.h: include <libcpu/cpu.h>.
* console/console.c: Remove unused variable console_open_count.
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|