xemu/target/mips
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
..
cp0_timer.c
cpu-qom.h
cpu.c target/mips: Add disassembler support for nanoMIPS 2018-10-25 22:13:33 +02:00
cpu.h target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
dsp_helper.c Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
gdbstub.c target/mips: Fix gdbstub to read/write 64 bit FP registers 2018-06-27 20:13:50 +02:00
helper.c target/mips: implement QMP query-cpu-definitions command 2019-02-21 19:36:47 +01:00
helper.h target/mips: reimplement SC instruction emulation and use cmpxchg 2019-02-14 17:47:28 +01:00
internal.h target/mips: Provide R/W access to SAARI and SAAR CP0 registers 2019-01-18 16:53:28 +01:00
kvm_mips.h
kvm.c
lmi_helper.c
machine.c target/mips: compare virtual addresses in LL/SC sequence 2019-02-14 17:47:28 +01:00
Makefile.objs
mips-defs.h target/mips: Define a bit for MXU in insn_flags 2018-10-29 14:13:47 +01:00
mips-semi.c
msa_helper.c target/mips: Remove floatX_maybe_silence_nan from conversions 2018-05-17 15:27:15 -07:00
op_helper.c target/mips: hold BQL in mips_vpe_wake() 2019-02-14 17:47:28 +01:00
TODO
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
translate_init.inc.c target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
translate.c target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00