summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/csb350 (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-23bsps: Move legacy network drivers to bspsSebastian Huber2-910/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move interrupt controller support to bspsSebastian Huber2-172/+4
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move make/custom/* files to bspsSebastian Huber1-19/+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.
2018-04-23bsps: Remove AC_CONFIG_SRCDIR()Sebastian Huber1-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.
2018-04-20bsps: Move benchmark timer to bspsSebastian Huber2-58/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move startup files to bspsSebastian Huber5-315/+3
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move start files to bspsSebastian Huber2-123/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move console drivers to bspsSebastian Huber2-87/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber2-91/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move sbrk.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move getentropy-cpucounter.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Convert all bsp_predriver_hook()Sebastian Huber1-1/+0
Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
2018-04-20bsps: Move bspgetworkarea.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move bspclean.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-12build: Remove subdir-objects from BSP configure.acSebastian Huber1-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.
2018-04-12bsps: Move bootcard.c to bspsSebastian Huber1-1/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-12bsps: Remove headers from librtemsbsp_a_SOURCESSebastian Huber1-1/+0
This was used by the not supported "make dist". This patch is a part of the BSP source reorganization. Update #3285.
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns1-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.
2018-04-09build: Remove DISTCLEANFILESSebastian Huber1-1/+0
A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
2018-04-09bsps: Move generic IRQ support to bspsSebastian Huber1-5/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-09bsps: Remove librtemsbsp.a wrapupSebastian Huber1-28/+28
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber1-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.
2018-04-04bsps: Add shared-sources.amSebastian Huber1-0/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-2/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-03-13bsps/mips: Move libcpu content to bspsSebastian Huber2-3/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-31bsps: Rework cache manager implementationSebastian Huber1-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.
2018-01-31bsps: Move network define to source filesSebastian Huber2-9/+3
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
2018-01-25Remove make preinstallChris Johns7-316/+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.
2018-01-02bsps: Use CPPASCOMPILE for startfileSebastian Huber1-3/+4
Update #3254.
2018-01-02bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber1-0/+1
This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
2018-01-02bsps: Include bsp.am in all BSP Makefile.amSebastian Huber1-0/+1
Update #3254.
2017-12-19csb350: Simplify bsp_specsJoel Sherrill2-5/+3
Updates #3250.
2017-11-27libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill1-1/+1
Updates #3250.
2017-11-24Remove coverhd.hSebastian Huber2-5/+0
This header file contained timing overhead values which are hard to maintain. Update #3254.
2017-11-22bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber1-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
2017-11-17getentropy: Add cpu counter based implementation.Christian Mauderer1-0/+1
Update #3239.
2017-09-18bsps: Clock_driver_support_install_isr()Sebastian Huber1-2/+2
Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
2017-09-12Simplify and unify BSP_output_charSebastian Huber1-3/+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.
2017-03-09libbsp/csb350/clock/clockdrv.c: Remove unneeded printk()Joel Sherrill1-3/+0
2016-11-18bsps/mips: Use <libcpu/isr_entries.h>Sebastian Huber1-1/+1
Avoid duplicate mips_vector_isr_handlers() declarations.
2016-03-30mips/csb350/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill1-1/+0
2016-03-29mips/csb350: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill1-1/+0
2016-03-27mips/csb350/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill1-1/+0
2016-02-03Use linker set for libio initializationSebastian Huber1-2/+0
Update #2408.
2016-01-20mips/csb350: Add per-section compilation and linking support.Ralph Holmes1-0/+3
The size of the sample executables without this option were: text data bss dec hex filename 114476 8176 25808 148460 243ec base_sp.exe 135980 7292 25664 168936 293e8 hello.exe 48900 3628 21168 73696 11fe0 minimum.exe 593388 80288 37992 711668 adbf4 fileio.exe 137100 9992 25960 173052 2a3fc nsecs.exe 210124 20976 25904 257004 3ebec paranoia.exe 117948 8360 25232 151540 24ff4 ticker.exe 117308 8384 28912 154604 25bec unlimited.exe 1068972 48272 32688 1149932 118bec cxx_iostream.exe 237188 19372 26048 282608 44ff0 cdtest.exe 226092 22360 28020 276472 437f8 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 100632 7484 26016 134132 20bf4 base_sp.exe 119704 6588 25232 151524 24fe4 hello.exe 36232 2968 21184 60384 ebe0 minimum.exe 568984 77192 37832 684008 a6fe8 fileio.exe 124984 9260 25480 159724 26fec nsecs.exe 195656 20252 25744 241652 3aff4 paranoia.exe 105352 7652 25216 138220 21bec ticker.exe 101640 7664 28912 138216 21be8 unlimited.exe 557072 39024 32624 628720 997f0 cxx_iostream.exe 218540 17316 26272 262128 3fff0 cdtest.exe 209704 21316 27012 258032 3eff0 capture.exe
2015-12-24api: Remove deprecated NotepadsAun-Ali Zaidi1-2/+0
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.
2015-12-10bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber1-1/+0
Use the bsp_predriver_hook() instead. Update #2408.
2015-12-08Add RTEMS linker setsSebastian Huber1-0/+2
Update #2408.
2015-07-16Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill1-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
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-0/+2
Update #2271.