summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/malta (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move PCI drivers to bspsSebastian Huber2018-04-232-1103/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move interrupt controller support to bspsSebastian Huber2018-04-233-131/+5
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move make/custom/* files to bspsSebastian Huber2018-04-231-17/+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-207-535/+6
| | | | | | | | 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-222/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move console drivers to bspsSebastian Huber2018-04-203-214/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-201-2/+2
| | | | | | 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: Move pci_find_device.c 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 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-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: Move bootcard.c to bspsSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove headers from librtemsbsp_a_SOURCESSebastian Huber2018-04-121-1/+0
| | | | | | | | This was used by the not supported "make dist". This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-121-5/+3
| | | | | | 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-5/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-091-39/+39
| | | | | | 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.
* bsps/mips: Move libcpu content to bspsSebastian Huber2018-03-132-3/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-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-258-486/+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-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.
* malta: Simplify bsp_specsJoel Sherrill2017-12-192-5/+4
| | | | Updates #3250.
* 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-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
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* libbsp/malta/pci/pci.c: Correct printk() formatsJoel Sherrill2017-03-091-6/+6
|
* bsps/mips: Use <libcpu/isr_entries.h>Sebastian Huber2016-11-181-1/+1
| | | | Avoid duplicate mips_vector_isr_handlers() declarations.
* bsps: Include missing <rtems/bspIo.h>Sebastian Huber2016-06-241-0/+1
|
* mips/malta/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* mips/malta: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* mips/malta/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* mips/malta: Use shared pci_find_device() and removed unused pci_list_devices()Joel Sherrill2016-03-104-413/+1
| | | | Also includes .h file cleanup.
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* mips/malta: Add per-section compilation and linking support.Ralph Holmes2016-01-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 276796 2076 16544 295416 481f8 base_sp.exe 272996 2044 16080 291120 47130 hello.exe 210632 1828 12800 225260 36fec minimum.exe 1102500 6380 28968 1137848 115cb8 fileio.exe 303952 2204 16648 322804 4ecf4 nsecs.exe 361424 2508 17168 381100 5d0ac paranoia.exe 284876 2076 16592 303544 4a1b8 ticker.exe 282988 2108 19984 305080 4a7b8 unlimited.exe 1308448 2436 24016 1334900 145e74 cxx_iostream.exe 407228 2140 16928 426296 68138 cdtest.exe 431492 2748 18420 452660 6e834 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 244480 1968 16384 262832 402b0 base_sp.exe 237488 1908 15952 255348 3e574 hello.exe 126448 1480 12656 140584 22528 minimum.exe 1052392 6112 28328 1086832 109570 fileio.exe 274708 2088 16504 293300 479b4 nsecs.exe 329108 2384 17040 348532 55174 paranoia.exe 254748 1968 16416 273132 42aec ticker.exe 248112 1984 19776 269872 41e30 unlimited.exe 753136 2300 22976 778412 be0ac cxx_iostream.exe 371596 2032 16752 390380 5f4ec cdtest.exe 392480 2572 18244 413296 64e70 capture.exe
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+0
| | | | | | 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
* mips BSPs: Remove .global for unprovided symbolJoel Sherrill2015-03-031-1/+0
| | | | closes 2253