summaryrefslogtreecommitdiff
path: root/documentation/3.kernel/thread-sync/thread-sync.md
diff options
context:
space:
mode:
authorkenneth.liu <[email protected]>2025-01-24 11:35:19 +0800
committerMeco Man <[email protected]>2025-02-22 14:17:54 -0500
commit2be83d5cadff3a3b7a3015b90ec138b7d4614627 (patch)
tree7a2d6e16e223afbdb5696877139ef65cac3928c1 /documentation/3.kernel/thread-sync/thread-sync.md
parentb3225ec81a298ba76ef8c9c80ece70ec86cfb14e (diff)
libcpu: riscv: fixed ARCH_RISCV_VECTOR issue
description: Using the vector instruction set to trigger an illegal instruction exception when ARCH_SISCV_VECTOR=y. analysis: When initializing the thread stack, the rt_cw_stack_init function did not enable VS for SSTATUS. Solution: When ARCH_SISCV_VECTOR=y, increment the initial value of sstatus by 0x600(SSTATUS_VS). Signed-off-by: Liu Gui <[email protected]>
Diffstat (limited to 'documentation/3.kernel/thread-sync/thread-sync.md')
0 files changed, 0 insertions, 0 deletions