zephyr/tests/kernel
Nicolas Pitre 46aa6717ff Revert "arch: deprecate _current"
Mostly a revert of commit b1def7145f ("arch: deprecate `_current`").

This commit was part of PR #80716 whose initial purpose was about providing
an architecture specific optimization for _current. The actual deprecation
was sneaked in later on without proper discussion.

The Zephyr core always used _current before and that was fine. It is quite
prevalent as well and the alternative is proving rather verbose.
Furthermore, as a concept, the "current thread" is not something that is
necessarily architecture specific. Therefore the primary abstraction
should not carry the arch_ prefix.

Hence this revert.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-01-10 07:49:08 +01:00
..
cache boards: rename qemu_xtensa to qemu_xtensa/dc233c 2024-10-02 09:58:36 +02:00
common tests: kernel: common: use integration_toolchains 2025-01-08 12:58:59 +01:00
condvar/condvar_api
context Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
device tests: kernel: exclude xenvm with GICv3 from device tests 2024-12-05 22:09:31 +01:00
early_sleep
events
fatal Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
fifo everywhere: replace double words 2024-06-25 06:05:35 -04:00
fpu_sharing tests: kernel: fpu_sharing Fixed missing struct defs for ARM 2024-11-16 14:57:17 -05:00
gen_isr_table tests: gen_isr_table: multilevel: cleanup filter & Kconfigs 2024-10-02 10:08:19 +02:00
interrupt soc: nordic: Introduce the nRF54L05 and nRF54L10 2024-11-21 09:26:38 +01:00
ipi_cascade Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
ipi_optimize tests: Add IPI_OPTIMIZE tests 2024-06-04 22:35:54 -04:00
lifo
mbox
mem_heap/k_heap_api kernel: Add tests for k_heap_calloc 2024-12-30 17:32:03 +01:00
mem_protect Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
mem_slab
mp
msgq
mutex tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
obj_core tests: remove misnamed platforms from platform_exclude 2024-09-16 10:07:51 +02:00
obj_tracking samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pending samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pipe arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
poll test: k_msgq_put should trigger reschedule 2024-12-14 01:04:43 +01:00
profiling/profiling_api tests: kernel: remove pm from profiling test 2024-04-25 09:55:08 +00:00
queue tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
sched Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
semaphore tests: kernel: fix test groups for semaphore/mutex 2024-09-17 05:24:09 -04:00
sleep
smp Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
smp_abort arch/x86: Make irq_offload SMP-safe on x86_64 2024-06-04 07:57:06 +02:00
smp_boot_delay samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
smp_suspend
spinlock
stack/stack everywhere: replace double words 2024-06-25 06:05:35 -04:00
threads Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
tickless/tickless_concept tests: tickless: do not enable PM 2024-04-25 09:55:08 +00:00
timer tests: add missing CONFIG_GPIO=y 2024-12-20 03:17:25 +01:00
usage/thread_runtime_stats Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
workq tests: kernel: Add support for stopping workqueues 2024-12-12 11:07:39 +01:00
xip everywhere: replace double words 2024-06-25 06:05:35 -04:00