qemu-patch-raspberry4/target/cris
Markus Armbruster 0442428a89 target: Simplify how the TARGET_cpu_list() print
The various TARGET_cpu_list() take an fprintf()-like callback and a
FILE * to pass to it.  Their callers (vl.c's main() via list_cpus(),
bsd-user/main.c's main(), linux-user/main.c's main()) all pass
fprintf() and stdout.  Thus, the flexibility provided by the (rather
tiresome) indirection isn't actually used.

Drop the callback, and call qemu_printf() instead.

Calling printf() would also work, but would make the code unsuitable
for monitor context without making it simpler.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190417191805.28198-10-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2019-04-18 22:18:59 +02:00
..
cpu-qom.h
cpu.c target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
cpu.h target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
crisv10-decode.h
crisv32-decode.h
gdbstub.c
helper.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
helper.h target-cris: Use clz opcode 2017-01-10 08:06:11 -08:00
machine.c
Makefile.objs
mmu.c
mmu.h avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
op_helper.c icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 09:05:22 +10:00
opcode-cris.h
translate.c target/cris/translate: Get rid of qemu_log_separate() 2018-10-16 17:57:23 +02:00
translate_v10.inc.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00