| Submitter | Khansa Butt |
|---|---|
| Date | Jan. 3, 2012, 4:54 a.m. |
| Message ID | <1325566458-3561-3-git-send-email-khansa@kics.edu.pk> |
| Download | mbox | patch |
| Permalink | /patch/133973/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..cecdacc 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -12773,6 +12773,9 @@ void cpu_reset (CPUMIPSState *env) #if defined(CONFIG_USER_ONLY) env->hflags = MIPS_HFLAG_UM; +#ifdef TARGET_MIPS64 + env->hflags |= MIPS_HFLAG_UX; +#endif /* Enable access to the SYNCI_Step register. */ env->CP0_HWREna |= (1 << 1); if (env->CP0_Config1 & (1 << CP0C1_FP)) {