Re: [PULL 21/24] bsd-user: add arm target_signal.h

2021-04-23 Thread Warner Losh
On Fri, Apr 23, 2021 at 5:19 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 4/23/21 1:39 PM, i...@bsdimp.com wrote: > > +static inline abi_ulong get_sp_from_cpustate(CPUARMState *state) > > +{ > > +return state->regs[R_ESP]; > > +} > > Shall we just wait until arm actually co

Re: [PULL 21/24] bsd-user: add arm target_signal.h

2021-04-23 Thread Richard Henderson
On 4/23/21 1:39 PM, i...@bsdimp.com wrote: +static inline abi_ulong get_sp_from_cpustate(CPUARMState *state) +{ +return state->regs[R_ESP]; +} Shall we just wait until arm actually compiles? This won't, being a copy from x86... r~

[PULL 21/24] bsd-user: add arm target_signal.h

2021-04-23 Thread imp
From: Warner Losh Add a arm target_signal.h to complete the files currently in the tree. The arm directory isn't compiled, so it was missing target_signal.h. Update it to the same level as x86 and sparc. This was abstracted from the target_arch_vmparam.h file in the bsd-user branch. Signed-off-b