From 91b1df8cf9e1ecaa8679c9ea8713d1e25c28e6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 16 Jun 2013 07:49:48 +0200 Subject: cpu: Move reset logging to CPUState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (for lm32) Reviewed-by: Richard Henderson Signed-off-by: Andreas Färber --- target-sh4/cpu.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'target-sh4') diff --git a/target-sh4/cpu.c b/target-sh4/cpu.c index 653acec582..03487eb32e 100644 --- a/target-sh4/cpu.c +++ b/target-sh4/cpu.c @@ -31,11 +31,6 @@ static void superh_cpu_reset(CPUState *s) SuperHCPUClass *scc = SUPERH_CPU_GET_CLASS(cpu); CPUSH4State *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); - } - scc->parent_reset(s); memset(env, 0, offsetof(CPUSH4State, breakpoints)); -- cgit v1.2.1