summaryrefslogtreecommitdiff
path: root/bsps (follow)
AgeCommit message (Collapse)Author
2021-07-12bsp/leon3: Do not invalidate cache in SMP startSebastian Huber
Since the trap table is now statically initialized, there is no need to invalidate the instruction cache.
2021-07-12bsp/leon3: Use interrupt entry directivesSebastian Huber
2021-07-12grlib: Add generated headersSebastian Huber
2021-07-12libc: Optimize malloc() initializationSebastian Huber
Change licence to BSD-2-Clause according to file history.
2021-07-12score: Optimize Workspace Handler initializationSebastian Huber
2021-07-12bsp/raspberrypi: Add interrupt get/set affinitySebastian Huber
Add default implementations for bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() which are required to link all tests in SMP configurations. Update #3269.
2021-07-12bsps/irq: Add rtems_interrupt_entry_install()Sebastian Huber
Add rtems_interrupt_entry_remove(). Split up irq-generic.c into several files. In particular, place all functions which use dynamic memory into their own file. Add optional macros to let the BSP customize the vector installation after installing the first entry and the vector removal before removing the last entry: * bsp_interrupt_vector_install() * bsp_interrupt_vector_remove() Use these new customization options in the m68k/genmcf548x BSP so re-use the generic interrupt controller support. Update #3269.
2021-07-12bsps/irq: Move bsp_interrupt_handler_is_empty()Sebastian Huber
This function is only used by one BSP. Update #3269.
2021-07-12bsps/irq: Add bsp_interrupt_check_and_lock()Sebastian Huber
Return RTEMS_INCORRECT_STATE instead of RTEMS_INCORRECT_STATE in case the interrupt support is not initialized. This is similar to rtems_timer_server_fire_after() for example. Update #3269.
2021-07-12bsps/irq: Use rtems_interrupt_entrySebastian Huber
Update #3269.
2021-07-12sparc/irq: Implement new interrupt directivesSebastian Huber
Update #3269.
2021-07-12bsps/irq: Implement new directives for GICv2/3Sebastian Huber
Update #3269.
2021-07-12bsps/irq: bsp_interrupt_set_affinity()Sebastian Huber
Return a status code for bsp_interrupt_set_affinity(). Update #3269.
2021-07-12bsps/irq: bsp_interrupt_get_affinity()Sebastian Huber
Return a status code for bsp_interrupt_get_affinity(). Update #3269.
2021-07-12bsps/irq: bsp_interrupt_vector_disable()Sebastian Huber
Return a status code for bsp_interrupt_vector_disable(). Update #3269.
2021-07-12bsps/irq: bsp_interrupt_vector_enable()Sebastian Huber
Return a status code for bsp_interrupt_vector_enable(). Update #3269.
2021-07-12bsps/irq: Add rtems_interrupt_is_pending()Sebastian Huber
Add a default implementation which just returns RTEMS_UNSATISFIED. Update #3269.
2021-07-12bsps/irq: Add rtems_interrupt_get_attributes()Sebastian Huber
Add a default implementation which clears the attributes to zero and just returns RTEMS_SUCCESSFUL for valid parameters. Update #3269.
2021-07-12bsps/irq: Add rtems_interrupt_cause()Sebastian Huber
Add rtems_interrupt_cause_on() and rtems_interrupt_clear(). Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
2021-07-12bsps/irq: Add rtems_interrupt_vector_is_enabled()Sebastian Huber
Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
2021-07-12rtems: Add RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPTSebastian Huber
Add RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT as the fatal source for spurious interrupts. Use the interrupt vector number of the spurious interrupt for the fatal code. Update #3269.
2021-07-12rtems: Add rtems_interrupt_vector_enable()Sebastian Huber
Add rtems_interrupt_vector_disable(). Update #3269.
2021-07-09bsps/irq: Move handler iterate to separate fileSebastian Huber
Update #3269.
2021-07-09bsps/irq: Canonicalize get/set affinity errorsSebastian Huber
Bring the error conditions and status in line with rtems_task_get_affinity() and rtems_task_set_affinity(). Update #3269.
2021-07-09bsps/irq: Move get/set affinity to separate fileSebastian Huber
Update #3269.
2021-07-09bsps/sparc: Improve interrupt affinity supportSebastian Huber
Fully support the interrupt extension API to set/get the interrupt affinity. Remove LEON3_irq_to_cpu which defined the interrupt to processor mapping in a BSP-specific way. Update #3269.
2021-07-09bsp/imx: Fix SMP startSebastian Huber
Flush imx_gic_dist_base so that secondary processors can use the right address.
2021-07-09bsps/arm: Fix SMP startSebastian Huber
Skip the data cache initialization if we are a secondary processor. The bug was introduced by e164df5e33608576443b4cd5923a9046358ee773 and did not show up in tests using Qemu since the data cache behaviour is not emulated.
2021-07-08bsps/imxrt: Fix undefined symbolChristian Mauderer
2021-07-07bsps/arm: Add start up support for ARMv6 RPi ModelsPranav Dangi
2021-07-07bsp/raspberrypi: Fix <bsp/irq.h> header guardSebastian Huber
2021-07-07bsp/imx: Fix pointer from integer warningSebastian Huber
2021-07-02bsps/imxrt: Simplify linkcmds and make it flexibleChristian Mauderer
Calling the memory FLASH and EXTRAM instead of FLEXSPI and SDRAM makes it simpler to support other types of external RAM. This patch also removes some of the calculations and improves names and documentation to avoid pitfalls. It removes a unnecessary memory definition. Update #4180
2021-07-02bsps/imxrt: Allow different ARM PLL settingChristian Mauderer
Update #4180
2021-07-01m68k/uC5282: linkcmds KEEP and SORT sectionsGedare Bloom
Fixes a problem with bad epilog code in _fini and to keep sections necessary with the -ffunction/data-sections.
2021-07-01bsp/leon3: Move bsp_interrupt_is_valid_vector()Sebastian Huber
This function is not performance critical. There is no need to implement it inline.
2021-07-01bsp/leon3: Fix bsp_interrupt_is_valid_vector()Sebastian Huber
The fix to address CID 1399742 (NO_EFFECT) in commit f8b6359415404540864f809cbcffb8c2200261e1 introduced a bug since LEON3_IrqCtrl_EIrq == -1 in case no extended interrupts are supported by the interrupt controller. Fix this by checking for LEON3_IrqCtrl_EIrq > 0. In addition, interrupt number 0 is reserved and should not be used.
2021-06-30bsps: Fix GICv3 support for AArch32Sebastian Huber
The GICv3 support is shared between AArch32 and AArch64. For AArch32, the new AARCH64_IS_NONSECURE is never defined. Use ARM_MULTILIB_ARCH_V4 instead. This issue was introduced by 76c6caad52244ab9a14151620a80ff0f71035b6c. There is still a change in bsp_interrupt_vector_enable() for AArch32 compared to the version before 76c6caad52244ab9a14151620a80ff0f71035b6c.
2021-06-29bsps/cadence-spi: Fix moduleid offsetKinsey Moore
Move the moduleid register to the correct offset according to Cadence IP documentation.
2021-06-29bsps/zynq-uart: Make post baud change kick globalKinsey Moore
The existing fix for the ZynqMP UART hardware bug only caught the vast majority of instances where it could occur. To fully fix the data corruption, this fix must be applied after every baud rate change. This makes the logic reset and kick apply in any locations where the baud rate could be changed.
2021-06-24aarch64: whitespace fixes in start.SGedare Bloom
2021-06-24bsps/aarch64: replace boot options with asm switch codeGedare Bloom
2021-06-24bsps/aarch64: add non-secure mode and versal supportGedare Bloom
2021-06-24bsps/aarch64: add physical secure timerGedare Bloom
2021-06-24bsps/aarch64: add mnemonic for ICC_IGRPEN1_EL3Gedare Bloom
2021-06-24bsps/dev/irq: make icspicfgr an indexable arrayGedare Bloom
2021-06-24aarch64: add support to drop EL3 to EL2Kinsey Moore
2021-06-24aarch64/xilinx-versal: new BSPs for qemu and vck190Gedare Bloom
2021-06-24sparc: Simplify trap table initializationSebastian Huber
Move _ISR_Handler() to a separate file since it is now only used if a handler is installed by _CPU_ISR_install_raw_handler(). Statically initialize the traps for external interrupts to use the new _SPARC_Interrupt_trap() which directly dispatches the interrupt handlers installed by rtems_interrupt_handler_install() via the BSP-provided _SPARC_Interrupt_dispatch(). Since the trap table is now fully statically initialized, there is no longer a dependency on the Cache Manager in the default configuration. Update #4458.
2021-06-24bsps: bsp_interrupt_handler_dispatch_unchecked()Sebastian Huber
Add bsp_interrupt_handler_dispatch_unchecked() as an alternative to bsp_interrupt_handler_dispatch(). It may be used if the caller can ensure that the vector number is valid.