Commit 4c909d14 authored by ths's avatar ths
Browse files

Set FD bit in SR to emulate kernel behaviour, by Magnus Damm.

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent d10927f8
......@@ -125,7 +125,7 @@ void cpu_dump_state(CPUState * env, FILE * f,
void cpu_sh4_reset(CPUSH4State * env)
#if defined(CONFIG_USER_ONLY)
env->sr = 0x00000000;
env->sr = SR_FD; /* FD - kernel does lazy fpu context switch */
env->sr = 0x700000F0; /* MD, RB, BL, I3-I0 */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment