projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10927f
)
Set FD bit in SR to emulate kernel behaviour, by Magnus Damm.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 22 Jun 2007 10:12:54 +0000
(10:12 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 22 Jun 2007 10:12:54 +0000
(10:12 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2999
c046a42c
-6fe2-441c-8c8c-
71466251a162
target-sh4/translate.c
patch
|
blob
|
history
diff --git
a/target-sh4/translate.c
b/target-sh4/translate.c
index c70288ebfb1d372ef81e5be36d4e54a23670c3e3..40d7266953d3e59ea46b1a3c7cba42a701f65a8f 100644
(file)
--- a/
target-sh4/translate.c
+++ b/
target-sh4/translate.c
@@
-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 */
#else
env->sr = 0x700000F0; /* MD, RB, BL, I3-I0 */
#endif