mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-04 23:30:42 -07:00
CRIS: Initialize the arch version preg to v32.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5462 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d7b6967af4
commit
a855593c33
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue