summaryrefslogtreecommitdiffstats
path: root/bsps/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Include <rtems/score/processormaskimpl.h>Sebastian Huber2024-04-092-0/+2
| | | | | This fixes commit b678a199e499b6c3f0b453393434aefaee180423 for SMP configurations.
* bsps: Move declarations to <bsp/irq-generic.h>Sebastian Huber2024-03-277-37/+26
| | | | | | | | | | | 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: Avoid unused argument in clock interruptSebastian Huber2024-03-203-7/+5
| | | | | | | | | | | 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.
* libio: Clean up usage of rtems_termios_device_modeKinsey Moore2024-01-102-4/+4
| | | | | | | | | | | | This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
* tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber2023-12-191-0/+1
| | | | | | | Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
* 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-202-13/+19
| | | | 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-205-89/+134
| | | | | | | | 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-203-123/+62
| | | | | | | | 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-205-60/+43
| | | | | | | | 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-206-13/+291
| | | | | | Enable a BSP-specific CPU counter implementation. Update #4954.
* bsps/leon3: Optional IRQ(A)MP timestamp supportSebastian Huber2023-10-201-4/+2
| | | | | | This is necessary to run the tests on SIS with profiling enabled. Update #4954.
* bsps/leon3: Update due to register API changesSebastian Huber2023-10-201-1/+1
|
* bsp/leon3: Make declarations conditionalSebastian Huber2023-07-282-2/+2
| | | | | | | | | | The LEON3_IrqCtrl_Adev object is only defined if LEON3_IRQAMP_BASE is not defined. The LEON3_Timer_Adev object is only defined if LEON3_GPTIMER_BASE is not defined. Close #4850.
* bsps/sparc: Add files to Doxygen groupsFrank Kühndel2023-07-2610-18/+91
| | | | 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-147-7/+7
| | | | Update #3706.
* bsps/sparc: Remove BSP_POWER_DOWN_AT_FATAL_HALTSebastian Huber2023-07-142-102/+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-142-4/+6
|
* bsp/leon3: Use LEON3_GPTIMER_BASESebastian Huber2023-07-141-0/+4
|
* bsp/leon3: Add LEON3_IRQAMP_EXTENDED_INTERRUPTSebastian Huber2023-07-142-0/+12
|
* bsp/leon3: Add LEON3_PROBE_ASR_22_23_UP_COUNTERSebastian Huber2023-07-142-0/+10
|
* bsp/leon3: Simplify fatal error handlingSebastian Huber2023-07-143-40/+77
|
* bsp/leon3: Move leon3_power_down_loop()Sebastian Huber2023-07-144-5/+8
|
* bsp/leon3: Add LEON3_L2CACHE_BASESebastian Huber2023-07-141-8/+28
|
* bsp/leon3: Add LEON3_HAS_ASR_22_23_UP_COUNTERSebastian Huber2023-07-143-0/+16
|
* bsp/leon3: Add LEON3_IRQAMP_PROBE_TIMESTAMPSebastian Huber2023-07-142-118/+183
|
* bsp/leon3: Add LEON3_IRQAMP_BASESebastian Huber2023-07-142-1/+14
|
* bsp/leon3: Add LEON3_GPTIMER_BASESebastian Huber2023-07-142-0/+8
|
* bsp/leon3: LEON3_PLB_FREQUENCY_DEFINED_BY_GPTIMERSebastian Huber2023-07-143-6/+38
|
* bsp/leon3: Add LEON3_APBUART_BASESebastian Huber2023-07-143-8/+36
|
* bsp/leon3: Use new L2CACHE register block APISebastian Huber2023-07-141-15/+23
|
* bsp/leon3: Use new GPTIMER register block APISebastian Huber2023-07-148-73/+105
|
* bsp/leon3: Move system control register supportSebastian Huber2023-07-145-102/+176
| | | | | 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-149-106/+203
|
* bsp/leon3: Move and simplify bsp_irq_fixup()Sebastian Huber2023-07-1410-37/+162
|
* bsp/leon3: Untangle interrupt controller supportSebastian Huber2023-07-144-21/+96
| | | | | Separate the probing of the interrupt controller from the initialization.
* bsps: Use new APBUART register block APISebastian Huber2023-07-143-6/+74
|
* bsps/grlib: Move GR740-specific registersSebastian Huber2023-07-143-0/+1045
| | | | Update #4842.
* bsps/grlib: Add generated headersSebastian Huber2023-07-141-0/+210
| | | | Close #4828.
* bsps/sparc: Deprecate BSP-specific interrupt APISebastian Huber2023-06-163-15/+15
| | | | Update #3269.
* bsps: Remove uses of BSP-specific interrupt APISebastian Huber2023-06-165-43/+47
| | | | Update #3269.
* bsp/leon2: Include missing header fileSebastian Huber2023-06-151-0/+1
| | | | Update #4458.
* Update company nameSebastian Huber2023-05-207-7/+7
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* doxygen: Add Doxygen files to a groupSebastian Huber2023-02-161-0/+8
| | | | Update #3707.
* bsp/leon3: Move SMP data to start.SSebastian Huber2023-02-102-16/+24
| | | | | | | | | | 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.