diff options
| author | kenneth.liu <[email protected]> | 2025-01-24 11:35:19 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-03-10 22:44:46 +0800 |
| commit | fa75f38e1c131be2f86413375c9cd1ba2baef5ef (patch) | |
| tree | c2a5046895eed5316d7817f8a3b1c435d9fe90bc /src/SConscript | |
| parent | 349b22450a2305ec396207aaf129aeba6ff5e0e5 (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 'src/SConscript')
0 files changed, 0 insertions, 0 deletions
