summaryrefslogtreecommitdiffstats
path: root/bsps/shared/dev/clock/clockimpl.h (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: Avoid unused argument in clock interruptSebastian Huber2024-03-201-19/+18
| | | | | | | | | | | 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.
* bsps/clock: Fix fast idle for SMPSebastian Huber2024-03-111-0/+16
|
* 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-151-3/+22
| | | | Updates #3053.
* 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-271-20/+1
| | | | | | | | | | | | | | | | | 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-201-0/+260
This patch is a part of the BSP source reorganization. Update #3285.