summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove old build systemSebastian Huber2021-09-212-90/+0
| | | | | Close #3250. Close #4081.
* bsps: Add default rtems_get_target_hash()Sebastian Huber2021-02-261-0/+1
| | | | Update #4267.
* bsps: Always build generic interrupt supportSebastian Huber2019-05-161-0/+1
| | | | | | | This makes it possible to write tests for the generic interrupt controller support. Update #3269.
* build: Remove local.amSebastian Huber2018-10-101-1/+0
|
* bsps: Move documentation, etc. files to bspsSebastian Huber2018-04-261-42/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/sh: Move bsphwinit.c to bspsSebastian Huber2018-04-231-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move make/custom/* files to bspsSebastian Huber2018-04-238-128/+0
| | | | | | | | | Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove AC_CONFIG_SRCDIR()Sebastian Huber2018-04-231-1/+0
| | | | | | | | | | | This AC_CONFIG_SRCDIR() is just a sanity check in this insane build system. Since all content of c/src/lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ is bound to be moved it makes no sense to keep it. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move startup files to bspsSebastian Huber2018-04-206-520/+5
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move start files to bspsSebastian Huber2018-04-202-95/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move console drivers to bspsSebastian Huber2018-04-204-112/+4
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move sbrk.c to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move getentropy-cpucounter.c to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move shared btimer support to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Convert all bsp_predriver_hook()Sebastian Huber2018-04-201-1/+0
| | | | | | Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
* bsps: Move bspgetworkarea.c to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspreset.c to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspclean.c to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* Multiple BSP tcfg: Disable iconv files.Joel Sherrill2018-04-174-0/+4
|
* 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.
* 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: Remove librtemsbsp.a wrapupSebastian Huber2018-04-091-22/+22
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-041-3/+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-2/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* misc sh: Remove includes of rtems/score/types.hJoel Sherrill2018-03-121-1/+0
|
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-3/+1
| | | | | | | | | | | | | | | | | | 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.
* Remove make preinstallChris Johns2018-01-257-181/+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: Add AM_CPPFLAGS to special case CPPFLAGSChris Johns2018-01-041-1/+1
| | | | | | | This is necessary to pick up mandatory flags provided by the build system. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-3/+4
| | | | 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.
* shsim: Simplify bsp_specsJoel Sherrill2017-12-195-242/+2
| | | | | | | | | | This bsp_specs included non-standard logic to pass endian arguments to the linker. These should not be necessary. If they are, it is a bug in the sh gcc target. The code was "%{ml:-EL}%{mb:-EB}" Also the file linkcmds.sim was not referenced and was deleted. Updates #3250.
* bsps/sh: Delete libcpu/shSebastian Huber2017-12-081-1/+4
|
* bsp/shsim: Move libcpu files to BSPSebastian Huber2017-12-087-7/+233
| | | | Update #3254.
* 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-242-5/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-222-1/+2
| | | | | | | | | 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-171-1/+3
| | | | Update #3239.
* simsh*-testsuite.tcfg: Add linpackJoel Sherrill2017-04-044-0/+4
|
* testsuite: Add test states to the testsuit configuration files.Chris Johns2016-12-074-16/+16
| | | | | | | | | | | | | | | | Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
* sh/shsim: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* sh/shsim/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* sh/simsh: Add per-section compilation and linking supportJoel Sherrill2016-03-104-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the simsh1 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 73984 7220 7036 88240 158b0 ticker.exe 21284 6388 2856 30528 7740 minimum.exe 368616 17820 36256 422692 67324 pppd.exe 162660 7876 9936 180472 2c0f8 capture.exe 87812 7308 7121 102241 18f61 nsecs.exe 152564 7592 7604 167760 28f50 paranoia.exe 161260 16640 8108 186008 2d698 cdtest.exe 71256 7220 7012 85488 14df0 base_sp.exe 73852 7248 10852 91952 16730 unlimited.exe 86888 7192 7016 101096 18ae8 hello.exe 219504 11712 14332 245548 3bf2c loopback.exe For the simsh1 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 68260 5688 5984 79932 1383c ticker.exe 11724 4364 1824 17912 45f8 minimum.exe 331732 13000 34424 379156 5c914 pppd.exe 153408 6312 8892 168612 292a4 capture.exe 82804 5776 6073 94653 171bd nsecs.exe 145108 6056 6560 157724 2681c paranoia.exe 153036 6196 7060 166292 28994 cdtest.exe 64236 5684 5964 75884 1286c base_sp.exe 66684 5712 9808 82204 1411c unlimited.exe 79304 5656 5956 90916 16324 hello.exe 193844 6936 13148 213928 343a8 loopback.exe For the simsh2 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 71344 7168 7040 85552 14e30 ticker.exe 19156 6352 2860 28368 6ed0 minimum.exe 366744 17768 36244 420756 66b94 pppd.exe 160612 7824 9940 178376 2b8c8 capture.exe 85156 7256 7125 99537 184d1 nsecs.exe 149796 7540 7608 164944 28450 paranoia.exe 158908 16588 8112 183608 2cd38 cdtest.exe 69112 7168 7016 83296 14560 base_sp.exe 71692 7196 10856 89744 15e90 unlimited.exe 84792 7140 7020 98952 18288 hello.exe 217488 11660 14336 243484 3b71c loopback.exe For the simsh2 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 66404 5688 5984 78076 130fc ticker.exe 11340 4364 1824 17528 4478 minimum.exe 331044 13000 34424 378468 5c664 pppd.exe 152640 6312 8892 167844 28fa4 capture.exe 80580 5776 6073 92429 1690d nsecs.exe 143652 6056 6560 156268 2626c paranoia.exe 151980 6196 7060 165236 28574 cdtest.exe 63404 5684 5964 75052 1252c base_sp.exe 65836 5712 9808 81356 13dcc unlimited.exe 78616 5656 5956 90228 16074 hello.exe 193140 6936 13148 213224 340e8 loopback.exe For the simsh2e BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 72736 6140 7040 85916 14f9c ticker.exe 19156 5324 2860 27340 6acc minimum.exe 368864 16740 36252 421856 66fe0 pppd.exe 159756 6796 9932 176484 2b164 capture.exe 88228 6228 7109 101565 18cbd nsecs.exe 122684 6460 7380 136524 2154c paranoia.exe 157508 15740 8100 181348 2c464 cdtest.exe 70504 6140 7000 83644 146bc base_sp.exe 73116 6168 10856 90140 1601c unlimited.exe 81616 6112 7012 94740 17214 hello.exe 217336 10632 14328 242296 3b278 loopback.exe For the simsh2e BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 67956 5688 5984 79628 1370c ticker.exe 11404 4364 1824 17592 44b8 minimum.exe 333228 13000 34416 380644 5cee4 pppd.exe 151864 6312 8884 167060 28c94 capture.exe 83828 5776 6073 95677 175bd nsecs.exe 116764 6004 6332 129100 1f84c paranoia.exe 150740 6196 7052 163988 28094 cdtest.exe 64940 5684 5964 76588 12b2c base_sp.exe 67404 5712 9808 82924 143ec unlimited.exe 75616 5656 5964 87236 154c4 hello.exe 192956 6936 13156 213048 34038 loopback.exe For the simsh4 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 73104 6052 7172 86328 15138 ticker.exe 19908 5280 2996 28184 6e18 minimum.exe 369572 16652 36380 422604 672cc pppd.exe 160384 6708 10076 177168 2b410 capture.exe 88628 6140 7257 102025 18e89 nsecs.exe 133776 6424 7744 147944 241e8 paranoia.exe 157496 15616 8248 181360 2c470 cdtest.exe 70920 6052 7148 84120 14898 base_sp.exe 73532 6080 10988 90600 161e8 unlimited.exe 82180 6024 7156 95360 17480 hello.exe 217852 10544 14472 242868 3b4b4 loopback.exe For the simsh4 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 68388 5688 6120 80196 13944 ticker.exe 12572 4364 1960 18896 49d0 minimum.exe 333776 13000 34548 381324 5d18c pppd.exe 152444 6312 9016 167772 28f5c capture.exe 84276 5776 6209 96261 17805 nsecs.exe 127888 6056 6684 140628 22554 paranoia.exe 150632 6196 7184 164012 280ac cdtest.exe 65500 5684 6100 77284 12de4 base_sp.exe 67964 5712 9944 83620 146a4 unlimited.exe 76260 5656 6096 88012 157cc hello.exe 193280 6936 13288 213504 34200 loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.