zephyr/arch/x86/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
..
ia32 Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
intel64 x86: coredump: support dumping privilege stack 2024-09-21 11:29:39 +02:00
offsets arch/x86: multiboot: add bootargs support 2024-09-05 12:30:39 -05:00
cache.c cache: add new interface arch_cache_init() for initializing cache 2024-09-17 20:05:22 -04:00
CMakeLists.txt arch: x86: add interface for encode irq flags 2024-01-31 15:03:06 +01:00
common.S arch/x86: multiboot: add bootargs support 2024-09-05 12:30:39 -05:00
cpuhalt.c arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
cpuid.c
early_serial.c arch: x86: added missing parenthesis 2024-05-20 15:16:38 +01:00
efi.c zefi: add bootargs support 2024-09-05 12:30:39 -05:00
fatal.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
ia32.cmake subsys/profiling: relocate stack unwind backends 2024-08-20 14:45:23 +02:00
intel64.cmake subsys/profiling: relocate stack unwind backends 2024-08-20 14:45:23 +02:00
Kconfig.ia32 arch: x86: implement arch_stack_walk() 2024-08-26 14:44:53 -04:00
Kconfig.intel64 arch: x86: implement arch_stack_walk() 2024-08-26 14:44:53 -04:00
legacy_bios.c kernel: mm: rename z_phys_un/map to k_mem_*_phys_bare 2024-06-12 21:13:26 -04:00
memmap.c
multiboot.c arch/x86: multiboot: add bootargs support 2024-09-05 12:30:39 -05:00
pcie.c arch: x86: pcie: Remove old include 2023-12-06 09:17:08 +00:00
prep_c.c x86: init spec_ctrl in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
reboot_rst_cnt.c arch: x86: make sys_arch_reboot as weak function 2023-05-10 09:21:15 -05:00
spec_ctrl.c x86: init spec_ctrl in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
tls.c
userspace.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
x86_acpi.c arch: x86: add interface for encode irq flags 2024-01-31 15:03:06 +01:00
x86_mmu.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00