summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/qoriq (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/qoriq: Include missing processormaskimpl.hVincenzo Calabretta2024-04-171-0/+1
|
* bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber2024-03-273-13/+1
| | | | | | | | | | | 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.
* bsps: Avoid unused argument in clock interruptSebastian Huber2024-03-201-7/+7
| | | | | | | | | | | Pass the parameter of the clock interrupt handler to Clock_driver_support_at_tick() and Clock_driver_timecounter_tick(). This makes it possible to use the interrupt handler argument in clock drivers. Use the interrupt handler provided by Clock_driver_support_install_isr() to avoid local delarations of Clock_isr(). Update #4862.
* bsp/qoriq: Use more specific includeSebastian Huber2024-02-272-1/+2
|
* bsp/qoriq: Remove superfluous includeSebastian Huber2024-02-271-1/+0
|
* bsp/qoriq: Remove <rtems/irq.h> in <bsp/irq.h>Sebastian Huber2024-02-271-2/+0
| | | | The <rtems/irq.h> defines a legacy API.
* bsp/qoriq: Use bsp_fatal()Sebastian Huber2024-02-271-2/+3
|
* bsp/qoriq: Use interrupt entrySebastian Huber2024-02-274-29/+50
| | | | Avoid heap usage in the basic BSP.
* bsps/qoriq: Add VME support for MVME2500Christian Mauderer2024-01-311-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.
* bsps/qoriq: Allow setting EIRQ polarity and senseChristian Mauderer2024-01-312-0/+83
| | | | | | 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.
* bsps/qoriq: Add MMU regions for PCIe based on fdtChristian Mauderer2024-01-311-0/+88
| | | | | Get the memory ranges for the PCIe from the FDT and add them to the MMU. This is necessary so that the PCIe driver in libbsd can work.
* Update company nameSebastian Huber2023-05-2032-32/+32
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTERChris Johns2023-04-242-4/+5
|
* bsp/qoriq: Build VME Tundra Tsi148 driverSebastian Huber2023-04-051-0/+50
|
* tm27: Avoid function pointer castsSebastian Huber2023-01-241-3/+3
| | | | | | | Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
* bsp/qoriq: Add qoriq_mmu_adjust_and_write_to_tlb1()Sebastian Huber2023-01-033-7/+38
|
* bsp/qoriq: Add qoriq_mmu_find_free_tlb1_entry()Sebastian Huber2023-01-032-1/+27
|
* bsp/qoriq: Support message signaled interruptsSebastian Huber2023-01-032-17/+244
|
* bsp/qoriq: Clear shared message signaled interruptsSebastian Huber2023-01-031-0/+5
|
* bsp/qoriq: Use only pic_is_ipi()Sebastian Huber2023-01-031-11/+6
|
* Do not use RTEMS_INLINE_ROUTINESebastian Huber2022-09-191-5/+5
| | | | | | | Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
* bsps/powerpc/qoriq: Change license to BSD-2Joel Sherrill2022-07-1231-93/+682
| | | | Updates #3053.
* bsps/powerpc/: Scripted embedded brains header file clean upJoel Sherrill2022-03-1031-186/+0
| | | | Updates #4625.
* bsp/qoriq: Implement Interrupt Manager directivesSebastian Huber2022-01-111-24/+77
| | | | Update #3269.
* bsp_specs: Delete last remnants of these.Joel Sherrill2021-11-291-0/+0
| | | | Updates #3937.
* build: Remove old build systemSebastian Huber2021-09-211-24/+0
| | | | | Close #3250. Close #4081.
* bsps/irq: bsp_interrupt_facility_initialize()Sebastian Huber2021-07-271-4/+2
| | | | | | Do not return a status code in bsp_interrupt_facility_initialize() since this leads to unreachable code in bsp_interrupt_initialize(). Use RTEMS_DEBUG assertions in bsp_interrupt_facility_initialize() if necessary.
* bsps/irq: bsp_interrupt_set_affinity()Sebastian Huber2021-07-262-3/+5
| | | | | | Return a status code for bsp_interrupt_set_affinity(). Update #3269.
* bsps/irq: bsp_interrupt_get_affinity()Sebastian Huber2021-07-262-3/+5
| | | | | | Return a status code for bsp_interrupt_get_affinity(). Update #3269.
* bsps/irq: bsp_interrupt_vector_disable()Sebastian Huber2021-07-261-2/+4
| | | | | | Return a status code for bsp_interrupt_vector_disable(). Update #3269.
* bsps/irq: bsp_interrupt_vector_enable()Sebastian Huber2021-07-261-2/+4
| | | | | | Return a status code for bsp_interrupt_vector_enable(). Update #3269.
* bsps/irq: Add rtems_interrupt_is_pending()Sebastian Huber2021-07-261-0/+22
| | | | | | Add a default implementation which just returns RTEMS_UNSATISFIED. Update #3269.
* bsps/irq: Add rtems_interrupt_get_attributes()Sebastian Huber2021-07-261-0/+16
| | | | | | | Add a default implementation which clears the attributes to zero and just returns RTEMS_SUCCESSFUL for valid parameters. Update #3269.
* bsps/irq: Add rtems_interrupt_raise()Sebastian Huber2021-07-261-0/+46
| | | | | | | | | Add rtems_interrupt_raise_on() and rtems_interrupt_clear(). Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* bsps/irq: Add rtems_interrupt_vector_is_enabled()Sebastian Huber2021-07-261-0/+22
| | | | | | | Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2021-06-241-2/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-3/+3
| | | | | | Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-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.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber2021-06-242-5/+3
| | | | | | | | | | 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.
* bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber2021-05-021-0/+1
| | | | Update #3866.
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-072-431/+0
| | | | Update #3850
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-281-9/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* rtems: Improve RTEMS_NO_RETURN attributeSebastian Huber2020-10-101-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.
* bsps: Always install IPI in SMP configsSebastian Huber2020-08-311-16/+14
| | | | | | | The inter-processor interrupt (IPI) may be used to process per-CPU jobs. See for example the blocked handler in T_interrupt_test(). Update #3199.
* bsps/powerpc: Remove SPE enabled variantsSebastian Huber2020-07-051-2/+1
| | | | | | The PowerPC SPE support was removed from GCC. Update #3951.
* bsps/powerpc: Fix inline assemblySebastian Huber2020-07-052-6/+6
| | | | | GCC 10 no longer passes -many to the assembler. This enables more checks in the assembler.
* bsp/qoriq: Fix tlbwe sequenceSebastian Huber2020-07-051-1/+1
|
* bsp/qoriq: Fix off by one error in clock initSebastian Huber2020-04-021-1/+1
| | | | Close #3921.
* bsps: Rework work area initializationSebastian Huber2020-02-041-4/+23
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* score: Rename _SMP_Get_processor_count()Sebastian Huber2019-04-111-1/+1
| | | | | | | Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.