Commit df357f0e6287339e3cb880635719cca3b79d2b6c
1 parent
7545668b
Enable access to SYNCI_Step register in usermode emulation.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7191 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
target-mips/translate.c
... | ... | @@ -8568,6 +8568,8 @@ void cpu_reset (CPUMIPSState *env) |
8568 | 8568 | /* Minimal init */ |
8569 | 8569 | #if defined(CONFIG_USER_ONLY) |
8570 | 8570 | env->hflags = MIPS_HFLAG_UM; |
8571 | + /* Enable access to the SYNCI_Step register. */ | |
8572 | + env->CP0_HWREna |= (1 << 1); | |
8571 | 8573 | #else |
8572 | 8574 | if (env->hflags & MIPS_HFLAG_BMASK) { |
8573 | 8575 | /* If the exception was raised from a delay slot, | ... | ... |