summaryrefslogtreecommitdiff
path: root/bsps/shared/dev/clock/clockimpl.h (follow)
AgeCommit message (Collapse)Author
2020-07-23bsps/clock: Fix fast idle clock tick supportSebastian Huber
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.
2020-04-03bsp/shared/clock: Reset Clock_driver_isrs to correct valueJan Sommer
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.
2020-02-25bsps/clock: Use _SMP_Get_processor_maximum()Sebastian Huber
Use a specific test to enable the fast idle mode instead of using the rtems_configuration_is_smp_enabled() workaround. Update #3876.
2019-12-11clock: Simplify driver initializationSebastian Huber
Use a system initialization handler instead of a legacy IO driver. Update #3834.
2019-04-11score: Rename _SMP_Get_processor_count()Sebastian Huber
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.
2019-03-04bsps: Adjust architecture Doxygen groupsSebastian Huber
- 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.
2018-11-09bsps: Include missing header filesSebastian Huber
Update #3598.
2018-06-27Remove Clock_driver_support_shutdown_hardware()Sebastian Huber
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.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.