diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-13 19:27:22 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-13 19:27:22 +0000 |
commit | 56cd2b96636641af4f2fc5be968cc6901f99a17a (patch) | |
tree | 119b5b36dc132e705c63524a5c04f160388323de /target-sh4/translate.c | |
parent | f3ff7facf5d41432324606ebb850f1b6dd94c0d2 (diff) |
target-sh4: make the initial value of SR easier to read
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6016 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/translate.c')
-rw-r--r-- | target-sh4/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 2ff7590560..2d3981c2af 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -187,7 +187,7 @@ static void cpu_sh4_reset(CPUSH4State * env) #if defined(CONFIG_USER_ONLY) env->sr = 0; #else - env->sr = 0x700000F0; /* MD, RB, BL, I3-I0 */ + env->sr = SR_MD | SR_RB | SR_BL | SR_I3 | SR_I2 | SR_I1 | SR_I0; #endif env->vbr = 0; env->pc = 0xA0000000; |