summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/bfin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move bspreset.c to bspsSebastian Huber2018-04-203-3/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspclean.c to bspsSebastian Huber2018-04-203-3/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-123-3/+3
| | | | | | | 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-123-3/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-123-3/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Avoid line continuation in Makefile.amSebastian Huber2018-04-123-18/+24
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-114-4/+4
| | | | | | | | | | | 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-093-3/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-093-22/+22
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/bfin: Rename shared.am to shared-sources.amSebastian Huber2018-04-053-3/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-043-11/+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-043-0/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-043-8/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* bsp/bfin: Move libcpu content to bspsSebastian Huber2018-03-266-28/+7
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-313-3/+3
| | | | | | | | | | | | | | | | | | 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-7/+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-2522-839/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-023-9/+12
| | | | Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-023-2/+5
| | | | | | | | | | 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-023-0/+3
| | | | Update #3254.
* TLL6527M: Simplify bsp_specsJoel Sherrill2017-12-192-5/+2
| | | | Updates #3520.
* eZKit533: Simplify bsp_specsJoel Sherrill2017-12-192-5/+2
| | | | Updates #3520.
* bf537Stamp: Simplify bsp_specsJoel Sherrill2017-12-192-5/+2
| | | | Updates #3520.
* eZKit533/bsp_specs: Fix spacing and typoJoel Sherrill2017-11-291-1/+1
| | | | Updates #3520.
* bf537Stamp/bsp_specs: Fix spacing and typoJoel Sherrill2017-11-291-1/+1
| | | | Updates #3520.
* TLL6527M/bsp_specs: Fix spacing and typoJoel Sherrill2017-11-291-1/+1
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-273-3/+3
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-273-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-273-3/+3
| | | | 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-246-15/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-226-3/+6
| | | | | | | | | 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
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-173-0/+3
| | | | Update #3239.
* bsp/bf537Stamp: Fix warningSebastian Huber2017-09-291-1/+1
|
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+1
|
* bootstrap: regenerate files after sort order fixGedare Bloom2017-04-131-2/+2
| | | | Updates #2965.
* Remove texinfo format documentation. Replaced by Sphinx formatted documentation.Joel Sherrill2017-01-111-2/+2
| | | | closes #2812.
* bfin/TLL6527M: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-292-1/+1
|
* bfin/eZKit533: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-292-1/+1
|
* bfin/bf537Stamp: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-292-1/+1
| | | | warnings
* bfin/eZKit533/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* bfin/bf537Stamp/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* bfin/TLL6527M/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* bfin/TLL6527M: Add per-section compilation and linking supportJoel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the TLL6527M BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 74696 1660 71544 147900 241bc ticker.exe 48756 1420 68348 118524 1cefc minimum.exe 474520 5740 84792 565052 89f3c fileio.exe 368744 12256 100788 481788 759fc pppd.exe 161848 2316 74488 238652 3a43c capture.exe 89704 1748 71680 163132 27d3c nsecs.exe 152376 2032 72148 226556 374fc paranoia.exe 73704 1660 71512 146876 23dbc base_sp.exe 76120 1688 75404 153212 2567c unlimited.exe 87576 1632 71556 160764 273fc hello.exe 222172 6148 78876 307196 4affc loopback.exe For the TLL6527M BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 68760 1622 71552 141934 22a6e ticker.exe 28332 1265 68048 97645 17d6d minimum.exe 458400 5702 84514 548616 85f08 fileio.exe 331196 8924 99932 440052 6b6f4 pppd.exe 151356 2246 74447 228049 37ad1 capture.exe 83528 1710 71640 156878 264ce nsecs.exe 143724 1990 72132 217846 352f6 paranoia.exe 65572 1618 71544 138734 21dee base_sp.exe 67368 1638 75372 144378 233fa unlimited.exe 78444 1570 71524 151538 24ff2 hello.exe 195680 2866 78712 277258 43b0a loopback.exe
* bfin/bf537Stamp: Add per-section compilation and linking supportJoel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the bf537Stamp BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 75672 1884 9224 86780 152fc ticker.exe 49668 1644 5964 57276 dfbc minimum.exe 474936 5964 22456 503356 7ae3c fileio.exe 369944 12480 38436 420860 66bfc pppd.exe 162856 2540 12136 177532 2b57c capture.exe 90696 1972 9280 101948 18e3c nsecs.exe 153352 2256 9828 165436 2863c paranoia.exe 74680 1884 9192 85756 14efc base_sp.exe 77048 1912 13068 92028 1677c unlimited.exe 88504 1856 9220 99580 184fc hello.exe 223228 6372 16540 246140 3c17c loopback.exe For the bf537Stamp BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 68524 1846 9224 79594 136ea ticker.exe 28348 1521 5700 35569 8af1 minimum.exe 458232 5926 22182 486340 76bc4 fileio.exe 331164 9148 37592 377904 5c430 pppd.exe 151144 2470 12095 165709 2874d capture.exe 83296 1934 9308 94538 1714a nsecs.exe 143484 2214 9808 155506 25f72 paranoia.exe 65332 1842 9156 76330 12a2a base_sp.exe 67080 1862 13032 81974 14036 unlimited.exe 78144 1794 9196 89134 15c2e hello.exe 195520 3090 16372 214982 347c6 loopback.exe
* bfin/eZKit533: Add per-section compilation and linking supportJoel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the eZKit533 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 75160 1628 9224 86012 14ffc ticker.exe 49156 1388 5964 56508 dcbc minimum.exe 475080 5708 22440 503228 7adbc fileio.exe 369432 12224 38436 420092 668fc pppd.exe 162344 2284 12136 176764 2b27c capture.exe 90168 1716 9296 101180 18b3c nsecs.exe 152840 2000 9828 164668 2833c paranoia.exe 74168 1628 9192 84988 14bfc base_sp.exe 76520 1656 13020 91196 1643c unlimited.exe 87976 1600 9172 98748 181bc hello.exe 222716 6116 16540 245372 3be7c loopback.exe For the eZKit533 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 68400 1590 9220 79210 1356a ticker.exe 28220 1265 5700 35185 8971 minimum.exe 458108 5670 22178 485956 76a44 fileio.exe 331040 8892 37588 377520 5c2b0 pppd.exe 151020 2214 12091 165325 285cd capture.exe 83172 1678 9304 94154 16fca nsecs.exe 143360 1958 9804 155122 25df2 paranoia.exe 65208 1586 9216 76010 128ea base_sp.exe 66952 1606 13032 81590 13eb6 unlimited.exe 78016 1538 9196 88750 15aae hello.exe 195396 2834 16368 214598 34646 loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-033-3/+3
| | | | Update #2408.
* libbsp/bfin and libbsp/powerpc acinclude.m4 regenerateJoel Sherrill2015-12-241-2/+2
|
* api: Remove deprecated NotepadsAun-Ali Zaidi2015-12-242-18/+1
| | | | | | | | | | | | | | | | | | | | | | | Notepads where a feature of RTEMS' tasks that simply functioned in the same way as POSIX keys or threaded local storage (TLS). They were introduced well before per task variables, which are also deprecated, and were barely used in favor of their POSIX alternatives. In addition to their scarce usage, Notepads took up unnecessary memory. For each task: - 16 32-bit integers were allocated. - A total of 64 bytes per task per thread. This is especially critical in low memory and safety-critical applications. They are also defined as uint32_t, and therefore are not guaranteed to hold a pointer. Lastly, they are not portable solutions for SMP and uniprocessor systems, like POSIX keys and TLS. updates #2493.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-104-5/+5
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.