commit | 56512dae8bd7dec89cd5d200de841ce70dcf35c4 | [log] [tgz] |
---|---|---|
author | Carles Cufi <carles.cufi@nordicsemi.no> | Thu May 26 12:58:01 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu May 26 17:15:21 2022 +0200 |
tree | ea1f3d2562e5704a2e0698a0fdac383d83fe9517 | |
parent | 11da0b6f28c016de8f71cc73980a9bc8f90f52da [diff] |
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: Carles Cufi <carles.cufi@nordicsemi.no>