nuttx/sched/clock
Matteo Golin 504ec6b2c6 arch/udelay: Make common, weak definition of up_*delay functions
Many different architectures re-implemented the exact same code for
`up_*delay` because it was originally written as architecture dependent
code. Busy-waiting can be done regardless of architecture, so this
commit moves that duplicated implementation to a common file with weak
definitions so that individual architectures (see tc32) are still able
to override the definition if needed/desired.

Default implementation is not included if ARCH_TIMER is enabled, since
it is more accurate and provides its own weak definitions to override.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2025-09-29 09:22:56 +08:00
..
clock.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock.h sched: remove all spin_lock_irqsave(NULL) 2025-01-06 23:11:44 +08:00
clock_adjtime.c sched/wdog: Replace periodcial timer with the wd_start_next. 2025-06-10 11:02:45 -03:00
clock_dow.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock_gettime.c sched: remove all spin_lock_irqsave(NULL) 2025-01-06 23:11:44 +08:00
clock_initialize.c spinlock: Fix compilation error with atomic.h. 2025-06-25 22:13:00 +08:00
clock_perf.c sched/wdog: Replace periodcial timer with the wd_start_next. 2025-06-10 11:02:45 -03:00
clock_realtime2absticks.c clock: correct compile failed 2024-09-29 18:18:01 +08:00
clock_settime.c sched: remove all spin_lock_irqsave(NULL) 2025-01-06 23:11:44 +08:00
clock_systime_ticks.c clock: Fix timing error. 2025-05-12 19:56:29 +08:00
clock_systime_timespec.c sched: remove all spin_lock_irqsave(NULL) 2025-01-06 23:11:44 +08:00
clock_timekeeping.c clock_timekeeping: remove enter_critical_section in sched/clock/clock_timekeeping.c 2025-01-12 16:51:40 +08:00
clock_timekeeping.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
CMakeLists.txt arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
delay.c arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00
Make.defs arch/udelay: Make common, weak definition of up_*delay functions 2025-09-29 09:22:56 +08:00