zephyr/arch/xtensa/include
Daniel Leung bf50aae693 xtensa: save/restore scompare1 during context switch
Xtensa uses two instructions to perform atomic compare-and-set
instruction: first the comparison register, then the actual
instruction to do compare-and-set. There is a potential that
context switching is performed before these two instructions.
A restored context may have the wrong value in the comparison
register. So we need to save and restore the comparison
register during context switching.

Fixes #21800

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-02-27 12:42:26 +02:00
..
kernel_arch_data.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
kernel_arch_func.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
offsets_short_arch.h
xtensa-asm2-context.h xtensa: save/restore scompare1 during context switch 2020-02-27 12:42:26 +02:00
xtensa-asm2-s.h xtensa: save/restore scompare1 during context switch 2020-02-27 12:42:26 +02:00
xtensa-asm2.h