mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
7545668bfe
commit
df357f0e62
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue