zephyr/arch/arc/core
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
..
dsp arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00
mpu arc: start mpu in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
offsets arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00
secureshield arc: start secureshield in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
arc_connect.c
cache.c cache: add new interface arch_cache_init() for initializing cache 2024-09-17 20:05:22 -04:00
CMakeLists.txt llext: add support for arc 2024-11-16 15:08:51 -05:00
cpu_idle.S arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
elf.c llext: fix unaligned access for ARC 2024-11-21 14:46:08 +01:00
fast_irq.S
fatal.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
fault.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
fault_s.S
irq_manage.c kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER 2024-03-27 19:27:10 -04:00
irq_offload.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
isr_wrapper.S arc: pm: Don't use deprecated function 2024-06-05 17:36:22 -05:00
prep_c.c arc: start secureshield in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
regular_irq.S
reset.S Revert "arch: arc: replace ARC_EARLY_SOC_INIT with PLATFORM_RESET_HOOK" 2024-10-22 18:28:37 -04:00
smp.c init: support per-core init hook 2024-11-16 14:04:25 -05:00
switch.S
thread.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
thread_entry_wrapper.S
timestamp.c
tls.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
userspace.S
vector_table.c
vector_table.ld