zephyr/arch
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
..
arc Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
arm Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
arm64 Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
common arm: mpu: Unify ARM_MPU kconfig definitions 2025-01-09 11:55:22 +01:00
mips kernel: arch: move arch_swap() declaration 2024-12-11 21:33:49 +01:00
nios2 arch: nios2: timing: Fix timing cycles rollover 2025-01-06 17:13:10 +00:00
posix Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
riscv Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
sparc Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
x86 Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
xtensa Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
archs.yml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig arch: local ISR table declaration: Remove experimental label 2024-12-05 12:29:58 +01:00
Kconfig.v1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00