From: pbrook Date: Mon, 20 Apr 2009 23:55:57 +0000 (+0000) Subject: Enable access to SYNCI_Step register in usermode emulation. X-Git-Tag: TizenStudio_2.0_p2.3~9110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af78d4e0dc78128be9f49bcb05cc47e5703a6aee;p=sdk%2Femulator%2Fqemu.git Enable access to SYNCI_Step register in usermode emulation. Signed-off-by: Paul Brook git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7191 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-mips/translate.c b/target-mips/translate.c index 9657e79..e8ecb6e 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -8568,6 +8568,8 @@ void cpu_reset (CPUMIPSState *env) /* Minimal init */ #if defined(CONFIG_USER_ONLY) env->hflags = MIPS_HFLAG_UM; + /* Enable access to the SYNCI_Step register. */ + env->CP0_HWREna |= (1 << 1); #else if (env->hflags & MIPS_HFLAG_BMASK) { /* If the exception was raised from a delay slot,