summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme5500/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-231-1/+2
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* powerpc/mvme5500: Fix warningsJoel Sherrill2014-10-191-21/+23
|
* powerpc/mvme5500: Fix warningsJoel Sherrill2014-10-131-6/+4
|
* powerpc/mvme5500/startup/bspreset.c: Include <bsp/bootcard.h>Joel Sherrill2014-10-131-1/+1
|
* powerpc/mvme5500/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill2014-10-091-11/+5
| | | | warning and clean up
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* powerpc: Change interrupt disable implemetationSebastian Huber2014-02-191-5/+1
| | | | | | | | | | | | Instead of SPRG0 (= special purpose register 272) use the new global symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask. The benefit is that it is now possible to disable interrupts without further run-time initialization in boot_card(). At least on Freescale e500 cores this leads also to a faster execution since the mfmsr and mfspr instruction require four cycles to complete. The instructions to load the mask value can execute while the mfmsr is in progress.
* score: Add CPU counter supportSebastian Huber2014-02-141-0/+4
| | | | | | | | | Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-071-7/+0
| | | | | | | | | Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-5/+1
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-2/+11
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* Remove CVS-Ids.Ralf Corsépius2012-07-191-2/+0
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-112-3/+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-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-131-1/+3
| | | | | | | | PR 1824/cpukit * startup/bspclean.c: Return exit/shutdown status back to boot_card(). boot_card() propagates this to bsp_cleanup() and returns it to the assembly that started the application. bsp_cleanup() prototype changed.
* 2011-04-10 Kate Feng <feng@bnl.gov>Joel Sherrill2011-06-171-29/+1
| | | | | | | | | | | | | PR 1786/bsps * Makefile.am: Add support for Altivec. * startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead. * make/custom/mvme5500.cfg: Change CPU_CFLAGS to "-mcpu=7450 -mtune=7450 -Dmpc7455" * irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c: Remove warnings. * vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers. * network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there is any Rx error.
* 2010-08-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-201-1/+2
| | | | | PR 1684/bsps * startup/bspstart.c: Add BSP_poll_char.
* correct prototypesThomas Doerfler2010-03-271-1/+1
|
* Whitespace removal.Ralf Corsepius2009-11-303-17/+17
|
* Update for exception support changes.Thomas Doerfler2009-10-231-4/+8
|
* 2009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-231-3/+6
| | | | | | | * irq/BSP_irq.c, network/if_100MHz/GT64260eth.c, network/if_1GHz/if_wm.c, network/if_1GHz/pci_map.c, startup/bspstart.c: Add missing prototypes. Adjust bogus types. Remove unused vars.
* 2009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-201-1/+2
| | | | | | * start/start.S, startup/bspstart.c: let 'save_boot_params()' return a pointer to the commandline saved by the BSP and pass this pointer on to 'boot_card()'.
* 2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-161-4/+3
| | | | * startup/bspstart.c: Remove nested externs.
* 2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-161-4/+0
| | | | * startup/bspstart.c: Remove __RTEMS_APPLICATION__
* 2009-05-08 Kate Feng <feng1@bnl.gov>Joel Sherrill2009-05-083-66/+33
| | | | | | | | | | | | | | * include/bsp.h, start/start.S, startup/bspstart.c: added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h. removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined by the linker script (shared/startup/linkcmds) for the initial stack. replaced __rtems_end+4096 with __stack in start.S Removed legacy code in bspstart.c (inherited from old mvme2307 BSP but not relevant to this one) that tested trapping into PPCBug. Changed ConfVPD_buff[] to be static and added ReadConfVPD_buf() in bspstart.c
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-222-4/+3
| | | | | | | | | | | * Makefile.am, README.booting, include/bsp.h, startup/bspclean.c, vectors/exceptionhandler.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants. * startup/bspreset.c: New file. * startup/reboot.c: Removed.
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-24/+2
| | | | | * Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Use PowerPC level shared bsp_get_work_area() implementation.
* 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-151-8/+0
| | | | | * startup/bspstart.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-1/+0
| | | | | | * startup/bspstart.c: Review of all bsp_cleanup() implementations. In this phase, all prototypes were removed from bsp.h and empty implementations were removed and made to use the shared stub.
* Add missing prototypes.Ralf Corsepius2008-08-201-5/+5
|
* adapted powerpc BSPs to new exception codeThomas Doerfler2008-07-111-25/+14
|
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-4/+0
| | | | | | | | | | | | * startup/bspstart.c: Refactored and renamed initialization routines to rtems_initialize_data_structures, rtems_initialize_before_drivers, rtems_initialize_device_drivers, and rtems_initialize_start_multitasking. This opened the sequence up so that bootcard() could provide a more robust and flexible framework which is easier to explain and understand. This also lays the groundwork for sharing the division of available memory between the RTEMS workspace and heap and the C library initialization across all BSPs.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-13/+4
| | | | | | * include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-16/+5
| | | | | | * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-39/+67
| | | | | | | | | | * Makefile.am, include/bsp.h, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-011-2/+0
| | | | * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-281-2/+4
| | | | | | * startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
* 2007-09-07 Kate Feng <feng1@bnl.gov>Joel Sherrill2007-09-134-258/+51
| | | | | | | | | | | | | | | | * ChangeLog, Makefile.am, README, README.booting, README.irq, preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c, irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c, pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S, startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c, startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c: Merge my improvements in this BSP including a new network driver for the 1GHz NIC. * network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h, network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am, network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG, network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h, network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
* 2007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-111-1/+0
| | | | | | * startup/bspstart.c: Remove assignments of Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default value in boot_card.c
* 2007-01-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-171-2/+46
| | | | | | | | | | | * ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c, * mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h, * mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h, * mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c, * shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c, * shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h, * shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c: Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
* 2005-11-03 straumanatslacdotstanforddoteduTill Straumann2005-11-032-305/+4
| | | | | | | | | * startup/linkcmds: Removed. * Makefile.am, start/preload.S, startup/bspstart.c: use linkcmds from shared area - this version seemed broken anyways. Let the preloader use the generic 'entry_point_section' rather than its own 'mvme5500_preloader_section'. Also, let zero_bss use (implicit?) __SBSSxxx__ symbols.
* 2005-11-03 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-11-031-0/+1
| | | | | PR 844/bsps * startup/bspstart.c: Include <rtems/bspIo.h>.
* Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP ↵Eric Norum2005-07-281-0/+1
| | | | running.
* Add some new regions.Eric Norum2005-07-251-2/+2
|
* 2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-041-1/+1
| | | | | * pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support common PCI interface
* 2005-04-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-152-2/+2
| | | | | | * GT64260/GT64260TWSI.c, GT64260/GT64260TWSI.h, irq/GT64260Int.c, network/GT64260eth.c, pci/pci.c, startup/bspclean.c, startup/reboot.c: Fix warnings.
* 2005-04-15 <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-151-2/+1
| | | | * startup/linkcmds: add missing section to link cmds
* 2005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-041-1/+1
| | | | | * pci/pci.c, pci/pci.h, 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-171-4/+4
| | | | | | * startup/bspstart.c: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE.
* 2005-01-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-01-261-5/+9
| | | | * irq/irq.c, startup/bspstart.c: Now compiles with gcc 4.x.
* 2004-10-21 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-10-211-3/+11
| | | | | * startup/bspstart.c: Remove warnings for variables only used when certain conditionals are enabled..