Fix for MIPS issue. (#733)

This commit is contained in:
xorstream
2017-01-23 15:39:34 +11:00
committed by Nguyen Anh Quynh
parent 2ecbe89cc1
commit 69ae8f7987
9 changed files with 229 additions and 227 deletions

View File

@ -43,7 +43,7 @@ void mips_release(void *ctx);
void mips_release(void *ctx)
{
MIPSCPU* cpu;
int i;
int i;
TCGContext *tcg_ctx = (TCGContext *) ctx;
release_common(ctx);
cpu = MIPS_CPU(tcg_ctx->uc, tcg_ctx->uc->cpu);
@ -70,7 +70,7 @@ void mips_release(void *ctx)
void mips_reg_reset(struct uc_struct *uc)
{
CPUArchState *env;
(void)uc;
(void)uc;
env = uc->cpu->env_ptr;
memset(env->active_tc.gpr, 0, sizeof(env->active_tc.gpr));