diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-28 00:01:00 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-28 00:01:00 +0000 |
commit | bb05683b1271517b5f78aff1890e37f0d27b4d2d (patch) | |
tree | addfd5fbf71d23942c06defb5881e2e3845161c1 /target-sparc | |
parent | 662f3c86ecf03979feae8ffdba415ff23cffabdc (diff) |
flush TLBs at cpu reset
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1248 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index dc7e6dbf6a..7673bf2ddd 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -1553,6 +1553,7 @@ extern int ram_size; void cpu_reset(CPUSPARCState *env) { memset(env, 0, sizeof(*env)); + tlb_flush(env, 1); env->cwp = 0; env->wim = 1; env->regwptr = env->regbase + (env->cwp * 16); |