|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 15/18] bsd-user: Implement RISC-V signal trampoline setup functions |
| Date: | Sat, 3 Aug 2024 19:33:31 +1000 |
| User-agent: | Mozilla Thunderbird |
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
subscripts' right?
Exactly. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |