On 8/3/24 10:04, Warner Losh wrote:
> + regs->pc = ka->_sa_handler;
> + regs->gpr[2] = frame_addr;
> + regs->gpr[1] = TARGET_PS_STRINGS - TARGET_SZSIGCODE;
xRA, xSP.
So to be clear, this is 'use these constants rather than the raw numbers for the array
subscript
On Fri, Aug 2, 2024 at 7:46 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 8/2/24 18:34, Ajeet Singh wrote:
> > From: Mark Corbin
> >
> > Added functions for setting up the RISC-V signal trampoline and signal
> > frame:
> >
> > 'set_sigtramp_args()': Configures the RISC-V CPU st
On 8/2/24 18:34, Ajeet Singh wrote:
From: Mark Corbin
Added functions for setting up the RISC-V signal trampoline and signal
frame:
'set_sigtramp_args()': Configures the RISC-V CPU state with arguments
for the signal handler. It sets up the registers with the signal
number,pointers to the sign
From: Mark Corbin
Added functions for setting up the RISC-V signal trampoline and signal
frame:
'set_sigtramp_args()': Configures the RISC-V CPU state with arguments
for the signal handler. It sets up the registers with the signal
number,pointers to the signal info and user context, the signal h