summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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()
* 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-223-157/+6
| | | | | * include/bsp.h: Remove (Unused). * Makefile.am: Reflect change above.
* Remove duplicate white lines.Ralf Corsepius2004-04-2136-388/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-2142-1250/+1250
|
* Remove stray white spaces.Ralf Corsepius2004-04-1514-27/+1
|
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-018-8/+19
| | | | | | | | | | | * 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>.
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-318-40/+46
| | | | | | * 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.
* 2004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-056-7/+16
| | | | | | | * 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.
* 2004-03-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-033-2/+6
| | | | * vectors/vectors.h, vectors/vectors_init.c: Undo previous change.
* 2004-02-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-122-1/+4
| | | | * Makefile.am: Remove startup/linkcmds.
* 2004-02-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-102-200/+5
| | | | | PR 575/bsps * startup/linkcmds: Remove.
* 2004-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-02-082-1/+6
| | | | * vectors/vectors.h: Force globalExceptHdl into bss section.
* 2004-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-042-74/+6
| | | | * Makefile.am: Don't install, just distribute the files.
* 2004-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-032-2/+4
| | | | * Makefile.am: Remove SUBDIRS.
* 2004-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-0328-303/+133
| | | | | | | | | | | | | * 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.
* 2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-218-7/+31
| | | | | | | | | | * 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.
* 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-01-148-0/+32
| | | | | | | | | | | * 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.
* 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-128-14/+17
| | | | | | | | | | * 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.
* 2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-093-4/+7
| | | | | * start/Makefile.am: Misc cleanups and fixes. * startup/Makefile.am: Misc cleanups and fixes.
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-022-1/+1
| | | | * start/Makefile.am: Remove empty lines.
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-0214-90/+118
| | | | | | | | | | | | | | | | | * 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.
* 2003-10-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-10-222-0/+14
| | | | | PR 510/bsps * irq/irq.h: Add extern C wrapper.
* 2003-09-29 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2003-09-292-2/+8
| | | | | | PR 497/bsps * bootloader/head.S: Disable code that returned to the firmware when the loader starts.
* 2003-09-26 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2003-09-263-2/+93
| | | | | | | | | | | | | | | | | | | | | 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.
* 2003-09-26 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-09-262-12/+46
| | | | | | | | 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!
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-0432-31/+44
| | | | | | | | | | | | | * 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.
* 2003-08-21 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2003-08-212-4/+17
| | | | | PR 456/bsps * irq/irq.c: Fix race condition when installing an ISR.
* Fix broken ChangeLog entries.Ralf Corsepius2003-08-181-14/+14
|
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-1615-15/+32
| | | | | | | | | | | | | | | | | 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.
* 2003-08-05 Till Strauman <strauman@slac.stanford.edu>Jennifer Averett2003-08-053-7/+16
| | | | | | | | 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
* 2003-07-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-07-183-7/+40
| | | | | | | 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.
* 2003-07-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-07-183-14/+17
| | | | | | | | 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.
* 2003-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-07-184-20/+69
| | | | | | | | | | | 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.
* 2003-06-13 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-06-1311-780/+1985
| | | | | | | | | | | | | | | | | 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.
* 2003-06-13 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-06-134-0/+60
| | | | | | | 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.
* 2003-04-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-04-152-2/+5
| | | | | PR 386/bsps * vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.
* 2003-04-10 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-04-109-15/+49
| | | | | | | | | | | | | | | | | | 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.
* 2003-04-10 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-04-102-1/+6
| | | | | PR 383/bsps * irq/irq.c: Fix bug introduced by conflicts in previous patches.
* 2003-03-25 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-255-9/+50
| | | | | | | | | | 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.
* 2003-03-25 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-252-1/+19
| | | | | | | | 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.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-189-22/+84
| | | | | | | | | | | | | | | 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.