summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/leon3/start (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Include <rtems/score/processormaskimpl.h>Sebastian Huber2024-04-091-0/+1
| | | | | This fixes commit b678a199e499b6c3f0b453393434aefaee180423 for SMP configurations.
* bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber2024-03-272-2/+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.
* Mark parameters as intentionally unusedSebastian Huber2024-03-221-0/+1
| | | | | | | | The parameters are unused due to API constraints. The functions are used through function pointers. Alternative implementations may use the parameters. Update #4862.
* bsps/leon3: Use DSU time tag for GR712RCSebastian Huber2023-10-201-4/+58
| | | | Close #4954.
* bsps/leon3: leon3_counter_use_irqamp_timestamp()Sebastian Huber2023-10-201-4/+0
| | | | | | Simplify leon3_counter_use_irqamp_timestamp(). Update #4954.
* bsps/leon3: Statically initialize get timecountSebastian Huber2023-10-201-12/+18
| | | | Update #4954.
* bsps/leon3: Move code blocksSebastian Huber2023-10-201-53/+57
| | | | | | Move code blocks to simplify C preprocessor usage. Update #4954.
* bsps/leon3: Use custom CPU counter implementationSebastian Huber2023-10-201-48/+109
| | | | | | | | Merge the timecounter and CPU counter support for the leon3 BSP family. Remove now unused functions from the CPU counter support of the erc32 and leon3 BSPs. Update #4954.
* bsps/leon3: Simplify clock and CPU counterSebastian Huber2023-10-201-14/+32
| | | | | | | | Share the timecounter instance between the clock and the CPU counter. This greatly simplifies the clock driver since we have to do the device selection only in one place, the CPU counter support. Update #4954.
* bsps/leon3: Make GPTIMER fall back mandatorySebastian Huber2023-10-202-1/+3
| | | | | | | | Using the auto reload counter which generates the clock ticks for the timecounter or CPU counter is quite difficult and only works in uniprocessor configurations. Update #4954.
* sparc: Move CPU counter implementationSebastian Huber2023-10-201-2/+2
| | | | | | Enable a BSP-specific CPU counter implementation. Update #4954.
* bsps/sparc: Add files to Doxygen groupsFrank Kühndel2023-07-264-7/+34
| | | | Update #3707.
* bsp/leon3: Simplify shutdownSebastian Huber2023-07-141-61/+2
| | | | Do not wait for other processors to halt.
* bsp/leon3: Add specialized target hashSebastian Huber2023-07-141-0/+71
|
* bsp/leon3: Fix group membershipsSebastian Huber2023-07-143-3/+3
| | | | Update #3706.
* bsps/sparc: Remove BSP_POWER_DOWN_AT_FATAL_HALTSebastian Huber2023-07-141-50/+0
| | | | | | Remove the BSP_POWER_DOWN_AT_FATAL_HALT BSP option. Applications should do the customization of the system termination with an initial fatal extension.
* bsp/leon3: Enable up-counter conditionallySebastian Huber2023-07-141-2/+3
|
* bsp/leon3: Use LEON3_GPTIMER_BASESebastian Huber2023-07-141-0/+4
|
* bsp/leon3: Add LEON3_IRQAMP_EXTENDED_INTERRUPTSebastian Huber2023-07-141-0/+8
|
* bsp/leon3: Add LEON3_PROBE_ASR_22_23_UP_COUNTERSebastian Huber2023-07-141-0/+5
|
* bsp/leon3: Simplify fatal error handlingSebastian Huber2023-07-142-40/+65
|
* bsp/leon3: Move leon3_power_down_loop()Sebastian Huber2023-07-142-3/+2
|
* bsp/leon3: Add LEON3_L2CACHE_BASESebastian Huber2023-07-141-8/+28
|
* bsp/leon3: Add LEON3_HAS_ASR_22_23_UP_COUNTERSebastian Huber2023-07-141-0/+8
|
* bsp/leon3: Add LEON3_IRQAMP_PROBE_TIMESTAMPSebastian Huber2023-07-141-37/+66
|
* bsp/leon3: Add LEON3_IRQAMP_BASESebastian Huber2023-07-141-1/+8
|
* bsp/leon3: Add LEON3_GPTIMER_BASESebastian Huber2023-07-141-0/+4
|
* bsp/leon3: LEON3_PLB_FREQUENCY_DEFINED_BY_GPTIMERSebastian Huber2023-07-141-0/+8
|
* bsp/leon3: Use new L2CACHE register block APISebastian Huber2023-07-141-15/+23
|
* bsp/leon3: Use new GPTIMER register block APISebastian Huber2023-07-143-15/+22
|
* bsp/leon3: Move system control register supportSebastian Huber2023-07-143-3/+2
| | | | | 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-145-50/+121
|
* bsp/leon3: Move and simplify bsp_irq_fixup()Sebastian Huber2023-07-141-6/+2
|
* bsp/leon3: Untangle interrupt controller supportSebastian Huber2023-07-142-12/+12
| | | | | Separate the probing of the interrupt controller from the initialization.
* Update company nameSebastian Huber2023-05-204-4/+4
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsp/leon3: Move SMP data to start.SSebastian Huber2023-02-101-5/+0
| | | | | | | | | | The LEON3_Boot_Cpu global object is only used by start.S. Move the definition of this object to start.S and use a local symbol .Lbootcpuindex for it. Use a compare-and-swap instruction to assign the boot CPU. This allows a concurrent initialization. Close #4845.
* bsps/sparc: Change license to BSD-2 for files with Gaisler copyrightDaniel Cederman2022-11-148-24/+176
| | | | | | | | | This patch changes the license to BSD-2 for all source files where the copyright is held by Aeroflex Gaisler, Cobham Gaisler, or Gaisler Research. Some files also includes copyright right statements from OAR and/or embedded Brains in addition to Gaisler. Updates #3053.
* bsps/sparc: Scripted embedded brains header file clean upJoel Sherrill2022-03-103-18/+0
| | | | Updates #4625.
* 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.
* bsp_specs: Delete last remnants of these.Joel Sherrill2021-11-291-0/+0
| | | | Updates #3937.
* 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.
* bsp/leon3: Fix rtems_interrupt_is_pending()Sebastian Huber2021-08-121-6/+0
| | | | | | Take the interrupt force register into account in all configurations. Update #3269.
* score: Canonicalize _CPU_Fatal_halt()Sebastian Huber2021-07-281-14/+9
| | | | | | | | Move _CPU_Fatal_halt() declaration to <rtems/score/cpuimpl.h> and make sure it is a proper declaration of a function which does not return. Fix the type of the error code. If necessary, add the implementation to cpu.c. Implementing _CPU_Fatal_halt() as a function makes it possible to wrap this function for example to fully test _Terminate().
* bsps/irq: bsp_interrupt_facility_initialize()Sebastian Huber2021-07-271-3/+1
| | | | | | 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.
* sparc/irq: Implement new interrupt directivesSebastian Huber2021-07-261-9/+93
| | | | Update #3269.
* bsps/irq: bsp_interrupt_set_affinity()Sebastian Huber2021-07-261-1/+2
| | | | | | Return a status code for bsp_interrupt_set_affinity(). Update #3269.
* bsps/irq: bsp_interrupt_get_affinity()Sebastian Huber2021-07-261-1/+2
| | | | | | Return a status code for bsp_interrupt_get_affinity(). Update #3269.
* bsps/irq: bsp_interrupt_vector_disable()Sebastian Huber2021-07-261-1/+2
| | | | | | Return a status code for bsp_interrupt_vector_disable(). Update #3269.
* bsps/irq: bsp_interrupt_vector_enable()Sebastian Huber2021-07-261-1/+2
| | | | | | Return a status code for bsp_interrupt_vector_enable(). Update #3269.