On Fri, Nov 5, 2021 at 10:44 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 11/4/21 11:19 PM, Warner Losh wrote:
> > +/* Compare to arm/arm/exec_machdep.c set_mcontext() */
> > +abi_long set_mcontext(CPUARMState *env, target_mcontext_t *mcp, int
> srflag)
> > +{
> > +int err
On 11/4/21 11:19 PM, Warner Losh wrote:
+/* Compare to arm/arm/exec_machdep.c set_mcontext() */
+abi_long set_mcontext(CPUARMState *env, target_mcontext_t *mcp, int srflag)
+{
+int err = 0;
+const uint32_t *gr = mcp->__gregs;
+uint32_t cpsr, ccpsr = cpsr_read(env);
+uint32_t fpscr
Move the machine context to the CPU state.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/arm/signal.c | 79 +++
bsd-user/arm/target_arch_signal.h | 1 +
2 files changed, 80 insertions(+)
diff --git a/bsd-us