diff options
Diffstat (limited to 'target-cris')
-rw-r--r-- | target-cris/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c index 86c455c4e8..90920a21bd 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -3411,6 +3411,7 @@ void cpu_reset (CPUCRISState *env) memset(env, 0, offsetof(CPUCRISState, breakpoints)); tlb_flush(env, 1); + env->pregs[PR_VR] = 32; #if defined(CONFIG_USER_ONLY) /* start in user mode with interrupts enabled. */ env->pregs[PR_CCS] |= U_FLAG | I_FLAG; |