summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Obsolete and remove powerpc/mbx8xxJoel Sherrill2016-01-231-168/+0
| | | | closes #2545.
* mbx8xx/startup/bspstart.c: Remove myCpu variables and clean upJoel Sherrill2014-10-161-7/+5
|
* powerpc/mbx8xx/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill2014-10-091-7/+6
| | | | 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-1/+0
| | | | | | | | | | | | 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/+2
| | | | | | | | | 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
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-151-4/+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-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-071-2/+2
| | | | | * configure.ac, startup/bspstart.c, include/coverhd.h: Use standard cache BSP options.
* 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-251-0/+2
| | | | | * console/console.c, ide/pcmcia_ide.c, startup/bspstart.c, startup/imbx8xx.c: Fix some warnings.
* Update for exception support changes.Thomas Doerfler2009-10-231-19/+20
|
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-161-1/+0
| | | | | * startup/bspstart.c: Remove unnecessary includes of rtems/libcsupport.h and rtems/libio.h.
* 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-151-2/+0
| | | | | | * startup/bspstart.c, startup/bspstart.c.nocache: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization.
* 2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-141-55/+0
| | | | | | | * Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Create bsp_get_work_area() into its own file and use BSP Framework to perform more initialization. * startup/bspgetworkarea.c: New file.
* Convert to "bool".Ralf Corsepius2008-09-061-7/+7
|
* adapted powerpc BSPs to new exception codeThomas Doerfler2008-07-111-3/+2
|
* 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-151-7/+3
| | | | | | | | | | | | | | | * startup/bspstart.c, startup/bspstart.c.nocache: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-1/+0
| | | | | | | | | | | | * startup/bspstart.c, startup/bspstart.c.nocache: 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.
* 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-04-231-5/+0
| | | | | * startup/bspstart.c, startup/bspstart.c.nocache: Remove all references to console_reserve_resources and termios_reserve_resources.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-11/+2
| | | | | | * include/bsp.h, startup/bspstart.c, startup/bspstart.c.nocache: 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-10/+1
| | | | | | | * startup/bspstart.c, startup/bspstart.c.nocache: 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-4/+0
| | | | | | | | | | * startup/bspstart.c, startup/bspstart.c.nocache: 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-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-281-14/+28
| | | | | | * startup/bspstart.c, startup/bspstart.c.nocache: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
* * startup/bspstart.c: set external clock to 0 for some boards toThomas Doerfler2007-03-161-0/+17
| | | | | | match the "auto clock detection" scheme in the libcpu clock driver * startup/linkcmds: remove content of dpram section to avoid download hangs with the EPPCBug board monitor
* 2005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2005-09-121-0/+1
| | | | | | | | | | PR 822/bsps * console/console.c, startup/bspstart.c, startup/imbx8xx.c, startup/mmutlbtab.c, startup/start.S, vectors/vectors_init.c: Currently the MBX8xx BSP does not boot, because some logical errors are in the startup code. Additionally, the mpc8xx shared clock driver does not support the clocking scheme of some of the board variants, which are clocked from a 32768Hz (!) external crystal.
* 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-171-1/+2
| | | | | | * startup/bspstart.c: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE.
* Remove duplicate white lines.Ralf Corsepius2004-04-211-3/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-211-11/+11
|
* Remove stray white spaces.Ralf Corsepius2004-04-151-1/+0
|
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-1/+1
| | | | | | * console/console.c, ide/pcmcia_ide.c, network/network.c, startup/bspstart.c, startup/bspstart.c.nocache, startup/imbx8xx.c: Convert to using c99 fixed size types.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | | | | * clock/p_clock.c, ide/pcmcia_ide.c, include/bsp.h, include/coverhd.h, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, startup/bspstart.c, startup/bspstart.c.nocache, startup/imbx8xx.c, startup/mmutlbtab.c, startup/setvec.c, startup/start.S, vectors/vectors.h, vectors/vectors_init.c: URL for license changed.
* 2003-07-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-07-181-3/+8
| | | | | | PR 288/rtems * irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly maintained.
* 2002-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-11-011-0/+1
| | | | | * clock/p_clock.c, console/console.c, startup/bspstart.c: Removed warnings.
* 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-171-0/+2
| | | | * startup/bspstart.c: Include <libcpu/cpuIdent.h>, <rtems/bspIo.h>.
* 2001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-10-121-1/+0
| | | | | | * clock/p_clock.c, include/bsp.h, include/coverhd.h, startup/bspstart.c, startup/bspstart.c.nocache, startup/setvec.c, startup/start.S: Fixed typo.
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-061-1/+47
| | | | | | | | | | | | | | | * clock/.cvsignore, clock/Makefile.am, clock/p_clock.c, include/8xx_immap.h, include/commproc.h, include/mbx.h, irq/.cvsignore, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, vectors/.cvsignore, vectors/Makefile.am, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: New files. * Makefile.am, configure.in, console/console.c, include/Makefile.am, network/network.c, startup/Makefile.am, startup/bspstart.c, startup/imbx8xx.c, startup/linkcmds, startup/mmutlbtab.c, startup/start.S, wrapup/Makefile.am: The modifications to this BSP reflect the conversion of the mpc8xx CPU to the "new exception processing model."
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-011-17/+3
| | | | | | | | * startup/bspstart.c, startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. Header file order was cleaned up while doing this. Also removed obsolete references to STACK_CHECKER_ON.
* 2000-08-11 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>Joel Sherrill2000-08-251-7/+13
| | | | | | | | | * README: * console/console.c: * include/bsp.h: * network/network.c: * startup/bspstart.c: Add support for configuration parameters in NVRAM
* Patch from John Cotton <john.cotton@nrc.ca> to correct cacheJoel Sherrill2000-06-141-2/+2
| | | | | | routine naming to follow RTEMS package/object.method rule. This patch also eliminated calls to the obsolete routine m68k_enable_caching.
* Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill2000-06-121-0/+193
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860