summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/startup/bspstart.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-20bsps: Move startup files to bspsSebastian Huber1-127/+0
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Convert all bsp_predriver_hook()Sebastian Huber1-0/+77
Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-12-02leon2_doxygen_1Radu1-0/+6
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.
2009-11-29Whitespace removal.Ralf Corsepius1-4/+4
2009-11-232009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-24/+13
* Makefile.am: sparc/shared/bspstart.c was really leon2 specific. So move it here. * startup/bspstart.c: New file.
2009-11-232009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-12/+0
* Makefile.am, startup/bspstart.c: Use ../../sparc/shared/bsppretaskinghook.c. * console/console.c: Remove sis comment.
2008-09-152008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-32/+0
* Makefile.am, startup/bspstart.c: Use shared bsp_get_work_area() into its own file and use BSP Framework to perform more initialization.
2008-08-18Remove bogus local declarations.Ralf Corsepius1-6/+3
2008-07-24Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler1-7/+10
added support for an optional separate heap area.
2008-05-152008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-39/+29
* Makefile.am, configure.ac, 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.
2008-05-122008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-3/+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-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-13/+3
* clock/ckinit.c, 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-7/+0
* amba/amba.c, clock/ckinit.c, console/console.c, include/bsp.h, startup/bspstart.c, timer/timer.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-12/+1
* amba/amba.c, 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-09-062007-09-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill1-0/+27
* include/bsp.h, startup/bspstart.c: LEON2 and LEON3 Data cache snooping detection on startup, for drivers. (LEON2,3 are configurable processors, they can be with or without DCache snooping. Caches without snooping needs the drivers to flush cache or use the sparc instruction lda to force cache miss...)
2007-05-112007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-3/+2
* include/bsp.h, startup/bspstart.c, startup/spurious.c: hello and ticker now run using runtest.
2007-05-092007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* console/debugputs.c, include/bsp.h, leon_smc91111/leon_smc91111.c, startup/bspstart.c, startup/spurious.c: Remove debug print methods that are redundant with prntk and replace their use with printk.
2007-03-112007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-7/+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
2006-11-162006-11-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-106/+1
* clock/ckinit.c, startup/bspstart.c: Use common clock driver template and eliminate all fast idle code specific to this BSP. This eliminates a fair amount of code in the BSP clock driver and bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the timer so I added the new hook Clock_driver_support_find_timer to support this. In general, there was some clean up to the file headers of various files.
2006-01-09Backport from rtems-4-6-branch.Ralf Corsepius1-15/+15
2004-04-21Remove duplicate white lines.Ralf Corsepius1-1/+0
2004-04-21Remove stray white spaces.Ralf Corsepius1-9/+9
2004-03-312004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-8/+8
* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
2003-09-262003-09-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+2
* bspstart.c: Obsoleting HP PA-RISC port and removing all references.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* bspclean.c, bspstart.c: URL for license changed.
2000-11-132000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>Joel Sherrill1-67/+38
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c, gnatcommon.c, start.S: New files. Largely moved from ERC32 BSP to be able to be shared with LEON and other SPARC BSPs.
2000-11-012000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-5/+4
* 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
1999-11-17Updated copyright notice.Joel Sherrill1-1/+1
1998-04-30Removed tripling of workspace API when POSIX API is enabled. confdefs.hJoel Sherrill1-1/+3
is now correct enough where this is not necessary. This was in to cover up the deficiencies in figuring out how much memory a GNAT/RTEMS application required. There is a good stab at this now.
1998-04-18psim now runs in both debug and non-debug mode.Joel Sherrill1-4/+3
1998-04-15Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill1-28/+4
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
1998-04-15Transitioned to shared bsp_libc_init() and cleaned up comments.Joel Sherrill1-52/+21
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1-14/+0
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1998-04-14Stack checker extension now accounted for in confdefs.hJoel Sherrill1-7/+0
1998-04-14Now accounts for region used by RTEMS malloc and extension usedJoel Sherrill1-14/+0
by newlib.
1998-04-14new filesJoel Sherrill1-50/+57
1998-03-30Moved bsp_postdriver_hook() to a shared file and made it a commonJoel Sherrill1-28/+3
component.
1998-03-21Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1-5/+0
based on the GNU tools. This usually involved correcting the type of bsp_start(), bsp_cleanup(), adjusting the start code to call the right start routine (the shared boot_card()), and then removing code from bsp_start() which was performed in the new boot_card()/main() path.
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-23Added console_reserve_resources.Joel Sherrill1-0/+6
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-10-06Increased interrupt stack space.Joel Sherrill1-1/+1
1997-08-04Fixed typo and removed duplicated codeJoel Sherrill1-4/+1
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1997-03-08Larger Workspace when it is a POSIX API. Actually this is just to coverJoel Sherrill1-0/+4
the extra stack used when GNAT tasks are in the system. This needs to be cleaned up.
1997-01-29erc32 bsp supercedes sisJoel Sherrill1-0/+373