qemu-patch-raspberry4/target/tricore
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/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00
cpu.c target/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00
cpu.h target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
csfr.def tricore: added CORE_ID 2018-03-02 11:46:31 +01:00
fpu_helper.c target/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00
helper.c target: Simplify how the TARGET_cpu_list() print 2019-04-18 22:18:59 +02:00
helper.h target/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00
Makefile.objs Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
op_helper.c target/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00
translate.c tricore: fixed RCR_CADDN instruction 2019-03-08 10:00:59 +01:00
tricore-defs.h target/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00
tricore-opcodes.h target/tricore: Fix LGPL version number 2019-01-30 11:01:46 +01:00