summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* leon3/bsppredriver.c: Add include file to warningJoel Sherrill2013-09-231-0/+1
|
* leon3/.../bspstart.c: Fix missing prototype warningsJoel Sherrill2013-09-221-2/+2
|
* score: Add CPU_Exception_frameSebastian Huber2012-11-271-17/+21
| | | | | | | | | | | | | | | | | | | | | Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-115-11/+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.
* LEON3 - Remove bad $Id$ and clean up file headerJoel Sherrill2012-05-021-4/+6
|
* LEON3: updated console driver for new AMBAPP layerDaniel Hellstrom2012-04-171-1/+8
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-062-0/+50
| | | | | | | | | | | | | | | The implementation use IRQ number instead of vector number since some IRQs does not have a unique vector, for example the extended interrupts all enter the same trap vector entry. Added support for the LEON3 extended interrupt controller when using the shared IRQ layer. ERC32 patches untested. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Regenerate
* LEON3: spurious trap handler print out trap in hex insteadDaniel Hellstrom2012-03-211-1/+1
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: change d-cache snoop detect implementationDaniel Hellstrom2012-02-021-5/+5
| | | | | | | | | | PR 2010/bsps The previous code only checked if d-cache snooping was implemented, however snooping may be available but not enabled which may lead to driver bugs. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* White space correction.Joel Sherrill2012-02-021-1/+1
|
* LEON3: CPU index intialization moved to bspstart.cDaniel Hellstrom2012-02-021-0/+18
| | | | | | | | | | | | | | | | | PR 2009/bsps All LEON3/4 systems have a CPU-id, if on a single-CPU system the ID is always zero. On a multicore system it ranges from 0 to 15. The CPU index should always by updated even in a non-MP RTEMS OS since the CPU running RTEMS may not always be CPU0. For example when RTEMS runs on CPU1 and Linux on CPU0 in a mixed ASMP system. The old code executed within the IRQ controller initialization code makes no sense since the ASR register is a CPU register, it has nothing to do with AMBA initialization either. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* 2011-05-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-05-231-0/+25
| | | | | | | | PR 1795/bsps * erc32/Makefile.am, leon2/Makefile.am, leon3/Makefile.am: Add rtems_bsp_delay to sparc bsps. * erc32/startup/bspdelay.c, leon2/startup/bspdelay.c, leon3/startup/bspdelay.c: New files.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-2/+2
| | | | | | * amba/amba.c, include/tm27.h, shmsupp/lock.c, startup/bspstart.c, startup/spurious.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2010-05-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-05-241-0/+5
| | | | | | | * Makefile.am, amba/amba.c, console/console.c, console/debugputs.c, startup/bspstart.c: Rework initialization order so AMBA bus is scanned earlier. This lets us look for UARTs earlier and support printk as early as bsp_start() returning.
* 2010-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-05-111-194/+6
| | | | | | | * startup/linkcmds: Include basic linker command file and define only board specific values. Define RAM and PROM limits only if not defined by command line arguments. * Makefile.am, preinstall.am: Reflect changes above.
* Whitespace removal.Ralf Corsepius2009-11-294-25/+25
|
* 2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-11-231-12/+0
| | | | | | * Makefile.am, startup/bspstart.c: Use ../../sparc/shared/bsppretaskinghook.c. * console/console.c: Remove sis comment.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-191-31/+0
| | | | * startup/ithread.S: Removed. Now bspidle.S.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-192-3/+31
| | | | | | | | * Makefile.am, console/console.c, console/debugputs.c, include/bsp.h, startup/setvec.c: Split idle method into its own file. Properly note to confdefs.h that this BSP has its own idle thread. Also address use of maximum termios constant in debug IO. * startup/bspidle.S: New file.
* 2009-03-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-251-0/+1
| | | | | * startup/linkcmds: Start of RTEMS Work Area must be on 16 byte boundary on the SPARC.
* 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>Joel Sherrill2009-03-091-1/+1
| | | | | PR 1391/bsps * startup/spurious.c: Format was %d but had leading 0x.
* 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-03-021-10/+23
| | | | | | PR 1390/bsps * startup/linkcmds: Fix sections so C++ global constructors and destructors work with late model (>= 4.3) gcc versions.
* 2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-151-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.
* Remove bogus local declarations.Ralf Corsepius2008-08-181-6/+3
|
* 2008-08-08 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-081-0/+5
| | | | | | * startup/linkcmds: All SPARC executables should include rtems_get_version_string so the monitor used can provide RTEMS awareness based upon the version.
* Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler2008-07-241-7/+10
| | | | added support for an optional separate heap area.
* 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-151-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-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-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.
* 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-031-1/+1
| | | | | * startup/linkcmds: Add wildcard to gcc_except_table section so programs compiled with gcc 4.3.x can link.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-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-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-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-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-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-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-061-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-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-112-4/+3
| | | | | * include/bsp.h, startup/bspstart.c, startup/spurious.c: hello and ticker now run using runtest.
* 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-111-18/+4
| | | | * startup/spurious.c: Fix typo from previous commit.
* 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-092-26/+23
| | | | | | * 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-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-05-031-1/+1
| | | | * startup/linkcmds: Handle .data.* sections
* 2007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-111-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-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-11-161-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-06-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-06-251-0/+14
| | | | * startup/linkcmds: Add .rela.dyn sections.
* 2006-03-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-03-081-1/+1
| | | | * startup/linkcmds: Add .gnu.linkonce.b.* section.
* 2006-02-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-02-081-2/+2
| | | | * startup/linkcmds: Add sections required by newer gcc versions.
* Backport from rtems-4-6-branch.Ralf Corsepius2006-01-095-0/+691