restore_sigcontext(CPUM68KState *env, struct target_sigcontext *sc, int *pd0)

{

    int temp;



    __get_user(env->aregs[7], &sc->sc_usp);

    __get_user(env->dregs[1], &sc->sc_d1);

    __get_user(env->aregs[0], &sc->sc_a0);

    __get_user(env->aregs[1], &sc->sc_a1);

    __get_user(env->pc, &sc->sc_pc);

    __get_user(temp, &sc->sc_sr);

    env->sr = (env->sr & 0xff00) | (temp & 0xff);



    *pd0 = tswapl(sc->sc_d0);

}

restore_sigcontext(CPUM68KState *env, struct target_sigcontext *sc, int *pd0)

{

    int temp;



    __get_user(env->aregs[7], &sc->sc_usp);

    __get_user(env->dregs[1], &sc->sc_d1);

    __get_user(env->aregs[0], &sc->sc_a0);

    __get_user(env->aregs[1], &sc->sc_a1);

    __get_user(env->pc, &sc->sc_pc);

    __get_user(temp, &sc->sc_sr);

    env->sr = (env->sr & 0xff00) | (temp & 0xff);



    *pd0 = tswapl(sc->sc_d0);

}

FUNC_0(CPUM68KState *VAR_0, struct target_sigcontext *VAR_1, int *VAR_2)

{

    int VAR_3;



    __get_user(VAR_0->aregs[7], &VAR_1->sc_usp);

    __get_user(VAR_0->dregs[1], &VAR_1->sc_d1);

    __get_user(VAR_0->aregs[0], &VAR_1->sc_a0);

    __get_user(VAR_0->aregs[1], &VAR_1->sc_a1);

    __get_user(VAR_0->pc, &VAR_1->sc_pc);

    __get_user(VAR_3, &VAR_1->sc_sr);

    VAR_0->sr = (VAR_0->sr & 0xff00) | (VAR_3 & 0xff);



    *VAR_2 = tswapl(VAR_1->sc_d0);

}

FUNC_0(CPUM68KState *VAR_0, struct target_sigcontext *VAR_1, int *VAR_2)
{ int VAR_3; __get_user(VAR_0->aregs[7], &VAR_1->sc_usp); __get_user(VAR_0->dregs[1], &VAR_1->sc_d1); __get_user(VAR_0->aregs[0], &VAR_1->sc_a0); __get_user(VAR_0->aregs[1], &VAR_1->sc_a1); __get_user(VAR_0->pc, &VAR_1->sc_pc); __get_user(VAR_3, &VAR_1->sc_sr); VAR_0->sr = (VAR_0->sr & 0xff00) | (VAR_3 & 0xff); *VAR_2 = tswapl(VAR_1->sc_d0); }