Code formatting fix.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2649 c046a42c-6fe2-441c-8c8c-71466251a162
master
ths 2007-04-11 02:15:08 +00:00
parent 534ce69ff0
commit 2423f6601a
1 changed files with 938 additions and 935 deletions

View File

@ -2630,6 +2630,8 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
case 0:
gen_op_mtc0_config0();
rn = "Config";
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case 1:
/* ignored, read only */
@ -2638,6 +2640,8 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
case 2:
gen_op_mtc0_config2();
rn = "Config2";
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case 3:
/* ignored, read only */
@ -2657,8 +2661,6 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
rn = "Invalid config selector";
goto die;
}
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case 17:
switch (sel) {
@ -3815,6 +3817,8 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
case 0:
gen_op_mtc0_config0();
rn = "Config";
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case 1:
/* ignored */
@ -3823,6 +3827,8 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
case 2:
gen_op_mtc0_config2();
rn = "Config2";
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case 3:
/* ignored */
@ -3833,8 +3839,6 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
rn = "Invalid config selector";
goto die;
}
/* Stop translation as we may have switched the execution mode */
ctx->bstate = BS_STOP;
break;
case 17:
switch (sel) {
@ -4716,7 +4720,6 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
break;
case OPC_SYSCALL:
generate_exception(ctx, EXCP_SYSCALL);
ctx->bstate = BS_EXCP;
break;
case OPC_BREAK:
generate_exception(ctx, EXCP_BREAK);