riscv: Add sigcontext save/restore for vector
This patch adds sigcontext save/restore for vector. The vector registers will be saved in datap pointer. The datap pointer will be allocated dynamically when the task needs in kernel space. The datap pointer will be set right after the __riscv_v_state data structure to save all the vector registers in the signal handler stack. Co-developed-by:Vincent Chen <vincent.chen@sifive.com> Signed-off-by:
Vincent Chen <vincent.chen@sifive.com> Signed-off-by:
Greentime Hu <greentime.hu@sifive.com>
Loading
Please register or sign in to comment