summaryrefslogtreecommitdiffstats
path: root/bsps/mips/shared/clock/clockdrv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Avoid unused argument in clock interruptSebastian Huber2024-03-201-1/+1
| | | | | | | | | | | 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/mips/shared: Change license to BSD-2Joel Sherrill2022-07-121-3/+22
| | | | Updates #3053.
* Remove Clock_driver_support_shutdown_hardware()Sebastian Huber2018-06-271-5/+0
| | | | | | | | | | | | | | | | | 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/+49
This patch is a part of the BSP source reorganization. Update #3285.