mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
77710e7aec
commit
91b1df8cf9
15 changed files with 11 additions and 65 deletions
|
@ -29,11 +29,6 @@ static void lm32_cpu_reset(CPUState *s)
|
|||
LM32CPUClass *lcc = LM32_CPU_GET_CLASS(cpu);
|
||||
CPULM32State *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);
|
||||
}
|
||||
|
||||
lcc->parent_reset(s);
|
||||
|
||||
/* reset cpu state */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue