summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/bootloader (follow)
Commit message (Collapse)AuthorAgeFilesLines
* powerpc/shared/bootloader/pci.c: Remove warningsJoel Sherrill2015-03-091-2/+2
|
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-231-8/+8
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* powerpc/shared/bootloader: Fix warningsJoel Sherrill2014-10-192-1/+4
|
* powerpc bootloader: Remove warningsJoel Sherrill2014-10-136-20/+47
| | | | | This code is shared by multiple PowerPC BSPs including all motorola_powerpc variants.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-219-9/+9
|
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-111-2/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1112-26/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-243-10/+9
| | | | | | * shared/bootloader/exception.S, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/startup/probeMemEnd.c: Update due to API changes.
* 2011-07-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-181-0/+16
| | | | | * shared/bootloader/qemu_fakerom.S: Added work-around for qemu bug 811683.
* 2011-07-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-181-0/+3
| | | | * shared/bootloader/head.S: disable USE_PPCBUG under qemu.
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-164-1/+455
| | | | | | | | * shared/bootloader/mm.c, shared/bootloader/pci.c, shared/bootloader/qemu_fakeres.c, shared/bootloader/qemu_fakerom.S, shared/irq/irq.h, shared/motorola/motorola.c, shared/residual/residual.h, shared/startup/bspstart.c, Added 'qemuprep' BSP variant.
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-161-6/+10
| | | | | | | * shared/bootloader/misc.c: Copy residual data _before_ decompressing the kernel since the firmware may have stored it in an area that is overwritten by decompress_kernel().
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-289-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c, ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c, gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c, haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h, motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c, mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h, mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h, psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h, psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c, psim/startup/linkcmds, psim/tools/psim-gdb-top.in, psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h, score603e/irq/irq.c, shared/bootloader/bootldr.h, shared/bootloader/em86.c, shared/bootloader/em86real.S, shared/bootloader/exception.S, shared/bootloader/head.S, shared/bootloader/lib.c, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/bootloader/pci.c, shared/console/console.c, shared/console/consoleIo.h, shared/console/inch.c, shared/console/keyboard.h, shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h, shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c, shared/motorola/motorola.h, shared/openpic/openpic.c, shared/openpic/openpic.h, shared/pci/pci.c, shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h: Fix typo where license said found in found in.
* 2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-282-5/+7
| | | | | | * shared/bootloader/em86.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/irq/irq_init.c, shared/startup/bspstart.c: Remove warnings.
* Whitespace removal.Ralf Corsepius2009-11-301-8/+8
|
* 2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-251-12/+12
| | | | * shared/bootloader/bootldr.h: Change extern inline to static inline.
* Use stdint.h fixed-size types.Ralf Corsepius2007-03-314-36/+40
|
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-031-2/+2
| | | | | | * shared/bootloader/misc.c, shared/console/polled_io.c, shared/residual/residual.c: silenced compiler warnings (type cast & renaming puts->my_puts)
* 2005-05-10 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-105-1109/+47
| | | | | | * bootloader/bootldr.h, bootloader/em86.c, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h: Modified to depend upon rtems/pci.h
* Eliminate {un|}signed{8|16|32}.Ralf Corsepius2005-05-101-6/+3
| | | | Eliminate u32.
* 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-103-3/+9
| | | | | | | | | | | | * 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.
* 2003-11-01 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2004-09-271-21/+67
| | | | | | | | | | 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.
* Remove duplicate white lines.Ralf Corsepius2004-04-2111-206/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-2112-807/+807
|
* Remove stray white spaces.Ralf Corsepius2004-04-153-9/+0
|
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-012-2/+2
| | | | | | | | | | | * 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-312-17/+17
| | | | | | * 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-051-0/+1
| | | | | | | * 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-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-032-15/+0
| | | | | | | | | | | | | * 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.
* 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-021-8/+4
| | | | | | | | | | | | | | | | | * 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-09-29 Till Strauman <strauman@slac.stanford.edu>Joel Sherrill2003-09-291-2/+2
| | | | | | PR 497/bsps * bootloader/head.S: Disable code that returned to the firmware when the loader starts.
* 2003-09-26 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-09-261-12/+38
| | | | | | | | 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-049-9/+9
| | | | | | | | | | | | | * 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-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-161-1/+1
| | | | | | | | | | | | | | | | | 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-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-07-181-12/+40
| | | | | | | | | | | 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-132-711/+1201
| | | | | | | | | | | | | | | | | 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.
* 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-01-031-12/+80
| | | | | | | * bootloader/head.S: Added support for optional debug via PPCbug. Also turn off mmu/caches for the bootstrap phase, which seems to cause trouble with the 603. The cpu init functions in the bsp get all that stuff going properly.
* 2002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-311-0/+2
| | | | | | * 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.
* 2002-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-07-251-1/+1
| | | | * bootloader/em86real.S: Fix syntax error in comment near line 1185.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-183-6/+6
| | | | | | | | | | | | * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>. * bootloader/head.S: Ditto. * bootloader/misc.c: Ditto. * console/polled_io.c: Ditto. * irq/irq.c: Ditto. * irq/irq_asm.S: Ditto. * irq/irq_init.c: Include <rtems/bspIo.h>. * start/start.S: Reflect changes to <rtems/score/cpu.h>. * vectors/vectors.S: Ditto.
* 2002-04-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-032-0/+3
| | | | | | | | | * 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.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS.
* Patch from Eric Valette to do some cleanup.Joel Sherrill2000-06-291-1/+1
|
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-122-4/+4
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-131-0/+2
| | | | adds .cvsignore.
* Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff fromJoel Sherrill2000-01-311-5/+2
| | | | | | | | | | Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams
* Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-01-102-44/+21
| | | | | | | | which converts the PowerPC BSPs to configuration and more automake. * Besides adding partial automake support, rsp converting all powerpc BSPs to make them compliant to the new configuration scheme, this patch attempts to fix several configuration bugs in powerpc related Makefiles.