summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-08powerpc/score603e: Remove (obselete).Ralph Holmes1-232/+0
Updates #2458.
2014-10-09Eliminate use of /*PAGE and clean up formattingJoel Sherrill1-3/+1
2014-10-09powerpc/score603e/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill1-7/+6
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/+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.
2012-11-15bsps/powerpc: Exception initialization error is fatalSebastian Huber1-5/+1
2012-10-15bsps: Remove unused bsp_libc_init() prototypeSebastian Huber1-6/+0
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-06-072011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-2/+2
* configure.ac, startup/bspstart.c: Use standard cache BSP options.
2011-02-112011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* PCI_bus/PCI.c, console/console.c, include/bsp.h, include/tm27.h, startup/Hwr_init.c, startup/bspstart.c: Use "__asm__" instead of "asm" for improved c99-compliance.
2010-04-282010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-6/+4
* irq/irq.h, startup/bspstart.c: Remove warnings.
2009-11-30Whitespace removal.Ralf Corsepius1-6/+6
2009-10-23Update for exception support changes.Thomas Doerfler1-4/+8
2009-10-162009-10-16 Jennifer Averett <jennifer@OARcorp.com>Joel Sherrill1-1/+3
* configure.ac: Default to having PSC8 mezzanine so code builds all the time. * startup/bspstart.c: Calibrated clock using an VMEBus controlled discrete pulsed at a 20ms rate.
2009-05-052009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett1-92/+66
* Makefile.am, configure.ac, preinstall.am, PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c, console/85c30.h, console/console.c, console/consolebsp.h, console/tbl85c30.c, include/bsp.h, include/gen2.h, include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h, irq/irq_init.c, start/start.S, startup/Hwr_init.c, startup/bspstart.c, startup/linkcmds, timer/timer.c, tod/tod.c, vme/VMEConfig.h: Updated and tested with latest interrupt source. Modified with latest memory allocation, but this needs testing. * irq/no_pic.c: New file.
2008-10-022008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+2
* PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, console/85c30.h, console/console.c, console/consolebsp.h, console/tbl85c30.c, include/gen2.h, irq/FPGA.c, irq/irq.c, irq/irq.h, irq/irq_init.c, pci/no_host_bridge.c, startup/bspclean.c, startup/bspstart.c, startup/genpvec.c, startup/vmeintr.c: File head clean up.
2008-10-012008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* Makefile.am, preinstall.am, PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/universe.c, console/85c30.c, console/85c30.h, console/consolebsp.h, console/tbl85c30.c, include/gen2.h, startup/Hwr_init.c, startup/bspstart.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c, timer/timer.c, tod/tod.c, vme/VMEConfig.h: Some clean up. * include/coverhd.h: Removed.
2008-09-302008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill1-129/+25
* Makefile.am, preinstall.am, PCI_bus/universe.c, console/console.c, include/bsp.h, irq/FPGA.c, irq/irq.c, startup/Hwr_init.c, startup/bspstart.c, startup/vmeintr.c: Modifications required to run on hardware. Some cleanup.
2008-09-192008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* include/bsp.h, startup/bspstart.c: Remove unused BSP_INIT_STACK_SIZE now that the linkcmds accounts for the starting stack.
2008-09-192008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+8
* Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use PowerPC level shared bsp_get_work_area() implementation. * startup/bspgetworkarea.c: Removed.
2008-09-182008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-7/+6
* startup/bspstart.c: Remove unused variable.
2008-09-182008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-0/+1
* startup/bspstart.c: Add include of rtems/libio.h.
2008-09-172008-09-17 Miao Yan <yanmiaobest@gmail.com>Joel Sherrill1-2/+3
* startup/bspstart.c: Merge GSOC project code to add simple device only filesystem (devfs), optionally completely drop out filesystem, and to clean up disabling newlib reentrancy support. This dropped 17K from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K code space.
2008-09-152008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-69/+1
* Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. * startup/bspgetworkarea.c: New file.
2008-09-032008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+136
* Makefile.am, README, configure.ac, console/85c30.c, console/console.c, console/consolebsp.h, include/bsp.h, include/gen2.h, irq/FPGA.c, irq/irq.c, irq/irq.h, irq/irq_init.c, start/start.S, startup/bspstart.c, startup/genpvec.c, startup/linkcmds, timer/timer.c, tod/tod.c: Initiate update and testing. Runs hello but does not run ticker yet.
2008-05-152008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+0
* startup/bspstart.c: 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.
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-12/+3
* include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
2007-12-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-5/+1
* 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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-7/+4
* Makefile.am, 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-5/+0
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
2007-11-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-2/+8
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
2007-09-172007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* PCI_bus/universe.c, console/console.c, include/bsp.h, irq/FPGA.c, startup/bspstart.c, startup/genpvec.c, startup/spurious.c: Eliminate DEBUG_puts.
2007-03-112007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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
2005-04-282005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+34
* score603e/Makefile.am, score603e/configure.ac, score603e/console/console.c, score603e/include/bsp.h, score603e/include/gen2.h, score603e/include/tm27.h, score603e/startup/bspstart.c: Update score603e to new exception model NOTE: These modifications have not been tested on hardware.
2005-04-112005-04-11 Jennifer Averett<jennifer.averett@oarcorp.com>Jennifer Averett1-8/+8
PR 778/bsps * include/bsp.h, include/gen2.h, startup/FPGA.c, startup/Hwr_init.c, startup/bspstart.c, tod/tod.c: modify SCORE_.. to BSP_.. for externally used define's.
2004-04-21Remove duplicate white lines.Ralf Corsepius1-3/+0
2004-04-21Remove stray white spaces.Ralf Corsepius1-16/+16
2004-04-15Remove stray white spaces.Ralf Corsepius1-1/+0
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-13/+13
* PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, clock/clock.c, console/85c30.c, console/console.c, console/consolebsp.h, include/bsp.h, include/gen2.h, startup/FPGA.c, startup/Hwr_init.c, startup/bspstart.c, startup/genpvec.c, startup/spurious.c, startup/vmeintr.c, timer/timer.c, tod/tod.c: Convert to using c99 fixed size types.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* PCI_bus/PCI.h, clock/clock.c, console/85c30.c, console/85c30.h, console/console.c, console/consolebsp.h, console/consolereserveresources.c, console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen2.h, include/tod.h, startup/FPGA.c, startup/bspclean.c, startup/bspstart.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c, timer/timer.c, tod/tod.c: URL for license changed.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+0
* PCI_bus/PCI.h, clock/clock.c, console/85c30.c, console/console.c, console/consolebsp.h, console/consolereserveresources.c, console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen1.h, include/gen2.h, startup/82378zb.c, startup/FPGA.c, startup/bspstart.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c, timer/timer.c: Fixed typo.
2001-10-112001-10-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* console/85c30.c, startup/bspstart.c: Fix references to delay() and delay_in_bus_cycles() to add rtems_bsp_ prefix.
2000-11-012000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-4/+3
* 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.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-7/+1
2000-01-14Removed numerous warnings.Joel Sherrill1-2/+5
1999-02-19BSP for Vista Score603e added.Joel Sherrill1-0/+299