Re: [RFC PATCH v4 09/13] riscv: Add vector struct and assembler definitions

2020-06-01 Thread Guo Ren
Since it has been redesigned with new version spec, please change the first-author :) And add me as Co-developed. On Tue, May 26, 2020 at 3:03 PM Greentime Hu wrote: > > From: Guo Ren > > Add vector state context struct in struct thread and asm-offsets.c > definitions. > > The vector registers

[RFC PATCH v4 09/13] riscv: Add vector struct and assembler definitions

2020-05-26 Thread Greentime Hu
From: Guo Ren Add vector state context struct in struct thread and asm-offsets.c definitions. The vector registers will be saved in datap pointer of __riscv_v_state. It will be dynamically allocated in kernel space. It will be put right after the __riscv_v_state data structure in user space.