| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
the exception vector number to yield correct result even if
the vectors reside in the upper area (0xfff00000; psim).
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* shared/irq/irq.c: Fixed incorrect removal of first shared
interrupt in chain.
|
| |
|
|
|
|
| |
* shared/startup/bspstart.c: Eliminate obsolete types.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* shared/bootloader/misc.c, shared/console/polled_io.c,
shared/residual/residual.c: silenced compiler warnings (type cast &
renaming puts->my_puts)
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
* startup/bspstart.c: Rewrote get_eumbbar() in C. Function was written
in inline assembly and containined a register direction error.
|
| |
|
|
|
|
| |
running.
|
|
|
|
|
| |
* clock/p_clock.c, irq/i8259.c, irq/irq.c, irq/irq.h: Modified to use
rtems/irq.h.
|
|
|
|
|
|
| |
* bootloader/bootldr.h, bootloader/em86.c, bootloader/misc.c,
bootloader/pci.c, bootloader/pci.h: Modified to depend upon
rtems/pci.h
|
| |
|
|
|
|
|
|
|
| |
* startup/bspstart.c, tod/todcfg.c:
Eliminate {un|}signed{8|16|32}.
* bootloader/pci.c: Eliminate {un|}signed{8|16|32}.
Eliminate u32.
|
|
|
|
| |
Eliminate u32.
|
| |
|
|
|
|
| |
* pci/pci.h: Add pci_bus_count().
|
|
|
|
|
| |
* irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c:
Name change to support common PCI interface
|
|
|
|
| |
* console/uart.h: Eliminate tabs.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
* pci/pci.c, pci/pci.h, pci/pcifinddevice.c: Continue PCI API
unification. All use pci_find_device(). Also reformat to remove tabs.
|
|
|
|
|
| |
* pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Make PCI
initialize function part of the unified PCI API as pci_initialize().
|
|
|
|
| |
* startup/bspstart.c: Eliminate rtems_unsigned32.
|
|
|
|
|
|
| |
* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
|
|
|
|
|
|
| |
* start/start.S: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* tod/todcfg.c: size_t RTC_Count.
|
|
|
|
| |
* ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.
|
|
|
|
| |
Greg Menke 12/06/2004
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR 608/bsps
* pci/pcibios.c: Added BusCountPCI()
|