Commit a855593c33fcc6efd5d9033a0942b56a08a8f8be
1 parent
d7b6967a
CRIS: Initialize the arch version preg to v32.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5462 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
target-cris/translate.c
... | ... | @@ -3411,6 +3411,7 @@ void cpu_reset (CPUCRISState *env) |
3411 | 3411 | memset(env, 0, offsetof(CPUCRISState, breakpoints)); |
3412 | 3412 | tlb_flush(env, 1); |
3413 | 3413 | |
3414 | + env->pregs[PR_VR] = 32; | |
3414 | 3415 | #if defined(CONFIG_USER_ONLY) |
3415 | 3416 | /* start in user mode with interrupts enabled. */ |
3416 | 3417 | env->pregs[PR_CCS] |= U_FLAG | I_FLAG; | ... | ... |