summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/include/bsp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-2/+2
| | | | | | | | | | | | | | | | | This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
* sparc BSPs: implemented libpci IRQ BSP supportDaniel Hellstrom2015-04-171-0/+7
|
* bsp/sparc: Move BSP_ISR_handler to a separate file and rename itDaniel Cederman2015-02-111-0/+3
| | | | | | | This allows it to be wrapped by another function at link-time and can be used to trace interrupts. If not placed in a separate file, the function pointer address used in BSP_shared_interrupt_init will be resolved at compile-time, and the function will not be wrappable.
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-4/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* sparc/erc32: Fix warningsJoel Sherrill2014-10-191-4/+12
|
* SPARC: add BSP specific error handlerDaniel Hellstrom2014-10-061-0/+2
| | | | | | | | Instead of calling the system call TA instruction directly it is better paractise to isolate the trap implementation to the system call functions. BSP_fatal_exit() is added.
* SPARC BSPs: remove BSP_fatal_return unreached codeDaniel Hellstrom2014-10-061-2/+0
|
* bsps/sparc: Change tabs to spaces.Daniel Cederman2014-05-271-2/+2
|
* bsps/sparc: Make lines in SPARC BSPs adhere to 80 character limit.Daniel Cederman2014-05-271-2/+2
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* doxygen: refactored doxygen in libbsp to illustrate new rule setDaniel Ramirez2013-12-091-3/+11
|
* sparc shared: improve doxygenToma Radu2013-12-071-1/+2
| | | | Add doxygen to the header files in sparc/shared/include directory.
* erc32: improve doxygenToma Radu2013-12-041-0/+7
| | | | Add doxygen to the bsp.h, tm27.h, erc32.h and irq.h files.
* bsps: Use RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2012-11-251-2/+0
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-151-1/+1
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-2/+3
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* bsps/sparc: Add BSP_INITIAL_EXTENSION to <bsp.h>Sebastian Huber2012-11-131-0/+2
| | | | The bsp_fatal_extension() will call BSP_fatal_return().
* score: Work area initialization API changeSebastian Huber2012-10-251-2/+2
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-061-1/+74
| | | | | | | | | | | | | | | 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
* SPARC: bsp_early_malloc() routine for startup memory allocationDaniel Hellstrom2012-03-291-2/+7
| | | | | | | | | | | | If bsp_early_malloc() is called early during boot room will be allocated after BSS END. If the function is called after boot is will call malloc() instead. The returned memory is not freeable and always 8-byte aligned. If the bsp_early_malloc() isn't called the function is not dragged in and the workspace will be unmodified in size. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* 2011-04-25 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-04-251-8/+0
| | | | | | PR 1783/bsps * include/bsp.h: Remove dead prototypes of Clock_delay() and delay(). Neither had bodies.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-191-9/+7
| | | | | | | * Makefile.am, 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. * startup/bspidle.c: New file.
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-13/+1
| | | | * include/bsp.h: Remove unnecessary boilerplate comments.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-4/+0
| | | | | | * include/bsp.h: 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.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-2/+0
| | | | | | * clock/ckinit.c, include/bsp.h: 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-3/+0
| | | | | | * include/bsp.h: 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-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-261-1/+1
| | | | * clock/ckinit.c, include/bsp.h: Fix spacing.
* 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-05-091-2/+0
| | | | | | * console/debugputs.c, include/bsp.h, startup/spurious.c: Remove debug print methods that are redundant with prntk and replace their use with printk.
* Remove eof include fileRalf Corsepius2006-03-171-1/+0
|
* 2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-261-2/+2
| | | | * include/bsp.h: New header guard.
* 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-231-62/+0
| | | | | * include/bsp.h: Split out tmtest27 support. * include/tm27.h: New.
* 2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-211-10/+0
| | | | | PR 613/bsps * include/bsp.h: Remove MAX_LONG_TEST_DURATION.
* 2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-211-1/+0
| | | | | PR 614/bsps * include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
* Remove duplicate white lines.Ralf Corsepius2004-04-211-1/+0
|
* Remove stray white spaces.Ralf Corsepius2004-04-211-15/+15
|
* 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-04-011-3/+3
| | | | | | | | * startup/boardinit.S: Include <rtems/asm.h> instead of <asm.h>. * include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>. * include/bsp.h: Include <rtems/console.h> instead of <console.h>. * include/bsp.h: Include <rtems/iosupp.h> instead of <iosupp.h>. * console/console.c: Include <rtems/ringbuf.h> instead of <ringbuf.h>.
* 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-311-1/+1
| | | | | | | * clock/ckinit.c, console/console.c, console/debugputs.c, erc32sonic/erc32sonic.c, include/bsp.h, include/erc32.h, startup/setvec.c, startup/spurious.c, timer/timer.c: Convert to using c99 fixed size types.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | | | * clock/ckinit.c, console/console.c, console/consolereserveresources.c, console/debugputs.c, include/bsp.h, include/coverhd.h, include/erc32.h, startup/erc32mec.c, startup/setvec.c, timer/timer.c: URL for license changed.
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-261-5/+5
| | | | * include/bsp.h: Change SIS to ERC32_BSP.
* 2001-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-12-181-0/+2
| | | | | | | * configure.ac: Add RTEMS_BSPOPTS*(CONSOLE_USE_INTERRUPTS). Add RTEMS_BSPOPTS*(SIMSPARC_FAST_IDLE). Remove RTEMS_OUTPUT_BUILD_SUBDIRS. * include/bsp.h: include bspopts.h.
* 2001-11-08 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill2001-11-081-8/+9
| | | | | | | | This fix is in response to test results reported by Jerry Needell <jerry.needell@unh.edu> for the SPARC/ERC32 and tracked as PR80. * include/bsp.h: TM27 was not running properly because the ERC32 and LEON cannot nest interrupts at the same level. The BSP test support had to be modified to support using two different interrupt sources.
* 2001-09-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-09-281-1/+1
| | | | * include/bsp.h: Renamed delay() to rtems_bsp_delay().
* 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-06-181-0/+2
| | | | | | | * configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
* 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>Joel Sherrill2000-11-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | * Makefile.am, configure.in, gnatsupp/Makefile.am, gnatsupp/gnatsupp.c, include/Makefile.am, include/bsp.h, start/Makefile.am, startup/Makefile.am, startup/setvec.c, wrapup/Makefile.am: * erc32sonic: New directory. * erc32sonic/Makefile.am, erc32sonic/erc32sonic.c, erc32sonic/.cvsignore: New files. * include/erc32.h: New file. * startup/boardinit.S: New file. Big update of SPARC support for ERC32 and LEON. Added support for ERC32 without floating point. Added SONIC support as configured on Tharsys ERC32 board. The bsp's share various code in the shared directory: gnat-support, start-up code, etc. To decrease the foot-print, I removed the 16 kbyte start-up stack that was put in .bss and never reused once the system was up. The stack is now put between the heap and the workspace. To reclaim it, the user can do a rtems_region_extend to merge the stack to the heap region once the system is up.
* Reworked score/cpu/sparc so it can be safely compiled multilib. AllJoel Sherrill2000-07-111-3/+3
| | | | | | routines and structures that require CPU model specific information are now in libcpu. This primarily required moving erc32 specific information from score/cpu files to libcpu/sparc and the erc32 BSP.
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-2/+12
|
* Updated copyright notice.Joel Sherrill1999-11-171-2/+1
|
* Numerous changes which in total greatly reduced the amount of sourceJoel Sherrill1998-04-151-6/+0
| | | | | | | | | | | | 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.
* Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1998-03-211-2/+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.
* updated copyright to 1998Joel Sherrill1998-02-171-1/+1
|