summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move bspreset.c to bspsSebastian Huber2018-04-202-2/+2
| | | | | | 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.
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-122-2/+2
| | | | | | | 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-122-2/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-122-2/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Avoid source variables in Makefile.amSebastian Huber2018-04-122-72/+63
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Avoid line continuation in Makefile.amSebastian Huber2018-04-122-4/+9
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-122-6/+8
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-113-3/+3
| | | | | | | | | | | 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-092-2/+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-092-6/+6
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-042-6/+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-042-0/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-042-4/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* sparc64: remove header file with duplicated macrosGedare Bloom2018-03-231-1/+1
| | | | | | | | The boot/stack.h header contains duplicated macros that are redundant to arch/stack.h. Delete the boot/stack.h and replace its one use by the arch/stack.h. Closes #3341.
* sparc64: Move libcpu content to cpukitSebastian Huber2018-03-134-16/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-312-2/+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.
* Remove make preinstallChris Johns2018-01-2544-3008/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-022-2/+4
| | | | | | | | | | This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
* sparc64 BSPs: Simplify bsp_specsJoel Sherrill2017-12-193-11/+4
| | | | Updates #3520.
* sparc64/*/bsp_specs, shared/.../start.S: Use GCC init/fini, improve consistencyJoel Sherrill2017-11-293-26/+8
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-272-8/+12
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-272-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-272-2/+2
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-276-4/+6
| | | | | | | | | 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.
* bsps: Remove empty tm27.h variantsSebastian Huber2017-11-276-72/+4
| | | | Update #3254.
* Remove coverhd.hSebastian Huber2017-11-244-10/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-224-2/+4
| | | | | | | | | 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-172-0/+2
| | | | Update #3239.
* bsps: Clock_driver_support_install_isr()Sebastian Huber2017-09-181-4/+2
| | | | | | | Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
* Include missing <string.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2133.
* bsps/sparc64: Fix warningSebastian Huber2017-07-281-0/+2
|
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+1
|
* sparc64/shared/helenos/boot/sparc64/loader/main.c: Fix printf() format warningJoel Sherrill2017-04-241-1/+1
|
* sparc64/shared/clock/ckinit.c: Include <rtems/bspIo.h>Joel Sherrill2017-04-241-0/+1
|
* libbsp/.../sparc64/loader/main.c: Use inttypes.h constants to remove 1 warningCillian O'Donnell2017-04-141-1/+2
|
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-121-1/+1
| | | | Update #2825.
* sparc64: Rename CPU_Minimum_stack_frameSebastian Huber2016-11-181-2/+2
| | | | | | | | Rename SPARC64-specific CPU_Minimum_stack_frame to SPARC64_Minimum_stack_frame. Rename SPARC64-specific CPU_MINIMUM_STACK_FRAME_SIZE to SPARC64_MINIMUM_STACK_FRAME_SIZE. Update #2809.
* bsps: Include missing <rtems/bspIo.h>Sebastian Huber2016-06-241-0/+2
|
* sparc64/usiii/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* sparc64/niagara/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* sparc64/usiii: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* sparc64/niagara: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-1/+0
| | | | warnings
* libbsp/sparc64/shared/clock/ckinit.c: Add include of <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+4
|
* sparc64/usiii/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* sparc64/niagara/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* sparc64/usiii: Add per-section compilation and linking supportJoel Sherrill2016-03-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the usiii BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 180608 2752 2113472 2296832 230c00 ticker.exe 114112 1760 2105312 2221184 21e480 minimum.exe 1041392 3168 2126160 3170720 3061a0 cxx_iostream.exe 712224 8912 2129200 2850336 2b7e20 fileio.exe 595248 21568 2147872 2764688 2a2f90 pppd.exe 291488 3912 2117440 2412840 24d128 capture.exe 200496 2888 2113616 2317000 235ac8 nsecs.exe 279344 3392 2114112 2396848 2492b0 paranoia.exe 324656 2768 2115328 2442752 254600 cdtest.exe 178624 2752 2113440 2294816 230420 base_sp.exe 179152 2752 2117216 2299120 2314f0 unlimited.exe 190944 2688 2113424 2307056 2333f0 hello.exe 381296 10752 2126400 2518448 266db0 loopback.exe For the usiii BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 173312 2632 2113184 2289128 22ede8 ticker.exe 102432 328 2100928 2203688 21a028 minimum.exe 626544 3032 2120400 2749976 29f618 cxx_iostream.exe 657584 8792 2128640 2795016 2aa608 fileio.exe 555616 21264 2146816 2723696 298f70 pppd.exe 280016 3760 2117152 2400928 24a2a0 capture.exe 193792 2768 2113312 2309872 233ef0 nsecs.exe 238528 3264 2113808 2355600 23f190 paranoia.exe 277568 2664 2115040 2395272 248c88 cdtest.exe 170592 2624 2113152 2286368 22e320 base_sp.exe 169120 2616 2112816 2284552 22dc08 unlimited.exe 180528 2536 2109040 2292104 22f988 hello.exe 354992 10528 2126016 2491536 260490 loopback.exe
* sparc64/niagara: Add per-section compilation and linking supportJoel Sherrill2016-03-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the niagara BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 143616 2704 2113472 2259792 227b50 ticker.exe 71872 1720 2105312 2178904 213f58 minimum.exe 983600 3128 2126160 3112888 2f7fb8 cxx_iostream.exe 648448 8864 2129200 2786512 2a84d0 fileio.exe 548976 21520 2147872 2718368 297aa0 pppd.exe 253344 3872 2117440 2374656 243c00 capture.exe 161520 2840 2113616 2277976 22c258 nsecs.exe 215568 3344 2114112 2333024 239960 paranoia.exe 261744 2728 2115328 2379800 245018 cdtest.exe 139648 2704 2113440 2255792 226bb0 base_sp.exe 142416 2712 2117216 2262344 228548 unlimited.exe 150464 2648 2113424 2266536 2295a8 hello.exe 343504 10704 2126400 2480608 25d9e0 loopback.exe For the niagara BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 133408 2624 2113184 2249216 225200 ticker.exe 57152 320 2100928 2158400 20ef40 minimum.exe 590160 3024 2120400 2713584 2967f0 cxx_iostream.exe 623568 8784 2128640 2760992 2a2120 fileio.exe 503616 21256 2146816 2671688 28c448 pppd.exe 239152 3752 2117152 2360056 2402f8 capture.exe 152128 2760 2113312 2268200 229c28 nsecs.exe 203808 3256 2113808 2320872 2369e8 paranoia.exe 244128 2656 2115040 2361824 2409e0 cdtest.exe 128672 2616 2113152 2244440 223f58 base_sp.exe 129408 2608 2112816 2244832 2240e0 unlimited.exe 137040 2528 2109040 2248608 224fa0 hello.exe 314256 10520 2126016 2450792 256568 loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-032-4/+1
| | | | Update #2408.
* score: Introduce Thread_Entry_informationSebastian Huber2016-01-112-2/+2
| | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.