summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * shared/vectors/vectors.S: mask high bits when calculatingTill Straumann2006-01-051-2/+3
| | | | | the exception vector number to yield correct result even if the vectors reside in the upper area (0xfff00000; psim).
* 2005-12-02 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-12-023-0/+55
| | | | | | | | | * shared/irq/irq_init.c, shared/openpic/openpic.h shared/openpic/openpic.c: The 8240's EPIC has a 'serial' mode of operation for multiplexing 16 interrupt lines. This introduces a pipeline delay which can cause spurious interrupts unless ending the interrupt cycle (EOI) is delayed accordingly.
* 2005-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-12-023-26/+64
| | | | | | | | | * 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).
* 2005-11-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-302-0/+4
| | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.S: Clear CR[6] before invoking high-level handler to make sure no varargs fn callee assumes there are FP arguments.
* 2005-11-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-301-0/+1
| | | | | * shared/irq/irq.c: Fixed incorrect removal of first shared interrupt in chain.
* - trivial correction in commentTill Straumann2005-11-291-1/+1
|
* 2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-11-091-2/+2
| | | | * shared/startup/bspstart.c: Eliminate obsolete types.
* Fix disagreement between GCCSPECS and GCC_SPECS.Eric Norum2005-11-091-0/+1
|
* 2005-11-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-045-116/+267
| | | | | | | | | | | * shared/vme/README, shared/vme/vme_universe.c: New files. * Makefile.am, motorola_powerpc/Makefile.am, mvme5500/vme/vmeconfig.c, shared/vme/VME.h, shared/vme/VMEConfig.h, shared/vme/vmeconfig.c: Several VME related upgrades and fixes, hopefully addressing PR#835: Separated API, API-implementation by a specific VME bridge driver and BSP-specific configuration of the driver into different files, describing their purpose in a README. All of these changes use the upgraded vmeUniverse.c driver.
* 2005-11-03 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-045-202/+489
| | | | | | | | | | | | | | * shared/motorola/motorola.c, shared/pci/detect_raven_bridge.c, shared/pci/pci.c, shared/pci/pci.h, shared/pci/pcifinddevice.c: Several PCI enhancements and fixes: all BSP flavors now use the generic clear_hostbridge_errors() routine (this means that only polling memory probing is possible [see detect_raven_bridge.c for details]). Interrupt fixup routine now supports multi-function devices. Interrupt fixup routine now honours a flag/option so that wrong firmware values can be overridden. Fixed irq routing table for mvme2100 [PMC]. Added irq routing table for mvme2300. Added a BSP_pciScan() routine that executes a user callback on each non-empty slot/fun. Added BSP_pciConfigDump() to display basic config headers.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-042-14/+3
| | | | | | | | * shared/console/reboot.c, shared/start/start.S: Fixed PR#845; !!enable MMU!! on mvme2100 - this is very important. Otherwise, all accesses are write-back cached [incl. memory-mapped devices]. (Prerequisite were the changes to shared/startup/bspstart.c just below.) Implemented rtemsReboot() for mvme2100.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-045-338/+381
| | | | | | | | | | * shared/irq/openpic_i8259_irq.c: New file. * ChangeLog, Makefile.am, motorola_powerpc/ChangeLog, motorola_powerpc/Makefile.am, shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S, shared/irq/irq_init.c: Separated openpic/i8259 specifica from generic irq handling into openpic_i8259_irq.c; added some compilation conditionals to help BSPs without ISA to omit ISA interrupts and calling i8259 code.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-043-99/+151
| | | | | | | | | | | * shared/startup/pretaskinghook.c, shared/startup/zerobss.c: New files. * Makefile.am, shared/startup/bspstart.c: Split pretaskinghook and zerobss into separate, reusable files; Fixed #PR837 (set exception in ram flag before initializing exceptions); Setup DBATs early, they are needed to access peripherals (Allows mvme2100 to use MMU); moved VME initialization into pretasking hook so that shared interrupts can be used for VME [shared IRQ facility needs functional workspace].
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-042-11/+25
| | | | | | | | | * mvme5500/irq/irq.h, psim/irq/irq.h, shared/console/uart.c, shared/irq/irq.h: Renamed BSP_ISA_UART_COMx_IRQ -> BSP_UART_COMx_IRQ (uart driver is ISA independent). Removed ugly #ifdef mvme2100. Added test for BSP_UART_USE_SHARED_IRQS symbol which a BSP can define to request that the serial interrupt be shared.
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-031-1/+5
| | | | | | | * shared/vectors/vectors.S: when returning from an exception, reload stack pointer with value from exception frame instead of adding a fixed value. -- maybe the exception handler modified the frame with good reason (e.g., gdb pushed a dummy frame).
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-031-0/+273
| | | | | | | | * Makefile.am, motorola_powerpc/Makefile.am, mvme5500/Makefile.am, mvme5500/start/preload.S, mvme5500/startup/bspstart.c, shared/startup/bspstart.c: moved linkcmds to shared area for other BSPs to use
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-033-7/+7
| | | | | | * shared/bootloader/misc.c, shared/console/polled_io.c, shared/residual/residual.c: silenced compiler warnings (type cast & renaming puts->my_puts)
* 2005-11-02 straumanatslacdotstanford.eduTill Straumann2005-11-031-36/+2
| | | | | | | | * mvme5500/start/start.S, shared/start/start.S, shared/startup/bspstart.c: moved assembly code to C; setdbat now supports high bats on 7450 CPUs; added argument checking to setdbat; added getdbat; moved early initialization code (clear_bats) from BSP to libcpu (CPU_clear_bats_early)
* Numerous changes and cleanups to support MVME2100.Eric Norum2005-10-203-15/+45
|
* RemoveRalf Corsepius2005-10-173-529/+0
|
* 2005-10-06 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2005-10-062-4/+33
| | | | | | | | | PR 833/bsps * irq/irq_asm.S: Currently, all (new exception) BSPs explicitely enable the FPU across the user ISR but DONT save/restore the FPU context. Any use of the FPU fron the user handler (e.g., due to GCC optimizations) result in corruption. The fix results in an exception in such cases (user ISR must explicitely save/enable/restore FPU).
* 2005-09-16 richard.campbell@OARCorp.comRichard Campbell2005-09-162-16/+9
| | | | | * startup/bspstart.c: Rewrote get_eumbbar() in C. Function was written in inline assembly and containined a register direction error.
* Corrected placement of log entries.Joel Sherrill2005-08-021-0/+6
|
* Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP ↵Eric Norum2005-07-281-3/+1
| | | | running.
* 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-175-244/+89
| | | | | * clock/p_clock.c, irq/i8259.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
* 2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-106-1109/+53
| | | | | | * bootloader/bootldr.h, bootloader/em86.c, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h: Modified to depend upon rtems/pci.h
* Eliminate u64, s64, u32.Ralf Corsepius2005-05-101-8/+4
|
* 2005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-101-0/+7
| | | | | | | * startup/bspstart.c, tod/todcfg.c: Eliminate {un|}signed{8|16|32}. * bootloader/pci.c: Eliminate {un|}signed{8|16|32}. Eliminate u32.
* Eliminate {un|}signed{8|16|32}.Ralf Corsepius2005-05-101-6/+3
| | | | Eliminate u32.
* Eliminate {un|}signed{8|16|32}.Ralf Corsepius2005-05-102-13/+13
|
* 2005-05-06 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-062-0/+7
| | | | * pci/pci.h: Add pci_bus_count().
* 2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-045-6/+11
| | | | | * irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Name change to support common PCI interface
* 2005-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-262-58/+64
| | | | * console/uart.h: Eliminate tabs.
* 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-251-0/+7
| | | | | | | PR 779/bsp * clock/p_clock.c, console/console.c, console/uart.c, console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c: powerpc: add parameter to new exception interrupt handlers
* 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-157-13/+23
| | | | | | | PR 779/bsp * clock/p_clock.c, console/console.c, console/uart.c, console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c: powerpc: add parameter to new exception interrupt handlers
* 2005-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-144-473/+480
| | | | | * pci/pci.c, pci/pci.h, pci/pcifinddevice.c: Continue PCI API unification. All use pci_find_device(). Also reformat to remove tabs.
* 2005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-044-4/+9
| | | | | * pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Make PCI initialize function part of the unified PCI API as pci_initialize().
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-172-5/+9
| | | | * startup/bspstart.c: Eliminate rtems_unsigned32.
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-172-2/+9
| | | | | | * startup/bspstart.c: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE.
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-172-2/+10
| | | | | | * start/start.S: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE.
* 2005-02-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-02-122-1137/+9
| | | | | * pci/pci.h: Remove contents that are duplicates of the pci.h in cpukit and include rtems/pci.h for the base set of PCI functionality.
* 2005-01-22 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-222-1/+5
| | | | * tod/todcfg.c: size_t RTC_Count.
* 2005-01-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-01-043-7/+15
| | | | * ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.
* Changelog, PR728 & PR729Greg Menke2004-12-061-241/+34
| | | | Greg Menke 12/06/2004
* PR 729/bspsGreg Menke2004-12-061-4/+9
| | | | | | | * bootloader/pci.c: Removed the r->size=0 and r->base=0 assignement which makes too-large regions conflict with onboard hardware, replacing it with sfree which deletes the memory region from the setup code, leaving it disabled.
* PR 729/bspsGreg Menke2004-12-061-0/+2
| | | | | | | * bootloader/pci.c: Removed the r->size=0 and r->base=0 assignement which makes too-large regions conflict with onboard hardware, replacing it with sfree which deletes the memory region from the setup code, leaving it disabled.
* 2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>Joel Sherrill2004-11-1024-203/+574
| | | | | | | | | | | | * 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.
* Remove environ common declaration -- it broke newlib.Eric Norum2004-10-261-2/+0
|
* 2003-11-01 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2004-09-273-25/+101
| | | | | | | | | | PR 606/bsps * bootloader/pci.c: Fixed IO remapping so buses >= 1 are remapped. Reduced PCI space to match bat2. Fixed incorrect region size calculation in pci_read_bases. Set PCI latency timers to known sane values. Changed bridge PCI settings to minimum sane instead of whatever sounded neat in the PCI spec. Force pf regions to memory mapped to preserve byte access.
* 2004-04-09 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2004-09-272-0/+6
| | | | | PR 608/bsps * pci/pcibios.c: Added BusCountPCI()