nuttx/arch/xtensa/src/common
yushuailong fb2f117ec2 arch/xtensa/espressif: Fix non-atomic clock read in esp_rtc_rdalarm.
esp_rtc_rdalarm() computed tv_sec and tv_nsec from two separate
evaluations of esp_hr_timer_time_us() + offset + deadline. The
high-resolution timer advances between the two calls, so a read that
straddles a second boundary yields an inconsistent timespec.

Compute the microsecond value once into a local variable and derive
both fields from that single snapshot.

Signed-off-by: yushuailong <yyyusl@qq.com>
2026-06-17 17:12:04 +08:00
..
espressif arch/xtensa/espressif: Fix non-atomic clock read in esp_rtc_rdalarm. 2026-06-17 17:12:04 +08:00
CMakeLists.txt arch/xtensa: Add support to disable signals actions related data struct 2026-01-18 08:24:13 -03:00
crt0.c arch/crt0.c: revert entry _start 2025-12-10 19:06:04 +08:00
Make.defs arch/xtensa: Add support to disable signals actions related data struct 2026-01-18 08:24:13 -03:00
mpu.h
xtensa.h arch/xtensa/src/common: Create SoC-specific initialization routine 2026-02-27 08:12:19 -03:00
xtensa_asm_utils.h
xtensa_assert.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_attr.h
xtensa_backtrace.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
xtensa_cache.c comments: update text typo pre-empted to preempted 2025-05-12 15:01:37 +08:00
xtensa_checkstack.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_context.S xtensa/isa: fix build break if compiler without ISA - XCHAL_HAVE_THREADPTR support 2025-07-21 12:56:31 +02:00
xtensa_coproc.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_counter.h
xtensa_cpenable.c arch/xtensa: replace critical_section with spinlock. 2026-02-02 21:17:20 +08:00
xtensa_cpuinfo.c arch/xtensa: fix build errors related to data types on ESP32|S2|S3 2025-04-18 09:32:58 +08:00
xtensa_cpuint.c xtensa: support more than 32 cpu interrupts 2025-07-04 11:26:07 -03:00
xtensa_createstack.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_debug.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_dispatch_syscall.S xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
xtensa_exit.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_fpucmp.c
xtensa_getintstack.c
xtensa_hostfs.c
xtensa_idle.c
xtensa_initialize.c arch/xtensa/src/common: Create SoC-specific initialization routine 2026-02-27 08:12:19 -03:00
xtensa_initialstate.c Revert "arch/xtensa: set PS.EXCM initial value to 1 while new thread created" 2025-03-19 11:47:31 -03:00
xtensa_int_handlers.S arch/xtensa: Add support to disable signals actions related data struct 2026-01-18 08:24:13 -03:00
xtensa_irqdispatch.c arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
xtensa_loadstore.S
xtensa_lowputs.c
xtensa_macros.S
xtensa_mm.h
xtensa_modifyreg8.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_modifyreg16.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_modifyreg32.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_mpu.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_nputs.c
xtensa_oneshot.c !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
xtensa_panic.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_perf.c !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
xtensa_pthread_start.c
xtensa_registerdump.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_releasestack.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_saveusercontext.c xtensa/isa: fix build break if compiler without ISA - XCHAL_HAVE_THREADPTR support 2025-07-21 12:56:31 +02:00
xtensa_schedsigaction.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_sigdeliver.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_signal_dispatch.c arch/xtensa: Add support to disable signals actions related data struct 2026-01-18 08:24:13 -03:00
xtensa_signal_handler.S xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
xtensa_simcall.S
xtensa_smpcall.c
xtensa_stackframe.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_swint.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-17 17:11:26 +08:00
xtensa_task_start.c
xtensa_tcbinfo.c xtensa: support coredump by register set alignment 2024-12-13 18:21:37 +08:00
xtensa_timer.h arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_tls.c arch/xtensa: Support __thread and thread_local keywords 2024-12-21 20:49:07 +08:00
xtensa_user_handler.S xtensa: change write intset register to syscall instruction 2024-12-27 00:25:55 +08:00
xtensa_usestack.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa_vectors.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_window_vector.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00
xtensa_windowspill.S arch/xtensa: migrate to SPDX identifier 2024-12-18 17:51:57 +08:00