summaryrefslogtreecommitdiffstats
path: root/target-m68k/cpu.c
diff options
context:
space:
mode:
authorAndreas Färber2013-06-16 07:49:48 +0200
committerAndreas Färber2013-07-09 21:33:04 +0200
commit91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4 (patch)
treea90bbd5d2d2d8a226cbd50c669c304745b6bd8a6 /target-m68k/cpu.c
parenttarget-ppc: Change LOG_MMU_STATE() argument to CPUState (diff)
downloadqemu-91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4.tar.gz
qemu-91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4.tar.xz
qemu-91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4.zip
cpu: Move reset logging to CPUState
x86 was using additional CPU_DUMP_* flags, so make that configurable in CPUClass::reset_dump_flags. This adds reset logging for alpha, unicore32 and xtensa. Acked-by: Michael Walle <michael@walle.cc> (for lm32) Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-m68k/cpu.c')
-rw-r--r--target-m68k/cpu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-m68k/cpu.c b/target-m68k/cpu.c
index c9ac30f7ec..1b6ef664f5 100644
--- a/target-m68k/cpu.c
+++ b/target-m68k/cpu.c
@@ -35,11 +35,6 @@ static void m68k_cpu_reset(CPUState *s)
M68kCPUClass *mcc = M68K_CPU_GET_CLASS(cpu);
CPUM68KState *env = &cpu->env;
- if (qemu_loglevel_mask(CPU_LOG_RESET)) {
- qemu_log("CPU Reset (CPU %d)\n", s->cpu_index);
- log_cpu_state(s, 0);
- }
-
mcc->parent_reset(s);
memset(env, 0, offsetof(CPUM68KState, breakpoints));