OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qom/cpu: move tlb_flush to cpu_common_reset
[qmiga/qemu.git]
/
target
/
sparc
/
cpu.c
diff --git
a/target/sparc/cpu.c
b/target/sparc/cpu.c
index
4e07b92
..
d6583f1
100644
(file)
--- a/
target/sparc/cpu.c
+++ b/
target/sparc/cpu.c
@@
-36,8
+36,7
@@
static void sparc_cpu_reset(CPUState *s)
scc->parent_reset(s);
- memset(env, 0, offsetof(CPUSPARCState, version));
- tlb_flush(s, 1);
+ memset(env, 0, offsetof(CPUSPARCState, end_reset_fields));
env->cwp = 0;
#ifndef TARGET_SPARC64
env->wim = 1;