zephyr/arch
Nicolas Pitre 883e9d367f riscv: translate CPU numbers to hartid values for IPI
Given the Zephyr CPU number is no longer tied to the hartid, we must
consider the actual hartid when sending an IPI to a given CPU. Since
those hartids can be anything, let's just save them in the cpu structure
as each CPU is brought online.

While at it, throw in some `get_hart_msip()` cleanups.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-01-19 13:48:42 +01:00
..
arc treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
arm arch: arm: aarch32: cortex_a_r: disable interrupts before context switching 2023-01-18 16:22:29 +01:00
arm64 arch/arm64: Implement ASID support in ARM64 MMU 2022-12-13 17:21:11 +09:00
common include: add missing irq.h include 2022-10-11 18:05:17 +02:00
mips include: types: remove ulong_t 2022-09-06 18:16:33 +02:00
nios2 arch: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-20 09:28:38 -05:00
posix arch: posix: Declare _posix_zephyr_main with int return type 2022-11-05 16:41:45 +09:00
riscv riscv: translate CPU numbers to hartid values for IPI 2023-01-19 13:48:42 +01:00
sparc SPARC: reduce z_thread_entry_wrapper 2022-08-03 12:05:49 +02:00
x86 arch/x86: Fix compilation error 2023-01-10 14:06:33 +00:00
xtensa arch: xtensa: save FPU register in context switching 2022-12-27 13:23:17 +01:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig userspace: Do not use --relax flag 2023-01-16 11:20:32 +00:00