qemu-e2k/target/openrisc
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.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
disas.c decodetree: Remove "insn" argument from trans_* expanders 2018-10-31 16:48:54 +00:00
exception_helper.c
exception.c
exception.h target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
fpu_helper.c target-openrisc: Write back result before FPE exception 2018-05-14 14:35:02 -07:00
gdbstub.c target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
helper.h target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
insns.decode target/openrisc: Convert dec_float 2018-05-14 14:55:29 -07:00
interrupt_helper.c target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
interrupt.c target/openrisc: Fix delay slot exception flag to match spec 2018-07-03 22:40:33 +09:00
machine.c vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
Makefile.objs target/openrisc: Merge mmu_helper.c into mmu.c 2018-07-03 00:05:28 +09:00
mmu.c target/openrisc: Reorg tlb lookup 2018-07-03 22:40:33 +09:00
sys_helper.c target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
translate.c target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00