Skip to content
Commit 883e9d36 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Carles Cufí
Browse files

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: default avatarNicolas Pitre <npitre@baylibre.com>
parent 26d7bd47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment