qemu/target/alpha
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
fpu_helper.c
gdbstub.c
helper.c target/alpha: Honor CPU_DUMP_FPU 2018-05-18 14:52:38 -07:00
helper.h target-alpha: Use ctpop helper 2017-01-10 08:48:56 -08:00
int_helper.c target-alpha: Use ctpop helper 2017-01-10 08:48:56 -08:00
machine.c vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
Makefile.objs
mem_helper.c icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 09:05:22 +10:00
STATUS
sys_helper.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
translate.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
vax_helper.c