Skip to content
Commit 56512dae authored by Carles Cufi's avatar Carles Cufi
Browse files

arch: riscv: switch: Add a comment on the return of z_riscv_switch



When returning from z_riscv_switch, depending on whether the thread that
has just been swapped in was earlier swapped out synchronously (i.e. via
regular function call) or asynchronously (i.e. via exception/irq) we
will return to arch_switch() or __irq_wrapper respectively. Comment this
fact for clarity.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 11da0b6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment