void mips_cpu_do_unaligned_access(CPUState *cs, vaddr addr,

                                  int is_write, int is_user, uintptr_t retaddr)

{

    MIPSCPU *cpu = MIPS_CPU(cs);

    CPUMIPSState *env = &cpu->env;



    env->CP0_BadVAddr = addr;

    do_raise_exception(env, (is_write == 1) ? EXCP_AdES : EXCP_AdEL, retaddr);

}

void mips_cpu_do_unaligned_access(CPUState *cs, vaddr addr,

                                  int is_write, int is_user, uintptr_t retaddr)

{

    MIPSCPU *cpu = MIPS_CPU(cs);

    CPUMIPSState *env = &cpu->env;



    env->CP0_BadVAddr = addr;

    do_raise_exception(env, (is_write == 1) ? EXCP_AdES : EXCP_AdEL, retaddr);

}

void FUNC_0(CPUState *VAR_0, vaddr VAR_1,

                                  int VAR_2, int VAR_3, uintptr_t VAR_4)

{

    MIPSCPU *cpu = MIPS_CPU(VAR_0);

    CPUMIPSState *env = &cpu->env;



    env->CP0_BadVAddr = VAR_1;

    do_raise_exception(env, (VAR_2 == 1) ? EXCP_AdES : EXCP_AdEL, VAR_4);

}

void FUNC_0(CPUState *VAR_0, vaddr VAR_1,
int VAR_2, int VAR_3, uintptr_t VAR_4)
{ MIPSCPU *cpu = MIPS_CPU(VAR_0); CPUMIPSState *env = &cpu->env; env->CP0_BadVAddr = VAR_1; do_raise_exception(env, (VAR_2 == 1) ? EXCP_AdES : EXCP_AdEL, VAR_4); }