summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-121-1/+1
| | | | | | | The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387.
* bsps: Remove empty gnatinstallhandler.cSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Simplify source file path in Makefile.amSebastian Huber2018-04-121-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Avoid line continuation in Makefile.amSebastian Huber2018-04-121-7/+11
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-121-3/+4
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-111-1/+1
| | | | | | | | | | | This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
* build: Remove DISTCLEANFILESSebastian Huber2018-04-091-1/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Move generic IRQ support to bspsSebastian Huber2018-04-091-6/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-091-17/+17
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Rename to shared-sources.amSebastian Huber2018-04-051-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Rename to exceptions-sources.amSebastian Huber2018-04-051-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-041-5/+0
| | | | | | | | Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Add shared-sources.amSebastian Huber2018-04-041-0/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-3/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* bsps/powerpc: Move dec timer driverSebastian Huber2018-03-261-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Remove libcpu/powerpcSebastian Huber2018-03-261-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/powerpc: Move libcpu timer to bspsSebastian Huber2018-03-222-62/+1
| | | | | | | | | Use only one timer driver variant based on the standard PowerPC time base. This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Remove bsp_timer_internal_clockSebastian Huber2018-03-221-3/+0
| | | | | | | | | | | | | The only consumer of this variable was the ppc403 clock driver used by the * haleakala, * virtex, and * virtex4 BSPs which set bsp_timer_internal_clock unconditionally to true. Update #3285.
* bsps/powerpc: Move exceptions support to bspsSebastian Huber2018-03-191-2/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move basic support to bspsSebastian Huber2018-03-191-4/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-1/+2
| | | | | | | | | | | | | | | | | | The previous cache manager support used a single souce file (cache_manager.c) which included an implementation header (cache_.h). This required the use of specialized include paths to find the right header file. Change this to include a generic implementation header (cacheimpl.h) in specialized source files. Use the following directories and files: * bsps/shared/cache * bsps/@RTEMS_CPU@/shared/cache * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c Update #3285.
* bsps: Move network define to source filesSebastian Huber2018-01-312-17/+2
| | | | | Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
* Remove make preinstallChris Johns2018-01-2510-942/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-4/+7
| | | | Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | | | | | | | This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
* bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | Update #3254.
* gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill2017-12-202-5/+3
| | | | | | | | | | Simplify bsp_specs These BSPs all use shared/startup/linkcmds.base and thus needed to be modified at the same time. Variations in the arguments were reflected into the BSP specific portions of the linkcmds. Updates #3520.
* virtex/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-2/+1
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-1/+2
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done: arm bfin epiphany i386 lm32 m32c mips moxie nios2 or1k powerpc riscv sh sparc sparc64 v850 To do: m68k Differences noted: + endfile was sometimes before startfile + endfile sometimes was hard-coded and did not have -qrtems version + Should -e XXX (e.g. entry point) be in linkcmds? + Should -u XXX (e.g. undefined symbols) be in linkcmds? + Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %) + nios2: Referenced crtnn.o not crtn.o (error) Need to revisit: + m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere + sh has -EL/-EB mapping. Why needed? + sparc64 didn't include crti.o/crtn.o but it is part of toolset + v850 uses something like this for link and end_file: "%{qrtems: %(old_link)}" This means that these are unnecessary. Try this on all. + mips uses old_link all the time also. + arm/tms750 adds -EB. + powerpc: Why do we have rtems_crt* and not use something from GCC? Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-2/+3
| | | | | | | | | Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
* Remove coverhd.hSebastian Huber2017-11-243-142/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-12/+0
| | | | | | | BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-22/+10
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* bsp: Fixes due to header file changesSebastian Huber2017-06-132-16/+18
| | | | Update #2833.
* powerpc/virtex/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* powerpc/virtex: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-2/+0
| | | | warnings
* powerpc/virtex/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+2
| | | | Update #2408.
* powerpc/virtex: Add per-section compilation and linking support.Ralph Holmes2016-01-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 136928 2284 134078500 134217712 7fffff0 base_sp.exe 152124 2168 134063412 134217704 7ffffe8 hello.exe 96317 1892 134119500 134217709 7ffffed minimum.exe 658001 6274 133553428 134217703 7ffffe7 fileio.exe 161562 2380 134053772 134217714 7fffff2 nsecs.exe 229008 2668 133986040 134217716 7fffff4 paranoia.exe 140224 2292 134075204 134217720 7fffff8 ticker.exe 139564 2308 134075836 134217708 7ffffec unlimited.exe 951004 147150 133119544 134217698 7ffffe2 cxx_iostream.exe 256264 9352 133952104 134217720 7fffff8 cdtest.exe 254760 2788 133960156 134217704 7ffffe8 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 123180 2268 134092272 134217720 7fffff8 base_sp.exe 136152 2112 134079448 134217712 7fffff0 hello.exe 53640 1560 134162508 134217708 7ffffec minimum.exe 632433 6238 133579016 134217687 7ffffd7 fileio.exe 148538 2364 134066808 134217710 7ffffee nsecs.exe 214540 2644 134000536 134217720 7fffff8 paranoia.exe 126732 2276 134088688 134217696 7ffffe0 ticker.exe 124292 2268 134091136 134217696 7ffffe0 unlimited.exe 608992 50546 133558180 134217718 7fffff6 cxx_iostream.exe 243452 8036 133966228 134217716 7fffff4 cdtest.exe 238360 2740 133976616 134217716 7fffff4 capture.exe
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+1
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* 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
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-6/+6
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* powerpc/virtex: Fix unused variable warningsJoel Sherrill2014-10-161-1/+1
|