summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move bspreset.c to bspsSebastian Huber2018-04-201-17/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspclean.c to bspsSebastian Huber2018-04-201-99/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move uart-output-char.c to bspsSebastian Huber2018-04-161-52/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move stackalloc.c to bspsSebastian Huber2018-04-161-65/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bsp-uboot-board-info.c to bspsSebastian Huber2018-04-161-32/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bsp-fdt.c to bspsSebastian Huber2018-04-161-65/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move tod.c to bsps and renameSebastian Huber2018-04-161-287/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove empty gnatinstallhandler.cSebastian Huber2018-04-121-17/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-121-85/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-126-693/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove unused console_select_simple.cSebastian Huber2018-04-121-22/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move generic IRQ support to bspsSebastian Huber2018-04-096-1779/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move VME support to bspsSebastian Huber2018-04-097-5808/+0
| | | | | | | | The VME support is only used by powerpc BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsp: Move umon support to bspsSebastian Huber2018-04-096-2071/+0
| | | | | | | | The umon support is only used by the csb337 BSP. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: More verbose bsp_fatal_extension()Sebastian Huber2018-03-071-0/+20
| | | | Close #3318.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-1/+0
| | | | | | | | | | | | | | | | | | 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-2528-5934/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Fix redefine warningChris Johns2018-01-151-0/+1
|
* bsps: Use public include pathChris Johns2018-01-042-4/+4
| | | | Update #3254.
* bsps: Print internal error textSebastian Huber2017-12-021-9/+25
| | | | Update #3248.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-271-52/+0
| | | | | | | | | 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-241-107/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Add BSP_VERBOSE_FATAL_EXTENSIONSebastian Huber2017-11-221-1/+19
| | | | | | | | Add BSP_VERBOSE_FATAL_EXTENSION to RTEMS_BSP_CLEANUP_OPTIONS to optionally print the RTEMS version, the fatal source and the fatal code in the shared bsp_fatal_extension(). Close #3248.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-222-7/+7
| | | | | | | | 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.
* bsps: Use a state in default getentropy()Sebastian Huber2017-11-201-25/+40
| | | | | | | | | Use the boot time to initialize the state. Use the state, the current CPU counter and a very simple pseudo random number generator for getentropy(). At least, this enables to pass the test "GETENTROPY 1" on ERC32. Update #3239.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+54
| | | | Update #3239.
* bsp/imx: Add imx_get_irq_of_node()Sebastian Huber2017-10-021-2/+1
| | | | Update #3090.
* bsps: Generalize bsp_fdt_map_intr()Sebastian Huber2017-09-221-2/+3
| | | | | | | Pass all interrupt cells to bsp_fdt_map_intr() since some platforms use an array to describe an interrupt. Update #3090.
* bsps: Clock_driver_support_install_isr()Sebastian Huber2017-09-182-7/+8
| | | | | | | Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
* libio: Add rtems_libio_iop_is_readable()Sebastian Huber2017-09-151-2/+2
| | | | Update #3132.
* Simplify and unify BSP_output_charSebastian Huber2017-09-122-8/+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.
* Include missing <string.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2133.
* bsps: Fix integer types in bsp_fdt_copy()Sebastian Huber2017-08-221-3/+3
| | | | Update #3082.
* bsps: Add BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREASebastian Huber2017-08-221-2/+2
|
* bsps: Fix integer to/from pointerSebastian Huber2017-08-221-2/+2
| | | | Update #3082.
* bsp/imx: New BSPSebastian Huber2017-08-041-1/+5
| | | | Update #3090.
* bsps/arm: Add ARMv7-AR Generic Timer clock driverSebastian Huber2017-08-041-0/+1
| | | | Update #3090.
* Optional Clock_driver_support_shutdown_hardware()Sebastian Huber2017-08-041-0/+6
| | | | | Make Clock_driver_support_shutdown_hardware() optional. This avoids the atexit() support on memory constrained targets.
* bsps: Fix warningSebastian Huber2017-07-191-0/+3
| | | | Update #3071.
* bsps: Include missing header fileSebastian Huber2017-07-121-0/+1
| | | | Update #3071.
* Add interrupt vector set/get affinitySebastian Huber2017-07-121-1/+52
| | | | Close #3071.
* Add interrupt server moveSebastian Huber2017-07-121-0/+75
| | | | Update #3071.
* Add interrupt server set affinitySebastian Huber2017-07-121-0/+33
| | | | Update #3071.
* Add interrupt server suspend/resumeSebastian Huber2017-07-121-2/+59
| | | | | | | This mechanism can be used to safely move the interrupt server from one scheduler instance to another for example. Update #3071.
* Create one interrupt server per processorSebastian Huber2017-07-121-79/+184
| | | | | | | This allows load balancing of interrupt processing in SMP configurations. Update #3071.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-071-2/+4
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-061-2/+2
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* Add rtems_interrupt_server_handler_iterate()Sebastian Huber2017-06-261-0/+70
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-203-29/+25
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* interrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0Phong Pham2017-05-131-1/+1
| | | | Closes #3014.