| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* 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()
|
|
|
|
|
| |
* include/bsp.h: Remove (Unused).
* Makefile.am: Reflect change above.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/exception.S: Include <rtems/asm.h> instead of <asm.h>.
* bootloader/head.S: Include <rtems/asm.h> instead of <asm.h>.
* irq/irq_asm.S: Include <rtems/asm.h> instead of <asm.h>.
* start/rtems_crti.S: Include <rtems/asm.h> instead of <asm.h>.
* start/start.S: Include <rtems/asm.h> instead of <asm.h>.
* vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
* include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
* include/bsp.h: Include <rtems/console.h> instead of <console.h>.
|
|
|
|
|
|
| |
* bootloader/misc.c, bootloader/pci.c, console/inch.c,
include/bsp.h, pci/pci.c, startup/bspstart.c, startup/sbrk.c:
Convert to using c99 fixed size types.
|
|
|
|
|
|
|
| |
* bootloader/pci.c: Remove warnings by adding include <string.h>.
* irq/irq.c: Clean up includes to remove warnings.
* pci/pci.c, pci/pci.h, startup/bspstart.c: Better use of const
on struct _int_map.
|
|
|
|
| |
* vectors/vectors.h, vectors/vectors_init.c: Undo previous change.
|
|
|
|
| |
* Makefile.am: Remove startup/linkcmds.
|
|
|
|
|
| |
PR 575/bsps
* startup/linkcmds: Remove.
|
|
|
|
| |
* vectors/vectors.h: Force globalExceptHdl into bss section.
|
|
|
|
| |
* Makefile.am: Don't install, just distribute the files.
|
|
|
|
| |
* Makefile.am: Remove SUBDIRS.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Merge-in bootloader/Makefile.am, clock/Makefile.am,
console/Makefile.am, include/Makefile.am, irq/Makefile.am,
motorola/Makefile.am, openpic/Makefile.am, pci/Makefile.am,
residual/Makefile.am, start/Makefile.am, startup/Makefile.am,
vectors/Makefile.am, vme/Makefile.am. Use automake compilation rules.
* bootloader/Makefile.am, clock/Makefile.am, console/Makefile.am,
include/Makefile.am, irq/Makefile.am, motorola/Makefile.am,
openpic/Makefile.am, pci/Makefile.am, residual/Makefile.am,
start/Makefile.am, startup/Makefile.am, vectors/Makefile.am,
vme/Makefile.am: Remove.
|
|
|
|
|
|
|
|
|
|
| |
* console/Makefile.am: Add PREINSTALL_DIRS.
* irq/Makefile.am: Add PREINSTALL_DIRS.
* motorola/Makefile.am: Add PREINSTALL_DIRS.
* openpic/Makefile.am: Add PREINSTALL_DIRS.
* pci/Makefile.am: Add PREINSTALL_DIRS.
* residual/Makefile.am: Add PREINSTALL_DIRS.
* vectors/Makefile.am: Add PREINSTALL_DIRS.
|
|
|
|
|
|
|
|
|
|
|
| |
* console/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
* irq/Makefile.am: Ditto.
* motorola/Makefile.am: Ditto.
* openpic/Makefile.am: Ditto.
* pci/Makefile.am: Ditto.
* residual/Makefile.am: Ditto.
* vectors/Makefile.am: Ditto.
|
|
|
|
|
|
|
|
|
|
| |
* console/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* irq/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* motorola/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* openpic/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* pci/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* residual/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* vectors/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
|
|
|
| |
* start/Makefile.am: Misc cleanups and fixes.
* startup/Makefile.am: Misc cleanups and fixes.
|
|
|
|
| |
* start/Makefile.am: Remove empty lines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bootloader/Makefile.am: Put all files into EXTRA_DIST.
* vme/Makefile.am: Ditto.
* console/Makefile.am: Move H_FILES to include_bsp_HEADERS.
Add preinstallation dirstamp support.
* irq/Makefile.am: Ditto.
* motorola/Makefile.am: Ditto.
* openpic/Makefile.am: Ditto.
* pci/Makefile.am: Ditto.
* residual/Makefile.am: Ditto.
* vectors/Makefile.am: Ditto.
* Makefile.am: Remove empty lines.
* clock/Makefile.am: Ditto.
* include/Makefile.am: Ditto.
* startup/Makefile.am: Ditto.
|
|
|
|
|
| |
PR 510/bsps
* irq/irq.h: Add extern C wrapper.
|
|
|
|
|
|
| |
PR 497/bsps
* bootloader/head.S: Disable code that returned to the firmware when
the loader starts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 496/bsps
* startup/sbrk.c: New file.
* startup/bspstart.c: This patch implements 'sbrk'
for the powerpc-shared BSP to work around what's known as the
'32Mb problem' in combination with run-time loaded code.
GCC normally generates (PowerPC) code doing 'short jumps' which
requires all text segments being in the same 32Mb area of memory.
However, some run-time loaders use (e.g. heap-) memory violating the
stated limitation on hardware with more than 32Mb of memory.
(NOTE: portable loaders are probably not even aware of this
GCC/CPU specific problem.)
This patch implements a simple workaround: At boot time, the system is
only provided with 32Mb of memory. The user is supposed to load all
necessary modules prior to that limit being exhausted. Once that
happens, newlib/malloc end up trying to 'sbrk()' for more memory and
the implementation provided by this patch will then make the rest of
the physical memory available.
|
|
|
|
|
|
|
|
| |
PR 497/bsps
* bootloader/head.S: Let the bootloader shut down the
network interface. NOTE: this involves a PPCBug system
call and will hence fail if other software is used
to boot. Need to #undef USE_PPCBUG in such cases!
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 456/bsps
* irq/irq.c: Fix race condition when installing an ISR.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
bootloader/Makefile.am: Reflect having moved automake.
clock/Makefile.am: Reflect having moved automake.
console/Makefile.am: Reflect having moved automake.
include/Makefile.am: Reflect having moved automake.
irq/Makefile.am: Reflect having moved automake.
motorola/Makefile.am: Reflect having moved automake.
openpic/Makefile.am: Reflect having moved automake.
pci/Makefile.am: Reflect having moved automake.
residual/Makefile.am: Reflect having moved automake.
start/Makefile.am: Reflect having moved automake.
startup/Makefile.am: Reflect having moved automake.
vectors/Makefile.am: Reflect having moved automake.
vme/Makefile.am: Reflect having moved automake.
|
|
|
|
|
|
|
|
| |
PR 437/bsps
* irq/irc.c: calls to bspIo/printk must not use '%i' format which is
apparently not supported
* pci/pci.c: calls to bspIo/printk must not use '%i' format which is
apparently not supported
|
|
|
|
|
|
|
| |
PR 288/rtems
* irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
maintained and any BSP which does not do so will trip a panic in the
shared code.
|
|
|
|
|
|
|
|
| |
PR 415/bsps
* pci/detect_raven_bridge.c, startup/bspstart.c:
This patch reverts enabling MCP interrupts for the motorola_powerpc
BSPs. REASON: pci config space scanning (as e.g. done by the DEC
Ethernet driver) would raise machine check exceptions.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 428/bsps
PR 432/bsps
* bootloader/pci.c: Re-instated code that prevents remapping small
IO regions, which if remapped would cause i8259 registers to move
out from under the #define'd base addresses.
* startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
megs, I incorrectly had extended it which would cause problems with
PCI devices that defined prefetchable memory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 405/bsps
* bootloader/pci.c: Added support for configuring devices for pci
busses > 0
* pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
INTERRUPT_LINE register of pci devices any # of hops away
from the host processor.
* motorola/motorola.c, motorola/motorola.h: Added interrupt
routing tables in support of FixupPCI. This is board-specific,
each board will have to supply information for FixupPCI() to do
anything for it.
* startup/bspstart.c: Extended bat2 to cover entire PCI address space.
* irq/irq.c, irq/irq.h: Added support for shared interrupts.
Existing single hander vectors are undisturbed, a new function
added to allow adding/removing handlers from a vector.
|
|
|
|
|
|
|
| |
PR 415/bsps
* include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
Support enabling MCP exceptions on the host bridge. This can
be used for memory probing on the VME bus.
|
|
|
|
|
| |
PR 386/bsps
* vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 379/bsps
* console/polled_io.c: libcpu provides 'printk' already.
Therefore, the implementation in this file was removed (still
used for the bootloader, though). It now provides BSP_output_char()
for libcpu's printk().
* console/uart.c, console/uart.h: BSP_output_char_via_serial()
prototype changed to match the BSP_output_char_function_type. Note
that the motorola BSPs use polled-io for the output_char routine, not
the uart.c version. The latter can be used be other BSPs however
(e.g. SVGM).
* console/console.c, console/consoleIo.h, console/polled_io.c,
irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
Unfortunately, the supported 'printk' format string subset of the
polled-io and libcpu implementations are different - hence, a few
format strings in the ppc/shared BSP were changed.
|
|
|
|
|
| |
PR 383/bsps
* irq/irq.c: Fix bug introduced by conflicts in previous patches.
|
|
|
|
|
|
|
|
|
|
| |
PR 360/bsps
* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
BSP code had set the task priority register multiple times of
the OpenPIC instead of setting the individual source priorities.
This patch adds openpic_get_source_priority() and
openpic_set_source_priority() calls and lets IRQ management code
use them.
|
|
|
|
|
|
|
|
| |
PR 349/bsps
* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
code on non-VME BSPs without triggering linkage of the vmeUniverse
driver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|