qemu-patch-raspberry4/target/hppa
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 target-hppa: Add framework and enable compilation 2017-01-23 09:52:40 -08: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
gdbstub.c target/hppa: add TLB protection id check 2019-03-12 09:13:43 -07:00
helper.c target/hppa: add TLB protection id check 2019-03-12 09:13:43 -07:00
helper.h target/hppa: add TLB protection id check 2019-03-12 09:13:43 -07:00
insns.decode target/hppa: ignore DIAG opcode 2019-03-12 09:13:43 -07:00
int_helper.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
machine.c vmstate: constify VMStateField 2018-11-27 15:35:15 +01:00
Makefile.objs target/hppa: Begin using scripts/decodetree.py 2019-02-12 08:48:27 -08:00
mem_helper.c target/hppa: add TLB protection id check 2019-03-12 09:13:43 -07:00
op_helper.c target/hppa: remove PSW I/R/Q bit check 2019-03-12 09:13:43 -07:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
translate.c target/hppa: Avoid squishing DISAS_IAQ_N_STALE_EXIT 2019-03-15 10:09:55 -07:00