summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/haleakala (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-11/+11
| | | | | | 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-2/+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.
* bsps/powerpc: Move ppc403 clock driver to bspsSebastian Huber2018-03-261-2/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/powerpc: Move libcpu timer to bspsSebastian Huber2018-03-222-7/+2
| | | | | | | | | 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-2/+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/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move basic support to bspsSebastian Huber2018-03-191-3/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move legacy IRQ supportSebastian Huber2018-03-191-1/+1
| | | | | | 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-9/+3
| | | | | Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
* Remove make preinstallChris Johns2018-01-258-425/+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/powerpc: Use public include pathChris Johns2018-01-042-6/+1
| | | | 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.
* haleakala: Simplify bsp_specsJoel Sherrill2017-12-202-5/+3
| | | | Updates #3520.
* haleakala/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-2/+2
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-2/+2
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-13/+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.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-222-7/+1
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* bsps/powerpc: Fix print format warningsSebastian Huber2017-09-281-4/+4
|
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-2/+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.
* powerpc/haleakala/./mmu_405.c: Use inttypes.h constants removes 11 warnings.Cillian O'Donnell2017-04-141-6/+14
|
* Misc: Spell length correctlyJoel Sherrill2016-07-121-1/+1
|
* libnetworking: Import current <arpa/inet.h>Christian Mauderer2016-06-281-1/+0
| | | | | | | | | | Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>. Clean up problems with htonl(). These functions are defined in <arpa/inet.h>. This lead to some problems because they are defined in <rtems/endian.h> too. Add NTOHL, ... to <rtems/rtems_bsdnet_internal.h>.
* bsps: Include missing <rtems/bspIo.h>Sebastian Huber2016-06-241-0/+1
|
* powerpc/haleakala/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* powerpc/haleakala: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-2/+0
| | | | warnings
* powerpc/haleakala/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* powerpc/.../haleakala.cfg: Disable per function sections.Joel Sherrill2016-02-061-2/+4
| | | | updates #2561.
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+2
| | | | Update #2408.
* powerpc/haleakala: 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 131684 1996 10076 143756 2318c base_sp.exe 146568 1964 9684 158216 26a08 hello.exe 58268 1456 6076 65800 10108 minimum.exe 644900 5932 22332 673164 a458c fileio.exe 156052 2088 10180 168320 29180 nsecs.exe 229652 2372 10744 242768 3b450 paranoia.exe 135908 2004 10108 148020 24234 ticker.exe 134132 2020 13500 149652 24894 unlimited.exe 1094228 2656 17360 1114244 110084 cxx_iostream.exe 257588 2564 10332 270484 42094 cdtest.exe 247588 2488 11904 261980 3ff5c capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 115628 1956 10024 127608 1f278 base_sp.exe 127884 1904 9592 139380 22074 hello.exe 44044 1396 6024 51464 c908 minimum.exe 617276 5896 22020 645192 9d848 fileio.exe 141580 2056 10128 153764 258a4 nsecs.exe 213452 2332 10688 226472 374a8 paranoia.exe 120940 1968 10056 132964 20764 ticker.exe 115948 1972 13440 131360 20120 unlimited.exe 224884 1984 10048 236916 39d74 cxx_iostream.exe 233696 2068 10280 246044 3c11c cdtest.exe 229292 2424 11852 243568 3b770 capture.exe
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+1
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* Add RTEMS linker setsSebastian Huber2015-12-081-0/+2
| | | | 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
|
* powerpc/haleakala: Fix warningsJoel Sherrill2014-11-212-1110/+1119
|