summaryrefslogtreecommitdiffstats
path: root/bsps/arm/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-142-2/+0
|
* bsps/arm: Adjust CMSIS Doxygen groupsSebastian Huber2019-03-081-0/+8
| | | | Update #3706.
* bsps: Adjust shared Doxygen groupsSebastian Huber2019-03-083-9/+9
| | | | Update #3706.
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-041-8/+8
| | | | | | | | | | - Use CamelCase as it is not used in our C code. Enables simple search and replace. - Prefix with "RTEMS" to aid deployment and integration. It aids searching and sorting. Update #3706.
* bsps/arm: Add BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0Sebastian Huber2019-02-281-3/+51
| | | | | | | | | | | | | | | | | The following variants * GICv1 with Security Extensions, * GICv2 without Security Extensions, or * within Secure processor mode have the ability to assign group 0 or 1 to individual interrupts. Group 0 interrupts can be configured to raise an FIQ exception. This enables the use of NMIs with respect to RTEMS. BSPs can enable this feature with the BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0 define. Use arm_gic_irq_set_group() to change the group of an interrupt (default group is 1, if BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0 is defined).
* bsps/arm: Support GIC group 0/1Sebastian Huber2019-02-281-1/+37
|
* Remove explicit file names from @fileSebastian Huber2019-02-281-1/+1
| | | | | | This makes the @file documentation independent of the actual file name. Update #3707.
* bsps/arm: Move device tree copySebastian Huber2019-02-181-23/+24
| | | | | | Move device tree copy operation after the mode initialization so that bsp_fdt_copy() uses the initialization stack and not the stack provided up by the boot loader.
* bsps/arm: Fix generic timer frequencySebastian Huber2019-02-071-1/+1
| | | | Update #3456.
* bsps/arm: Remove unused bsp_stack_irq_sizeSebastian Huber2019-01-211-3/+0
| | | | Update #3459.
* bsps/arm: Conditional ARMv7-AR data cache disableSebastian Huber2019-01-101-0/+2
| | | | | Update #3667. Close #3674.
* bsps/arm: Fix typo in disable cache for ARMv7-ARThomas Dörfler2019-01-101-1/+1
| | | | Update #3667.
* bsps/arm: Add cache size support for CP15Sebastian Huber2018-12-211-0/+41
|
* bsps/arm: Add ARMv7-AR disable data cacheSebastian Huber2018-12-212-7/+127
| | | | Close #3667.
* ARM_CACHE_L1_CPU_SUPPORT_PROVIDES_RANGE_FUNCTIONSSebastian Huber2018-12-213-5/+2
| | | | | | Remove this superfluous define. Update #3667.
* bsps/arm: Avoid short range branch in start.SSebastian Huber2018-11-211-14/+13
|
* bsps/arm: Use local labels in start.SSebastian Huber2018-11-211-44/+40
|
* bsps/arm: Simplify start.SSebastian Huber2018-11-211-12/+0
| | | | The boot_card() function does not return.
* score: Rename interrupt stack symbolsSebastian Huber2018-11-081-4/+4
| | | | | | | | | | | | | Rename * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin, * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and * _Configuration_Interrupt_stack_size in _ISR_Stack_size. Move definitions to <rtems/score/isr.h>. The new names are considerable shorter and in the right namespace. Update #3459.
* bsps/arm: Recognize .tm_clone_table input sectionSebastian Huber2018-10-151-0/+3
|
* bsps/arm: Fix ctor/dtor invocation orderSebastian Huber2018-10-091-31/+4
| | | | Remove obsolete .ctor and .dtor output sections.
* network: Use kernel/user space header filesSebastian Huber2018-09-101-1/+1
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* score: _SMP_Inter_processor_interrupt_handler()Sebastian Huber2018-07-251-1/+1
| | | | | Pass current processor control via parameter since it may be already available at the caller side.
* Rework initialization and interrupt stack supportSebastian Huber2018-06-273-139/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
* bsps: Support .rtemsstack.* linker input sectionsSebastian Huber2018-06-271-0/+3
| | | | | | Use a dedicated memory region or place it between the BSS and workspace. Update #3459.
* Remove Clock_driver_support_shutdown_hardware()Sebastian Huber2018-06-273-65/+0
| | | | | | | | | | | | | | | | | The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.
* arm: Simplify CPU counter supportSebastian Huber2018-06-152-133/+55
| | | | | | | | | | Use the standard ARMv7-M systick module for the ARMv7-M CPU counter instead of DWT counter since the DWT counter is affected by power saving states. Use an inline function for _CPU_Counter_difference() for all ARM BSPs. Update #3456.
* Add _CPU_Counter_frequency()Sebastian Huber2018-06-153-15/+24
| | | | | | | | | | Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
* Drop executable permissions on .[S] filesJoel Sherrill2018-05-141-0/+0
|
* bsps: Move arm-cp15-set-ttb-entries.c to bspsSebastian Huber2018-04-241-0/+89
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-cp15-set-exception-handler.c to bspsSebastian Huber2018-04-241-0/+56
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-a9mpcore-smp.c to bspsSebastian Huber2018-04-241-0/+70
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-pl050.c to bspsSebastian Huber2018-04-241-0/+116
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-pl011.c to bspsSebastian Huber2018-04-241-0/+91
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-pl111-fb.c to bspsSebastian Huber2018-04-241-0/+276
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-generic-timer-clock-config.c to bspsSebastian Huber2018-04-241-0/+202
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move arm-a9mpcore-clock-config.c to bspsSebastian Huber2018-04-241-0/+212
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move armv7m-cpucounter.c to bspsSebastian Huber2018-04-241-0/+53
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspreset.c to bspsSebastian Huber2018-04-241-0/+38
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy network drivers to bspsSebastian Huber2018-04-231-0/+1839
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move interrupt controller support to bspsSebastian Huber2018-04-233-0/+279
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move startup files to bspsSebastian Huber2018-04-206-0/+868
| | | | | | | | 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-201-0/+462
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-202-0/+295
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move doxygen.h files to bspsSebastian Huber2018-04-201-0/+15
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/arm: Move libcpu content to bspsSebastian Huber2018-03-131-0/+137
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-314-0/+2065
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.