summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/motorola_powerpc: Move bspstart.c to bspsSebastian Huber2018-04-201-376/+0
| | | | | | | | This shared powerpc file was only used by this BSP. This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Support more than 256MiB of RAMÉric Tremblay2018-03-201-0/+18
| | | | Close #3322.
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-9/+0
| | | | | | | BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-6/+0
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* bsps/powerpc: Avoid recursion in exception handlerSebastian Huber2016-03-291-1/+4
|
* Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers2014-12-231-2/+2
| | | | | | Also use the const qualifier on the address pointer's target in in_*() Closes #2128
* powerpc/shared/startup/bspstart.c: Fix warning for mvme2100Joel Sherrill2014-10-201-1/+1
|
* libbsp/powerpc/shared and motorola_powerpc: Fix warningsJoel Sherrill2014-10-191-7/+8
|
* shared/startup/bspstart.c: Remove myCpu variables and clean upJoel Sherrill2014-10-161-4/+2
|
* powerpc/shared/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill2014-10-091-5/+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.
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-5/+1
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+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-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-4/+4
| | | | * shared/startup/bspstart.c: Comment out unused vars.
* 2011-07-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-181-15/+16
| | | | | * shared/startup/bspstart.c: Select console *before* doing any potential printk() (e.g., panic).
* 2011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-161-3/+11
| | | | | | | | * 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.
* 2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-281-5/+2
| | | | | | * shared/bootloader/em86.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/irq/irq_init.c, shared/startup/bspstart.c: Remove warnings.
* fix prototypesThomas Doerfler2010-03-271-1/+1
|
* Whitespace removal.Ralf Corsepius2009-11-301-5/+5
|
* Update for exception support changes.Thomas Doerfler2009-10-231-4/+8
|
* 2009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-201-1/+2
| | | | | | * shared/start/start.S, shared/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()'.
* 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-191-17/+1
| | | | | | | | * shared/start/start.S, shared/startup/bspgetworkarea.c, shared/startup/bspstart.c, shared/startup/linkcmds: Modifications which reflect those tested on psim. Hopefully they work on all boards. The initialization stack is explicitly declared in the linkcmds memory layout rather than magic math.
* 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-151-27/+7
| | | | | | | * shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. * shared/startup/bspgetworkarea.c: New file.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-1/+0
| | | | | | | * shared/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-8/+8
|
* adapted powerpc BSPs to new exception codeThomas Doerfler2008-07-111-33/+22
|
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-2/+0
| | | | | | | | | | | | * shared/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
| | | | | | * shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-04 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-051-0/+2
| | | | * export BSP_commandline_string variable.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-15/+6
| | | | | | * shared/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-2/+0
| | | | | | | | | * shared/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-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-301-4/+3
| | | | | | * shared/startup/bspstart.c: Removed excess /*, replaced #ifdef checks for mpc8240 by #ifdef mvme2100; eventually there should be run-time checks.
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-281-2/+9
| | | | | | * shared/startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
* 2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-08-021-32/+1
| | | | | | * shared/startup/bspstart.c: Split out ShowBATS() so it can be shared by more BSPs. * shared/showbats.c: New file.
* 2007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-111-1/+0
| | | | | | * shared/startup/bspstart.c: Remove assignments of Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default value in boot_card.c
* 2006-11-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-11-151-1/+1
| | | | | * shared/startup/bspstart.c: Merge c_rtems_main() into boot_card(). This eliminated a file and simplified initialization.
* fixed compiler warnings (bspIo.h inclusion, cast of numberTill Straumann2006-06-191-3/+4
| | | | constants to pointers). Enable L1 cache on mvme2100.
* 2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-11-091-2/+2
| | | | * shared/startup/bspstart.c: Eliminate obsolete types.
* 2005-11-03 <strauman@slac.stanford.edu>Till Straumann2005-11-041-99/+38
| | | | | | | | | | | * 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].
* Numerous changes and cleanups to support MVME2100.Eric Norum2005-10-201-1/+1
|
* 2005-09-16 richard.campbell@OARCorp.comRichard Campbell2005-09-161-16/+4
| | | | | * startup/bspstart.c: Rewrote get_eumbbar() in C. Function was written in inline assembly and containined a register direction error.
* Eliminate {un|}signed{8|16|32}.Ralf Corsepius2005-05-101-5/+5
|
* 2005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-05-041-1/+1
| | | | | * irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Name change to support common PCI interface
* 2005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-03-041-1/+1
| | | | | * pci/pci.c, pci/pcifinddevice.c, 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-5/+5
| | | | * startup/bspstart.c: Eliminate rtems_unsigned32.
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-171-2/+3
| | | | | | * startup/bspstart.c: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE.
* 2005-01-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-01-041-6/+8
| | | | * ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.