qemu-patch-raspberry4/target/mips
Eric Blake 54aa3de72e qapi: Use QAPI_LIST_PREPEND() where possible
Anywhere we create a list of just one item or by prepending items
(typically because order doesn't matter), we can use
QAPI_LIST_PREPEND().  But places where we must keep the list in order
by appending remain open-coded until later patches.

Note that as a side effect, this also performs a cleanup of two minor
issues in qga/commands-posix.c: the old code was performing
 new = g_malloc0(sizeof(*ret));
which 1) is confusing because you have to verify whether 'new' and
'ret' are variables with the same type, and 2) would conflict with C++
compilation (not an actual problem for this file, but makes
copy-and-paste harder).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20201113011340.463563-5-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
[Straightforward conflicts due to commit a8aa94b5f8 "qga: update
schema for guest-get-disks 'dependents' field" and commit a10b453a52
"target/mips: Move mips_cpu_add_definition() from helper.c to cpu.c"
resolved.  Commit message tweaked.]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2020-12-19 10:20:14 +01:00
..
addr.c hw/mips: Move address translation helpers to target/mips/ 2020-12-13 19:58:54 +01:00
cp0_helper.c target/mips: Introduce ase_mt_available() helper 2020-12-13 20:26:02 +01:00
cp0_timer.c target/mips: Move cp0_count_ns to CPUMIPSState 2020-10-17 11:13:15 +02:00
cpu-param.h target/mips: Support variable page size 2020-06-01 13:28:21 +02:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c qapi: Use QAPI_LIST_PREPEND() where possible 2020-12-19 10:20:14 +01:00
cpu.h target/mips: Introduce ase_mt_available() helper 2020-12-13 20:26:02 +01:00
dsp_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
fpu_helper.c target/mips: Use FloatRoundMode enum for FCR31 modes conversion 2020-12-13 20:27:11 +01:00
gdbstub.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
helper.c target/mips: Move mips_cpu_add_definition() from helper.c to cpu.c 2020-12-13 20:26:02 +01:00
helper.h target/mips: msa: Split helpers for MULV.<B|H|W|D> 2020-06-15 20:51:04 +02:00
internal.h target/mips: Use FloatRoundMode enum for FCR31 modes conversion 2020-12-13 20:27:11 +01:00
kvm.c target/mips: Include "exec/memattrs.h" in 'internal.h' 2020-12-13 19:58:54 +01:00
kvm_mips.h hw/mips: Implement the kvm_type() hook in MachineClass 2020-06-27 19:35:39 +02:00
lmmi_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
machine.c target/mips: Add more CP0 register for save/restore 2020-06-01 13:28:21 +02:00
meson.build hw/mips: Move address translation helpers to target/mips/ 2020-12-13 19:58:54 +01:00
mips-defs.h target/mips: Add comments for vendor-specific ASEs 2020-06-15 20:33:16 +02:00
mips-semi.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
msa_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
op_helper.c target/mips: Remove unused headers from op_helper.c 2020-12-13 20:26:02 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c target/mips: Move cpu definitions, reset() and realize() to cpu.c 2020-12-13 20:27:11 +01:00
translate_init.c.inc target/mips: Do not initialize MT registers if MT ASE absent 2020-12-13 20:26:02 +01:00