summaryrefslogtreecommitdiffstats
path: root/bsps/shared/dev/clock (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dev/clock: Move bcm2835-system-timer driver to shared spaceNing Yang2024-04-111-0/+94
| | | | This patch moves the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory and adjusts arm/raspberrypi BSP.
* bsps/xil-ttc: Improve clock driverSebastian Huber2024-04-111-133/+122
| | | | | | | Make the clock driver parameters configurable. Use the maximum counter frequency to get the best time resolution. Decouple the CPU counter from the timecounter. Make the tick catch up handling more robust. Add a validation test for the tick catch up.
* bsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALLSebastian Huber2024-04-111-4/+2
|
* bsps/xil-ttc: Use interrupt entrySebastian Huber2024-04-111-4/+10
|
* bsps: Include <rtems/score/processormaskimpl.h>Sebastian Huber2024-04-091-0/+1
| | | | | This fixes commit b678a199e499b6c3f0b453393434aefaee180423 for SMP configurations.
* bsps: Avoid unused argument in clock interruptSebastian Huber2024-03-203-50/+38
| | | | | | | | | | | 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.
* arm/xilinx-zynqmp-rpu: Fix clock driverStanislav Pankevich2024-03-191-1/+1
| | | | | | We observed a strange behavior of the 1Hz timer when running cFS on Zynq RPU. After some investigation, we reduced the error to the truncation issue. This patch fixes the issue.
* bsps/clock: Fix fast idle for SMPSebastian Huber2024-03-111-0/+16
|
* bsps/arm: Add BSP for ZynqMP RPUPhilip Kirkpatrick2023-11-201-0/+229
|
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* clockdrv: Add clock driver implementation groupSebastian Huber2023-01-241-10/+13
| | | | | | Use standard wording in Clock Driver related files. Update #3706.
* bsps/shared/*: Change license to BSD-2Joel Sherrill2022-06-152-6/+44
| | | | Updates #3053.
* bsps/shared/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* bsps/arm: Support system level ARM Generic TimerSebastian Huber2020-12-101-1/+12
| | | | Update #4202.
* bsps: Break out AArch32 portions of GPT driverKinsey Moore2020-10-051-0/+174
| | | | | | This breaks AArch32-specific portions of the ARM GPT driver into their own file so that the generic code can be moved for reuse by other architectures.
* bsps/clock: Fix fast idle clock tick supportSebastian Huber2020-07-231-6/+13
| | | | | | If we interrupt a thread dispatch critical section (thread dispatch disable level != ISR nest level), then we should not do the fast idle mode since this may delay an ongoing system call forever.
* bsp/shared/clock: Reset Clock_driver_isrs to correct valueJan Sommer2020-04-031-1/+1
| | | | | | | CLOCK_DRIVER_ISRS_PER_TICK is the configuration define, CLOCK_DRIVER_ISRS_PER_TICK_VALUE is the actual value of ISRS per clock tick, therefore use this one to reset the Clock_driver_isrs after each tick.
* bsps/clock: Use _SMP_Get_processor_maximum()Sebastian Huber2020-02-251-1/+1
| | | | | | | Use a specific test to enable the fast idle mode instead of using the rtems_configuration_is_smp_enabled() workaround. Update #3876.
* clock: Simplify driver initializationSebastian Huber2019-12-111-18/+1
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* score: Rename _SMP_Get_processor_count()Sebastian Huber2019-04-111-2/+4
| | | | | | | 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.
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-041-1/+1
| | | | | | | | | | - Use CamelCase as it is not used in our C code. Enables simple search and replace. - Prefix with "RTEMS" to aid deployment and integration. It aids searching and sorting. Update #3706.
* bsps: Include missing header filesSebastian Huber2018-11-091-0/+2
| | | | Update #3598.
* Remove Clock_driver_support_shutdown_hardware()Sebastian Huber2018-06-272-38/+8
| | | | | | | | | | | | | | | | | The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-202-0/+319
This patch is a part of the BSP source reorganization. Update #3285.