summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/leon3/start/bspsmp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber2024-03-271-1/+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.
* bsp/leon3: Fix group membershipsSebastian Huber2023-07-141-1/+1
| | | | Update #3706.
* bsp/leon3: Simplify fatal error handlingSebastian Huber2023-07-141-13/+3
|
* bsp/leon3: Move system control register supportSebastian Huber2023-07-141-1/+0
| | | | | Move, document, and reformat support functions from <leon.h> to <bsp/leon3.h>.
* bsp/leon3: Use new IRQ(A)MP register block APISebastian Huber2023-07-141-2/+14
|
* bsp/leon3: Do not invalidate cache in SMP startSebastian Huber2021-12-131-1/+1
| | | | | Since the trap table is now statically initialized, there is no need to invalidate the instruction cache.
* bsp/leon3: Use interrupt entry for the SMP supportSebastian Huber2021-12-131-4/+9
| | | | | | Using rtems_interrupt_entry_install() instead of rtems_interrupt_handler_install() avoids a dependency on the dynamic memory allocation.
* bsps/leon3: Rename fatal error codeSebastian Huber2021-09-021-1/+1
| | | | | | Rename LEON3_FATAL_INVALID_CACHE_CONFIG_MAIN_PROCESSOR in LEON3_FATAL_INVALID_CACHE_CONFIG_BOOT_PROCESSOR since the term "boot processor" is used elsewhere in the code base.
* bsps/sparc: Improve interrupt affinity supportSebastian Huber2021-07-091-12/+10
| | | | | | | | 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.
* sparc: Simplify trap table initializationSebastian Huber2021-06-241-4/+20
| | | | | | | | | | | | | | | 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.
* bsps/sparc: Use rtems_interrupt_handler_install()Sebastian Huber2021-06-241-5/+13
| | | | | | | Avoid using set_vector() which depends on _ISR_Vector_table(). Prepare for a statically initialized trap table. Update #4458.
* bsps: Always install IPI in SMP configsSebastian Huber2020-08-311-4/+2
| | | | | | | 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.
* _SMP_Start_multitasking_on_secondary_processor()Sebastian Huber2018-07-251-1/+1
| | | | | Pass current processor control as first parameter to make dependency more explicit.
* bsps: bsp_start_on_secondary_processor()Sebastian Huber2018-07-251-2/+3
| | | | | | Pass current processor control as first parameter in bsp_start_on_secondary_processor() and qoriq_start_thread() to make dependency more explicit.
* 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.
* bsps: Move startup files to bspsSebastian Huber2018-04-201-0/+97
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.