| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* shared/vectors/vectors_init.c: replaced
switch ( current_ppc_cpu ) { } check by feature check.
|
|
|
|
|
|
|
| |
* shared/irq/irq_asm.S, shared/vectors/vectors.S,
shared/vectors/vectors.h, shared/vectors/vectors_init.c:
Converted exception vector names to new ones
(qualified by <cpu_type> if non-std ppc exceptions).
|
|
|
|
| |
many different versions of new exception handling code to shared sources.
|
| |
|
|
|
|
|
|
|
|
|
| |
* shared/vectors/vectors.h, shared/vectors/vectors.S,
shared/vectors/vectors_init.c: Reduced size of default
prologue (some exceptions, e.g., altivec unavail.) are only
0x20 bytes apart. Also introduced a modified prologue
that switches r0..r3 shadowing off (r0..r3 undefined
on certain 603e variants when incurring a TLB miss).
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h,
console/console.c, console/inch.c, console/reboot.c, console/uart.c,
console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c,
motorola/motorola.c, motorola/motorola.h, openpic/openpic.c,
openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c,
start/start.S, startup/bspstart.c, vectors/vectors_init.c,
vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also
a significant amount of spelling and whitespace cleanup.
* tod/todcfg.c: New file.
|
| |
|
|
|
|
| |
* vectors/vectors.h, vectors/vectors_init.c: Undo previous change.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/bootldr.h, bootloader/em86.c, bootloader/em86real.S,
bootloader/exception.S, bootloader/head.S, bootloader/lib.c,
bootloader/misc.c, bootloader/mm.c, bootloader/pci.c,
clock/p_clock.c, console/console.c, console/consoleIo.h,
console/inch.c, console/keyboard.h, console/polled_io.c,
include/bsp.h, irq/i8259.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
irq/irq_init.c, motorola/motorola.c, motorola/motorola.h,
openpic/openpic.c, openpic/openpic.h, pci/pci.c, residual/residual.c,
start/start.S, startup/bspstart.c, vectors/vectors.h,
vectors/vectors_init.c: URL for license changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 356/bsps
This patch makes RTEMS/powerpc/shared EABI compliant.
* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
zero_bss() should clear not only bss but sbss and sbss2
also (this is probably a bugfix, as sbss/sbss2 are
probably used even if -msdata=eabi is not specified).
* start/rtems_crti.S: New file which must
be linked immediately after ecrti.o. rtems_crti.o contains
a code snippet who lets __init() return immediately. Also,
a new entry point '_init' to the C++ Ctors is generated
for use by the RTEMS Thread_Handler.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 349/bsps
* console/console.c, console/uart.c, console/uart.h: implement
IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
callback. The callback routine (if installed) is invoked from the
UART ISR when a BREAK interrupt is detected. This can be used
e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
use the serial line break condition) NOTE: The callback runs in
ISR context.
|
|
|
|
|
|
| |
* bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
motorola/motorola.c, pci/detect_raven_bridge.c,
vectors/vectors_init.c: Removed warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to
256 meg to allow operation on boards with larger RAM sizes.
* vectors/vectors_init.c: Modified to call 'generic' powerpc
vector function (mpc60x_vector_is_valid) instead of MPC750
specific function to allow operation on boards with CPUs other
than the MPC750.
|
| |
|
|
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
|