summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-20bsp/motorola_powerpc: Move bspstart.c to bspsSebastian Huber1-376/+0
This shared powerpc file was only used by this BSP. This patch is a part of the BSP source reorganization. Update #3285.
2018-03-20bsps/powerpc: Support more than 256MiB of RAMÉric Tremblay1-0/+18
Close #3322.
2017-11-22powerpc: Remove _BSP_Fatal_error()Sebastian Huber1-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.
2017-11-22powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber1-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.
2016-03-29bsps/powerpc: Avoid recursion in exception handlerSebastian Huber1-1/+4
2014-12-23Use fixed-width C99 types for PowerPC in_be16() and co.Nick Withers1-2/+2
Also use the const qualifier on the address pointer's target in in_*() Closes #2128
2014-10-20powerpc/shared/startup/bspstart.c: Fix warning for mvme2100Joel Sherrill1-1/+1
2014-10-19libbsp/powerpc/shared and motorola_powerpc: Fix warningsJoel Sherrill1-7/+8
2014-10-16shared/startup/bspstart.c: Remove myCpu variables and clean upJoel Sherrill1-4/+2
2014-10-09powerpc/shared/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill1-5/+5
warning and clean up
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-02-19powerpc: Change interrupt disable implemetationSebastian Huber1-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.
2014-02-14score: Add CPU counter supportSebastian Huber1-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.
2012-11-15bsps/powerpc: Exception initialization error is fatalSebastian Huber1-5/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-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-072011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+4
* shared/startup/bspstart.c: Comment out unused vars.
2011-07-182011-07-18 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-15/+16
* shared/startup/bspstart.c: Select console *before* doing any potential printk() (e.g., panic).
2011-07-162011-07-15 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-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-282010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-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.
2010-03-27fix prototypesThomas Doerfler1-1/+1
2009-11-30Whitespace removal.Ralf Corsepius1-5/+5
2009-10-23Update for exception support changes.Thomas Doerfler1-4/+8
2009-10-202009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-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-192008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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-152008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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-102008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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.
2008-08-20Add missing prototypes.Ralf Corsepius1-8/+8
2008-07-11adapted powerpc BSPs to new exception codeThomas Doerfler1-33/+22
2008-05-122008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-052007-12-04 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+2
* export BSP_commandline_string variable.
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-12-012007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-2/+0
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
2007-11-302007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-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-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-022007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-32/+1
* shared/startup/bspstart.c: Split out ShowBATS() so it can be shared by more BSPs. * shared/showbats.c: New file.
2007-03-112007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-152006-11-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* shared/startup/bspstart.c: Merge c_rtems_main() into boot_card(). This eliminated a file and simplified initialization.
2006-06-19 fixed compiler warnings (bspIo.h inclusion, cast of numberTill Straumann1-3/+4
constants to pointers). Enable L1 cache on mvme2100.
2005-11-092005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* shared/startup/bspstart.c: Eliminate obsolete types.
2005-11-042005-11-03 <strauman@slac.stanford.edu>Till Straumann1-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].
2005-10-20Numerous changes and cleanups to support MVME2100.Eric Norum1-1/+1
2005-09-162005-09-16 richard.campbell@OARCorp.comRichard Campbell1-16/+4
* startup/bspstart.c: Rewrote get_eumbbar() in C. Function was written in inline assembly and containined a register direction error.
2005-05-10Eliminate {un|}signed{8|16|32}.Ralf Corsepius1-5/+5
2005-05-042005-05-04 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+1
* irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Name change to support common PCI interface
2005-03-042005-03-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-172005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-5/+5
* startup/bspstart.c: Eliminate rtems_unsigned32.
2005-02-172005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-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-042005-01-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-6/+8
* ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.