summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/qoriq/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-27bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber1-11/+0
Move declarations of bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() to <bsp/irq-generic.h>. Canonicalize the <bsp/irq.h> includes. Implement bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if needed (usually RTEMS_SMP). Provide stub implementations for i386 to fix build errors.
2024-02-27bsp/qoriq: Use more specific includeSebastian Huber1-1/+1
2024-02-27bsp/qoriq: Remove <rtems/irq.h> in <bsp/irq.h>Sebastian Huber1-2/+0
The <rtems/irq.h> defines a legacy API.
2024-02-27bsp/qoriq: Use interrupt entrySebastian Huber1-17/+20
Avoid heap usage in the basic BSP.
2024-01-31bsps/qoriq: Add VME support for MVME2500Christian Mauderer1-0/+50
This enables the VME support for the MVME2500. Note that the PCIe support from libbsd is used. So you need the related libbsd patches for this to work. If the drivers in libbsd are not enabled, the linker should not pick up anything from this patch.
2024-01-31bsps/qoriq: Allow setting EIRQ polarity and senseChristian Mauderer1-0/+27
Add a function that allows to set the polarity (active-low / negative edge triggered or active-high / positive edge triggered) and sense (level or edge sensitive) of the external interrupts.
2023-05-20Update company nameSebastian Huber9-9/+9
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2023-04-05bsp/qoriq: Build VME Tundra Tsi148 driverSebastian Huber1-0/+50
2023-01-24tm27: Avoid function pointer castsSebastian Huber1-3/+3
Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
2023-01-03bsp/qoriq: Add qoriq_mmu_adjust_and_write_to_tlb1()Sebastian Huber1-0/+10
2023-01-03bsp/qoriq: Add qoriq_mmu_find_free_tlb1_entry()Sebastian Huber1-0/+2
2023-01-03bsp/qoriq: Support message signaled interruptsSebastian Huber1-1/+27
2022-09-19Do not use RTEMS_INLINE_ROUTINESebastian Huber1-5/+5
Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
2022-07-12bsps/powerpc/qoriq: Change license to BSD-2Joel Sherrill8-24/+176
Updates #3053.
2022-03-10bsps/powerpc/: Scripted embedded brains header file clean upJoel Sherrill8-48/+0
Updates #4625.
2021-07-26bsps/irq: bsp_interrupt_set_affinity()Sebastian Huber1-1/+1
Return a status code for bsp_interrupt_set_affinity(). Update #3269.
2021-07-26bsps/irq: bsp_interrupt_get_affinity()Sebastian Huber1-1/+1
Return a status code for bsp_interrupt_get_affinity(). Update #3269.
2021-06-24bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber1-2/+0
This define is no longer used. Update #3269.
2021-06-24bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber1-0/+2
Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT. After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no interrupt vector at all. Using COUNT instead of MAX may avoid some interpretation issues, for example is the maximum value a valid vector number or not. Update #3269.
2021-06-24bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber1-2/+0
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
2020-10-10rtems: Improve RTEMS_NO_RETURN attributeSebastian Huber1-3/+3
Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors like this: error: no return statement in function returning non-void [-Werror=return-type] Use C11 and C++11 standard means to declare a no-return function. Close #4122.
2019-03-08bsps: Adjust bsp.h Doxygen groupsSebastian Huber8-22/+34
Update #3706.
2018-09-06bsp/qoriq: Add struct qoriq to allow forward declsSebastian Huber1-2/+2
2018-08-29qoriq/include/tm27.h: Fix warningsJoel Sherrill1-5/+5
2018-08-10qoriq/include/tm27.h: Fix prototype warningJoel Sherrill1-2/+2
2018-07-25bsps: bsp_start_on_secondary_processor()Sebastian Huber1-1/+3
Pass current processor control as first parameter in bsp_start_on_secondary_processor() and qoriq_start_thread() to make dependency more explicit.
2018-01-25Remove make preinstallChris Johns11-0/+2842
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.